Add CI checks and a tag-triggered Linux and Windows release
Builds run on the Gitea runner. Windows is cross-compiled from Linux with cargo-xwin. There is no macOS build because no Mac runner exists.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
name: ci
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["**"]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install tools
|
||||
run: scripts/ci-setup.sh
|
||||
- name: Unit tests
|
||||
run: mise run test
|
||||
- name: Type checks
|
||||
run: mise run check
|
||||
Reference in New Issue
Block a user