From 9e3fdefeba175cbb7f01b123690eae57d11c1053 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Tue, 24 Jan 2023 00:36:36 +0100 Subject: [PATCH] DEBUG: Add more of original workflow --- .github/workflows/test.yml | 71 +++++++++++++++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0658370c6..51fbf7427 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,76 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 + - name: Setup core dependencies + run: | + sudo apt update -y -q + sudo apt install software-properties-common -y -q + sudo apt install python3-fontforge -y -q + sudo apt install fuse -y -q + + - name: Fetch FontForge + run: | + curl -L "https://github.com/fontforge/fontforge/releases/download/20230101/FontForge-2023-01-01-a1dad3e-x86_64.AppImage" \ + --output fontforge + chmod u+x fontforge + echo Try appimage + ./fontforge --version + export PATH=`pwd`:$PATH + echo "PATH=$PATH" >> $GITHUB_ENV + echo Try appimage with path + fontforge --version + + # It is unclear what this has been needed for + - name: Setup additional dependencies + if: false + run: | + pip install fonttools --quiet + + # It is unclear what this has been needed for + - name: Build FreeType from source + if: false + run: | + wget http://downloads.sourceforge.net/project/freetype/freetype2/2.7/freetype-2.7.tar.gz --quiet + tar -zxf freetype-2.7.tar.gz + cd freetype-2.7 + ./configure + make --quiet + sudo make install --quiet + + # It is unclear what this has been needed for + - name: Build Harfbuzz from source + if: false + run: | + wget http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-1.3.4.tar.bz2 --quiet + tar -xjf harfbuzz-1.3.4.tar.bz2 + cd harfbuzz-1.3.4 + ./configure + make --quiet + sudo make install --quiet + + - name: Verify setup + run: | + fontforge --version + fontforge --version 2>&1 | grep libfontforge | awk '{print $NF}' + + - name: Bump version for source files + run: | + cd -- "$GITHUB_WORKSPACE/bin/scripts" + ./version-bump.sh "$RELEASE_VERSION" + + - name: Standardize the readme files + run: | + cd -- "$GITHUB_WORKSPACE/bin/scripts" + ./standardize-and-complete-readmes.sh "JetBrainsMono" + + - name: Patch all the variations of the font family + run: | + cd -- "$GITHUB_WORKSPACE/bin/scripts" + fontforge --script `pwd`/../../font-patcher --version + ./gotta-patch-em-all-font-patcher\!.sh -j "/JetBrainsMono" + - name: Archive font package zip files run: | cd -- "$GITHUB_WORKSPACE/bin/scripts" - ./archive-fonts.sh JetBrainsMono + ./archive-fonts.sh "JetBrainsMono" +