This repository was archived by the owner on Apr 21, 2025. It is now read-only.
Merge pull request #19 from Grazfather/patch-1 #29
This file contains hidden or 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 | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Zig | |
uses: mlugg/setup-zig@v1 | |
with: | |
version: 0.14.0 | |
- name: Build | |
run: zig build install | |
- name: Run Test Suite | |
run: zig build test | |
- name: Run Samples | |
run: | | |
./zig-out/bin/aviron --info | |
./zig-out/bin/aviron --trace zig-out/samples/math.elf | |
./zig-out/bin/aviron zig-out/samples/hello-world.elf | |