20 lines
613 B
YAML
20 lines
613 B
YAML
name: Current zig version build
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
jobs:
|
|
build-amd64:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.env.GITEA_ACTIONS != 'true' }}
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Setup Zig
|
|
uses: mlugg/setup-zig@v1.2.1
|
|
with:
|
|
version: 0.14.0
|
|
- name: Run tests
|
|
run: zig build test -Dbroken-windows --verbose # Github runners try to run the windows tests despite disabling foreign checks
|
|
- name: Build example
|
|
run: ( cd example && zig build ) # Make sure example builds
|