mirror of
https://github.com/remko/waforth
synced 2024-12-27 09:59:29 +01:00
github: Move boost installation to waforthc workflow
This commit is contained in:
parent
f70136e89c
commit
61d1eb9b4e
2 changed files with 12 additions and 8 deletions
9
.github/actions/setup/action.yml
vendored
9
.github/actions/setup/action.yml
vendored
|
@ -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
|
||||
|
|
11
.github/workflows/build-waforthc.yml
vendored
11
.github/workflows/build-waforthc.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue