2022-11-03 00:06:01 +00:00
|
|
|
name: BuildRunner
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
2023-02-23 20:18:52 +00:00
|
|
|
- ".github/workflows/build_runner.yml"
|
2022-11-03 00:06:01 +00:00
|
|
|
- "src/special/build_runner.zig"
|
|
|
|
pull_request:
|
|
|
|
paths:
|
2023-02-23 20:18:52 +00:00
|
|
|
- ".github/workflows/build_runner.yml"
|
2022-11-03 00:06:01 +00:00
|
|
|
- "src/special/build_runner.zig"
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * *'
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
check_build_runner:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-03-05 19:08:31 +00:00
|
|
|
zig_version: [master]
|
2022-11-03 00:06:01 +00:00
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
submodules: true
|
|
|
|
|
|
|
|
- name: Grab zig
|
|
|
|
uses: goto-bus-stop/setup-zig@v1
|
|
|
|
with:
|
|
|
|
version: ${{ matrix.zig_version }}
|
|
|
|
|
2023-02-23 20:18:52 +00:00
|
|
|
- name: Check build_runner builds on master
|
2023-03-05 19:08:31 +00:00
|
|
|
run: |
|
|
|
|
pwd
|
|
|
|
zig build --build-runner src/special/build_runner.zig
|