Add zero_kb02 to build tag (#8) #53
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: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
smoketest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: smoketest | |
run: | | |
docker pull tinygo/tinygo-dev | |
docker run --rm -v $GITHUB_WORKSPACE:/workspace -w /workspace tinygo/tinygo-dev tinygo version | |
docker run --rm -v $GITHUB_WORKSPACE:/workspace -w /workspace tinygo/tinygo-dev /bin/sh -c "\ | |
apt-get update && \ | |
apt-get install -y libasound2-dev libgl1-mesa-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libxxf86vm-dev && \ | |
git config --global --add safe.directory /workspace && \ | |
make smoketest" | |
- name: Upload uf2 files | |
uses: actions/upload-artifact@v4 | |
with: | |
name: uf2-files | |
path: ./out/*.uf2 |