Skip to content

Commit 59046c0

Browse files
committed
Integrate aviron with microzig
1 parent 782619c commit 59046c0

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

simulators/aviron/.github/workflows/build.yml renamed to .github/workflows/simulators-aviron.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build
1+
name: simulators/aviron
22
on:
33
push:
44
branches: [main]
@@ -8,27 +8,30 @@ on:
88
jobs:
99
build:
1010
runs-on: ${{ matrix.os }}
11+
1112
strategy:
1213
matrix:
1314
os: [ubuntu-latest, windows-latest, macos-latest]
1415
steps:
1516
- name: Checkout
1617
uses: actions/checkout@v4
17-
18+
1819
- name: Setup Zig
1920
uses: mlugg/setup-zig@v1
2021
with:
2122
version: 0.14.0
2223

2324
- name: Build
25+
working-directory: simulators/aviron
2426
run: zig build install
25-
27+
2628
- name: Run Test Suite
29+
working-directory: simulators/aviron
2730
run: zig build test
2831

2932
- name: Run Samples
33+
working-directory: simulators/aviron
3034
run: |
3135
./zig-out/bin/aviron --info
3236
./zig-out/bin/aviron --trace zig-out/samples/math.elf
3337
./zig-out/bin/aviron zig-out/samples/hello-world.elf
34-

build.zig.zon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
// modules
1818
.@"modules/foundation-libc" = .{ .path = "modules/foundation-libc" },
1919

20+
// simulators
21+
.@"simulators/aviron" = .{ .path = "simulators/aviron" },
22+
2023
// ports
2124
.@"port/espressif/esp" = .{ .path = "port/espressif/esp", .lazy = true },
2225
.@"port/gigadevice/gd32" = .{ .path = "port/gigadevice/gd32", .lazy = true },

0 commit comments

Comments
 (0)