You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
869 B
YAML

name: Continuous Integration
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
generate-packages:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: true # required for "git describe"
- name: Fetch more data from git
run: |
# fetch everything back till the 0.11.0 tag.
# https://stackoverflow.com/a/58082274
git fetch --shallow-exclude 0.11.0
git fetch --deepen=2
- name: Setup Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: 0.11.0
- name: Generate and validate packages
run: |
./tools/bundle.sh
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: packages
path: microzig-deploy/