Added basic support for CH32V003. #7
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
zig: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update packages list | |
run: sudo apt-get update | |
- name: Install Zig | |
uses: goto-bus-stop/setup-zig@4f12c907f3f342b7dc2868382b9bd0e5acc4e5ef | |
with: | |
version: master | |
- name: Build | |
run: | | |
zig build | |
zig build -Dtarget=x86_64-linux | |
zig build -Dtarget=aarch64-linux | |
zig build -Dtarget=x86_64-windows | |
zig build -Dtarget=aarch64-windows | |
zig build -Dtarget=x86_64-macos | |
zig build -Dtarget=aarch64-macos | |
zig build -Dtarget=wasm32-wasi | |
zig build -Drelease | |
rm -fr zig-cache zig-out | |
make: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update packages list | |
run: sudo apt-get update | |
- name: Install Make | |
run: sudo apt-get install make | |
- name: Build | |
run: make | |
- name: Test | |
run: make test | |