fix: zig version #74
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: Integration Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: run mysql server | |
run: | | |
docker run --name some-mysql --env MYSQL_ROOT_PASSWORD=password -p 3306:3306 -d mysql | |
- uses: actions/checkout@v3 | |
- name: install zig | |
run: | | |
ZIG_VERSION=0.12.0-dev.1735+bece97ef2 | |
wget https://ziglang.org/builds/zig-linux-x86_64-$ZIG_VERSION.tar.xz | |
tar xf zig-linux-x86_64-$ZIG_VERSION.tar.xz | |
mv zig-linux-x86_64-$ZIG_VERSION $HOME/zig-build | |
- name: run the tests | |
run: | | |
$HOME/zig-build/zig test integration_tests/main.zig --main-mod-path . |