wip #3
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: CI | |
on: [ push, pull_request ] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install bake | |
run: | | |
git clone https://github.com/SanderMertens/bake | |
make -C bake/build-$(uname) | |
bake/bake setup | |
- name: compile and jextract native modules | |
run: | | |
bake --strict | |
build-macos: | |
runs-on: macOS-latest | |
timeout-minutes: 30 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install bake | |
run: | | |
git clone https://github.com/SanderMertens/bake | |
make -C bake/build-$(uname) | |
bake/bake setup | |
# TODO install zig | |
- name: compile and jextract native modules | |
run: | | |
bin/ci.sh | |
build-windows: | |
runs-on: windows-latest | |
timeout-minutes: 30 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- name: install bake | |
run: | | |
git clone https://github.com/SanderMertens/bake | |
cd bake\build-Windows | |
nmake | |
cd .. | |
./bake setup --local | |
- name: compile and jextract native modules | |
run: bake/bake --strict --cfg release |