Skip to content

Commit

Permalink
add foundation libc to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnite committed Jan 25, 2025
1 parent cebfb1b commit ed7ba87
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 28 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,25 @@ jobs:
run: zig build -Doptimize=ReleaseSmall --summary all
working-directory: examples/${{ matrix.example_dir }}

validate-foundation-libc:
name: Validate Foundation Libc
continue-on-error: true
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: ${{ env.ZIG_VERSION }}
- name: Generate and validate packages
working-directory: test
run: |
zig build validate
build-website:
Expand Down
3 changes: 3 additions & 0 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
.@"tools/regz" = .{ .path = "tools/regz" },
.@"tools/uf2" = .{ .path = "tools/uf2" },

// modules
"modules/foundation-libc" = .{ .path = "modules/foundation-libc },
// ports
.@"port/espressif/esp" = .{ .path = "port/espressif/esp", .lazy = true },
.@"port/gigadevice/gd32" = .{ .path = "port/gigadevice/gd32", .lazy = true },
Expand Down
28 changes: 0 additions & 28 deletions modules/foundation-libc/.github/workflows/build.yml

This file was deleted.

0 comments on commit ed7ba87

Please sign in to comment.