This repository has been archived by the owner on Feb 17, 2024. It is now read-only.
Merge pull request #4 from ZigEmbeddedGroup/multi_example_repo #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
dir: | |
- all-platforms | |
- raspberrypi-rp2040 | |
- espressif-esp | |
- nxp-lpc | |
- microchip-atmega | |
- gigadevice-gd32 | |
- nordic-nrf5x | |
- stmicro-stm32 | |
os: | |
- windows-latest | |
- macos-latest | |
- ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Zig | |
uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: 0.11.0 | |
- name: Build examples | |
working-directory: ${{ matrix.dir }} | |
run: zig build |