aws-sdk-for-zig/.github/workflows/build.yaml

22 lines
631 B
YAML
Raw Normal View History

2024-01-22 23:28:12 +00:00
name: AWS-Zig Build
on:
push:
branches:
- '*'
- '!zig-develop*'
jobs:
build-zig-0-12-0-amd64:
2024-01-22 23:28:12 +00:00
runs-on: ubuntu-latest
if: ${{ github.env.GITEA_ACTIONS != 'true' }}
2024-01-22 23:28:12 +00:00
steps:
- name: Check out repository code
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