Skip to content

Create small CI

Create small CI #1

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
build-linux:
name: Linux
runs-on: ubuntu-latest
steps:
- name: Install latest Zig
run: |
wget https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz
tar xf zig-linux-x86_64-0.13.0.tar.xz
echo "$GITHUB_WORKSPACE/zig-linux-x86_64-0.13.0" >> $GITHUB_PATH
- name: Check Zig version

Check failure on line 19 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
run: [ "$(zig version)" != "0.13.0" ] && exit 1 || exit 0
- name: Build & Test
run: zig build test