Update to latest Zig #23
Workflow file for this run
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: Build native binaries | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: mlugg/setup-zig@v1 | |
with: { version: "0.13.0" } | |
# TODO: figure out a way to cache this | |
- name: Install ShaderC | |
run: ./.github/workflows/install-shaderc.sh | |
- name: Build for x86_64 Linux glibc | |
run: ./.github/workflows/actions-build.sh x86_64-linux-gnu | |
- name: Build for x86_64 Linux musl | |
run: ./.github/workflows/actions-build.sh x86_64-linux-musl | |
- name: Build for x86_64 Windows | |
run: ./.github/workflows/actions-build.sh x86_64-windows | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: binaries | |
path: zig-out/bin/slimy-*-* |