Nightly Build #547
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: Nightly Build | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
schedule: | |
- cron: '0 5 * * *' # run at 5 AM UTC | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: 0.11.0 | |
- run: zig fmt --check src/*.zig | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- run: vcpkg install --recurse --x-install-root C:\vcpkg\installed --triplet x64-windows | |
# So Zig finds vcpkg | |
- run: vcpkg integrate install | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: 0.11.0 | |
- run: zig build install |