diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ed1a658..b5e3e45e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,6 @@ on: pull_request: branches: [main, zig-master] - env: ZIG_VERSION: ${{ github.ref == 'refs/heads/zig-master' && 'master' || '0.13.0' }} @@ -26,18 +25,11 @@ jobs: unit-test-ports: name: Unit Test Ports runs-on: ${{ matrix.os }} + needs: build strategy: matrix: - os: [ - ubuntu-latest, - windows-latest, - macos-latest, - ] - port_dir: [ - gigadevice/gd32, - raspberrypi/rp2xxx, - stmicro/stm32, - ] + os: [ubuntu-latest, windows-latest, macos-latest] + port_dir: [gigadevice/gd32, raspberrypi/rp2xxx, stmicro/stm32] steps: - name: Checkout uses: actions/checkout@v4 @@ -53,11 +45,7 @@ jobs: name: Unit Test Regz strategy: matrix: - os: [ - ubuntu-latest, - windows-latest, - macos-latest, - ] + os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - name: Checkout @@ -74,11 +62,7 @@ jobs: name: Unit Test UF2 strategy: matrix: - os: [ - ubuntu-latest, - windows-latest, - macos-latest, - ] + os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - name: Checkout @@ -132,19 +116,21 @@ jobs: build-examples: name: Build Examples runs-on: ubuntu-latest + needs: build strategy: matrix: - example_dir: [ - espressif/esp, - gigadevice/gd32, - microchip/avr, - microchip/atsam, - nordic/nrf5x, - nxp/lpc, - stmicro/stm32, - raspberrypi/rp2xxx, - wch/ch32v, - ] + example_dir: + [ + espressif/esp, + gigadevice/gd32, + microchip/avr, + microchip/atsam, + nordic/nrf5x, + nxp/lpc, + stmicro/stm32, + raspberrypi/rp2xxx, + wch/ch32v, + ] steps: - name: Checkout uses: actions/checkout@v4