Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnite committed Dec 23, 2024
1 parent 4db52d2 commit f498819
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 33 deletions.
49 changes: 35 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ jobs:
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
- uses: ./.github/workflows/setup.yml
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
runner: ${{ matrix.os }}
version: ${{ github.ref == 'refs/heads/zig-master' && 'master' || '0.13.0' }}
- name: Build
run: zig build -Doptimize=ReleaseSmall

Expand All @@ -33,9 +36,12 @@ jobs:
stmicro/stm32,
]
steps:
- uses: ./.github/workflows/setup.yml
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
runner: ${{ matrix.os }}
version: ${{ github.ref == 'refs/heads/zig-master' && 'master' || '0.13.0' }}
- name: Unit Test Ports
run: zig build test
working-directory: port/${{ matrix.port_dir }}
Expand All @@ -44,9 +50,12 @@ jobs:
name: Unit Test Regz
runs-on: ${{ matrix.os }}
steps:
- uses: ./.github/workflows/setup.yml
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
runner: ${{ matrix.os }}
version: ${{ github.ref == 'refs/heads/zig-master' && 'master' || '0.13.0' }}
- name: Unit Test Regz
run: zig build test
working-directory: tools/regz
Expand All @@ -55,9 +64,12 @@ jobs:
name: Unit Test UF2
runs-on: ${{ matrix.os }}
steps:
- uses: ./.github/workflows/setup.yml
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
runner: ${{ matrix.os }}
version: ${{ github.ref == 'refs/heads/zig-master' && 'master' || '0.13.0' }}
- name: Unit Test UF2
run: zig build test
working-directory: tools/uf2
Expand All @@ -66,9 +78,12 @@ jobs:
name: Build Website
runs-on: ${{ matrix.os }}
steps:
- uses: ./.github/workflows/setup.yml
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
runner: ${{ matrix.os }}
version: ${{ github.ref == 'refs/heads/zig-master' && 'master' || '0.13.0' }}
- name: Build Website
run: zig build
working-directory: website
Expand All @@ -77,9 +92,12 @@ jobs:
name: Dry Run Packaging
runs-on: macos-latest
steps:
- uses: ./.github/workflows/setup.yml
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
runner: ${{ matrix.os }}
version: ${{ github.ref == 'refs/heads/zig-master' && 'master' || '0.13.0' }}
- name: Dry Run Packaging
run: |
MICROZIG_VERSION=$(zig build package -- get-version)
Expand Down Expand Up @@ -112,9 +130,12 @@ jobs:
wch/ch32v,
]
steps:
- uses: ./.github/workflows/setup.yml
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
runner: ${{ matrix.os }}
version: ${{ github.ref == 'refs/heads/zig-master' && 'master' || '0.13.0' }}
- name: Build Examples
run: zig build -Doptimize=ReleaseSmall --summary all
working-directory: examples/${{ matrix.example_dir }}
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/setup.yml

This file was deleted.

0 comments on commit f498819

Please sign in to comment.