Skip to content

feat: update zig

feat: update zig #62

Workflow file for this run

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.1664+8ca4a5240
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 .