update build runner (#1372) #333
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: BuildRunner | |
on: | |
push: | |
paths: | |
- ".github/workflows/build_runner.yml" | |
- "src/special/build_runner.zig" | |
pull_request: | |
paths: | |
- ".github/workflows/build_runner.yml" | |
- "src/special/build_runner.zig" | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
check_build_runner: | |
if: github.repository_owner == 'zigtools' | |
strategy: | |
matrix: | |
zig_version: [master] | |
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 }} | |
- name: Check build_runner builds on master | |
run: | | |
pwd | |
zig build --build-runner src/special/build_runner.zig |