github: Move boost installation to waforthc workflow

This commit is contained in:
Remko Tronçon 2022-11-13 20:23:01 +01:00
parent f70136e89c
commit 61d1eb9b4e
2 changed files with 12 additions and 8 deletions

View file

@ -7,10 +7,7 @@ runs:
node-version: 17
cache: 'yarn'
- if: runner.os == 'macOS'
run: brew install wabt boost
shell: bash
- if: runner.os == 'Linux'
run: sudo apt-get install libboost-dev libboost-filesystem-dev libboost-program-options-dev
run: brew install wabt
shell: bash
- if: runner.os == 'Linux'
run: |
@ -25,9 +22,5 @@ runs:
mv /tmp/wabt-1.0.30 /c/tools/wabt
cp /c/tools/wabt/bin/* /c/Windows/system32
shell: bash
- if: runner.os == 'Windows'
run: |
C:\msys64\usr\bin\pacman -S --noconfirm mingw-w64-x86_64-boost
shell: cmd
- run: yarnpkg --pure-lockfile
shell: bash

View file

@ -15,5 +15,16 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- if: runner.os == 'macOS'
run: brew install boost
shell: bash
- if: runner.os == 'Linux'
run: sudo apt-get install libboost-dev libboost-filesystem-dev libboost-program-options-dev
shell: bash
- if: runner.os == 'Windows'
run: C:\msys64\usr\bin\pacman -S --noconfirm mingw-w64-x86_64-boost
shell: cmd
- run: make -C src/waforthc package
- run: make -C src/waforthc check