Skip to content

Merge pull request #8 from PhantomUIx/update-phantom/769359 #15

Merge pull request #8 from PhantomUIx/update-phantom/769359

Merge pull request #8 from PhantomUIx/update-phantom/769359 #15

Workflow file for this run

name: Build & Test
on:
push:
branches:
- master
- update-phantom/*
pull_request:
branches:
- master
- update-phantom/*
tags:
- "v*.*.*"
jobs:
macos:
runs-on: macos-latest
strategy:
matrix:
target: [x86_64-macos, aarch64-macos]
optimize: [ReleaseSmall, Debug]
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- name: Build
run: |
zig build -Dtarget=${{ matrix.target }} -Doptimize=${{ matrix.optimize }}
- name: Test
run: |
zig build test
windows:
runs-on: windows-latest
strategy:
matrix:
target: [x86_64-windows, aarch64-windows]
optimize: [ReleaseSmall, Debug]
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- name: Build
run: |
zig build -Dtarget=${{ matrix.target }} -Doptimize=${{ matrix.optimize }}
- name: Test
run: |
zig build test
linux:
runs-on: ubuntu-latest
strategy:
matrix:
target: [x86_64-linux, aarch64-linux, riscv64-linux]
optimize: [ReleaseSmall, Debug]
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- name: Build
run: |
zig build -Dtarget=${{ matrix.target }} -Doptimize=${{ matrix.optimize }}
- name: Test
run: |
zig build test