Skip to content

Commit

Permalink
Create small CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pwbh committed Aug 23, 2024
1 parent 72c55a2 commit 590969c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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
run: [ "$(zig version)" != "0.13.0" ] && exit 1 || exit 0

- name: Build & Test
run: zig build test

0 comments on commit 590969c

Please sign in to comment.