use build-test-only on macos too #298
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: do-the-thing | |
on: [push] | |
jobs: | |
test-awtfdb: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: mlugg/setup-zig@v1 | |
with: | |
version: 0.13.0 | |
- run: sudo apt install -y libmagic1 libgraphicsmagick-q16-3 libgraphicsmagick1-dev | |
- run: zig build build-test-only -freference-trace --verbose --verbose-link --verbose-cc | |
# TODO crosscompile testing: https://github.com/lun-4/awtfdb/issues/1 | |
# TODO crosscompile testing: https://github.com/lun-4/awtfdb/issues/2 | |
- run: zig build | |
- run: ci/smoketest.sh | |
test-awtfdb-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: mlugg/setup-zig@v1 | |
with: | |
version: 0.13.0 | |
- run: | | |
brew update | |
brew install gettext | |
brew unlink gettext && brew link gettext --force | |
- run: zig build build-test-only -freference-trace --verbose --verbose-link --verbose-cc | |
- run: zig build | |
- run: ci/smoketest.sh |