Skip to content

Commit

Permalink
Using qbe-mirror (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
kengorab authored Nov 24, 2024
1 parent 33e0518 commit f70e27f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 3 additions & 12 deletions .github/workflows/selfhost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f70e27f

Please sign in to comment.