mirror of
https://github.com/remko/waforth
synced 2025-01-28 07:58:31 +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
|
node-version: 17
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
- if: runner.os == 'macOS'
|
- if: runner.os == 'macOS'
|
||||||
run: brew install wabt boost
|
run: brew install wabt
|
||||||
shell: bash
|
|
||||||
- if: runner.os == 'Linux'
|
|
||||||
run: sudo apt-get install libboost-dev libboost-filesystem-dev libboost-program-options-dev
|
|
||||||
shell: bash
|
shell: bash
|
||||||
- if: runner.os == 'Linux'
|
- if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
|
@ -25,9 +22,5 @@ runs:
|
||||||
mv /tmp/wabt-1.0.30 /c/tools/wabt
|
mv /tmp/wabt-1.0.30 /c/tools/wabt
|
||||||
cp /c/tools/wabt/bin/* /c/Windows/system32
|
cp /c/tools/wabt/bin/* /c/Windows/system32
|
||||||
shell: bash
|
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
|
- run: yarnpkg --pure-lockfile
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
11
.github/workflows/build-waforthc.yml
vendored
11
.github/workflows/build-waforthc.yml
vendored
|
@ -15,5 +15,16 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: ./.github/actions/setup
|
- 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 package
|
||||||
- run: make -C src/waforthc check
|
- run: make -C src/waforthc check
|
||||||
|
|
Loading…
Add table
Reference in a new issue