Skip to content

Update codebase to Zig 0.15.2 (#5) #32

Update codebase to Zig 0.15.2 (#5)

Update codebase to Zig 0.15.2 (#5) #32

Workflow file for this run

name: Zig CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Zig
run: |
wget https://ziglang.org/builds/zig-linux-x86_64-0.14.0-dev.2643+fb43e91b2.tar.xz
tar -xf zig-linux-x86_64-0.14.0-dev.2643+fb43e91b2.tar.xz
sudo mv zig-linux-x86_64-0.14.0-dev.2643+fb43e91b2 $HOME/zig
$HOME/zig/zig version
- name: Build and test
run: |
mkdir dirty
$HOME/zig/zig test src/root.zig