Skip to content

Commit

Permalink
add foundation libc to CI (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnite committed Feb 22, 2025
1 parent ab0a92a commit febef48
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 258 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,24 @@ 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: modules/foundation-libc
run: |
zig build validate
build-website:
name: 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.

File renamed without changes.
164 changes: 0 additions & 164 deletions modules/foundation-libc/flake.lock

This file was deleted.

65 changes: 0 additions & 65 deletions modules/foundation-libc/flake.nix

This file was deleted.

0 comments on commit febef48

Please sign in to comment.