Skip to content

chore: use zig cc to cross-compile for several platforms #8

chore: use zig cc to cross-compile for several platforms

chore: use zig cc to cross-compile for several platforms #8

Workflow file for this run

name: Build
on:
pull_request: {}
push:
branches: [master]
workflow_dispatch: {}
jobs:
build-aarch64-linux-gnu:
name: Build aarch64-linux-gnu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- name: Build
run: |
./scripts/ci-build.sh "aarch64-linux-gnu"
build-x86_64-linux-gnu:
name: Build x86_64-linux-gnu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- name: Build
run: |
./scripts/ci-build.sh "x86_64-linux-gnu"
build-aarch64-macos:
name: Build aarch64-macos
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- name: Build
run: |
./scripts/ci-build.sh "aarch64-macos"
build-x86_64-macos:
name: Build x86_64-macos
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- name: Build
run: |
./scripts/ci-build.sh "x86_64-macos"