diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cd15bbf2..0861324e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,15 +31,13 @@ jobs: uses: actions/checkout@v4 - name: Install QBE run: | - mkdir -p qbe + git clone https://github.com/kengorab/qbe-mirror + mv qbe-mirror qbe cd qbe - wget https://c9x.me/compile/release/qbe-1.2.tar.xz - tar -xf qbe-1.2.tar.xz - cd qbe-1.2 make - name: Setup QBE run: | - echo "PATH=$(pwd)/qbe/qbe-1.2:$PATH" >> $GITHUB_ENV + echo "PATH=$(pwd)/qbe:$PATH" >> $GITHUB_ENV - name: Install libgc dependencies (macos only) if: matrix.platform.suffix == 'darwin-arm64' run: brew install autoconf automake libtool diff --git a/.github/workflows/selfhost.yml b/.github/workflows/selfhost.yml index 36be0d57..762e063c 100644 --- a/.github/workflows/selfhost.yml +++ b/.github/workflows/selfhost.yml @@ -12,24 +12,15 @@ jobs: steps: - name: Checkout source uses: actions/checkout@v2 - - name: Cache QBE - id: cache-qbe - uses: actions/cache@v3 - with: - path: ./qbe/qbe-1.2 - key: qbe-1.2 - name: Install QBE run: | - mkdir -p qbe + git clone https://github.com/kengorab/qbe-mirror + mv qbe-mirror qbe cd qbe - wget https://c9x.me/compile/release/qbe-1.2.tar.xz - tar -xf qbe-1.2.tar.xz - cd qbe-1.2 make - if: steps.cache-qbe.outputs.cache-hit != 'true' - name: Setup QBE run: | - echo "PATH=$(pwd)/qbe/qbe-1.2:$PATH" >> $GITHUB_ENV + echo "PATH=$(pwd)/qbe:$PATH" >> $GITHUB_ENV - name: Install ext dependencies run: ./projects/compiler/scripts/configure-libgc.sh - name: Install abra