Skip to content

Basic CI for testing each merge #28

Basic CI for testing each merge

Basic CI for testing each merge #28

Workflow file for this run

name: Builds and runs simple window
on:
pull_request:
branches:
- main
push:
branches:
- main
defaults:
run:
shell: bash -e {0}
jobs:
build-linux:
name: Linux
runs-on: ubuntu-latest
steps:
- name: Install zig 0.12
run: |
wget https://ziglang.org/download/0.12.0/zig-linux-x86_64-0.12.0.tar.xz
tar xf zig-linux-x86_64-0.12.0.tar.xz
echo "$GITHUB_WORKSPACE/zig-linux-x86_64-0.12.0" >> $GITHUB_PATH
- name: Check zig version
run: |
INSTALLED_ZIG_VERSION=$(zig version)
echo $INSTALLED_ZIG_VERSION
[ "$INSTALLED_ZIG_VERSION" != "0.12" ] && exit 1