2024-01-22 23:28:12 +00:00
|
|
|
name: AWS-Zig Build
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- '*'
|
|
|
|
- '!zig-develop*'
|
|
|
|
jobs:
|
2024-04-23 15:32:54 +00:00
|
|
|
build-zig-0-12-0-amd64:
|
2024-01-22 23:28:12 +00:00
|
|
|
runs-on: ubuntu-latest
|
2024-01-22 23:33:38 +00:00
|
|
|
if: ${{ github.env.GITEA_ACTIONS != 'true' }}
|
2024-01-22 23:28:12 +00:00
|
|
|
steps:
|
|
|
|
- name: Check out repository code
|
2024-04-23 15:32:54 +00:00
|
|
|
uses: actions/checkout@v4
|
2024-10-27 15:31:15 +00:00
|
|
|
- name: Setup Zig
|
|
|
|
uses: mlugg/setup-zig@v1.2.1
|
|
|
|
with:
|
|
|
|
version: 0.13.0
|
2024-01-22 23:28:12 +00:00
|
|
|
- name: Run tests
|
2024-04-23 15:55:56 +00:00
|
|
|
run: zig build test -Dbroken-windows --verbose # Github runners try to run the windows tests despite disabling foreign checks
|
2024-01-22 23:28:12 +00:00
|
|
|
- name: Build example
|
|
|
|
run: ( cd example && zig build ) # Make sure example builds
|