forked from ZigEmbeddedGroup/microzig
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 817 Bytes
/
sim-aviron.yml
File metadata and controls
37 lines (31 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: sim/aviron
on:
push:
branches: [main]
pull_request:
branches: [main]
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@v2
with:
version: 0.15.1
- name: Build
working-directory: sim/aviron
run: zig build install
- name: Run Test Suite
working-directory: sim/aviron
run: zig build test
- name: Run Samples
working-directory: sim/aviron
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