waforth/.github/workflows/build-waforthc.yml

31 lines
697 B
YAML
Raw Normal View History

2022-11-12 14:17:53 +01:00
name: Build waforthc
on:
# push:
# pull_request:
workflow_dispatch:
workflow_call:
jobs:
build-waforthc:
strategy:
matrix:
2022-11-15 18:51:26 +01:00
os: [ubuntu-18.04]
2022-11-12 14:17:53 +01:00
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
2022-11-15 18:51:26 +01:00
- if: runner.os == 'macOS' || runner.os == 'Windows'
run: make -C src/waforthc package
shell: bash
- if: runner.os == 'Linux'
2022-11-15 18:51:26 +01:00
run: |
make -C src/waforthc package \
WABT_INCLUDE_DIR=/usr/local/include \
WABT_LIB_DIR=/usr/local/lib \
WABT_DATA_DIR=/usr/local/share/wabt
shell: bash
2022-11-12 19:43:47 +01:00
- run: make -C src/waforthc check