forked from LordMZTE/statspatch
ci: woodpecker -> forgejo actions
This commit is contained in:
parent
c9143e5e9c
commit
df265345d1
2 changed files with 19 additions and 7 deletions
19
.forgejo/workflows/test.yml
Normal file
19
.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Zig
|
||||
uses: https://github.com/goto-bus-stop/setup-zig@v2
|
||||
with:
|
||||
version: 0.12.0
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
zig fmt --check .
|
||||
zig build
|
||||
zig build test
|
|
@ -1,7 +0,0 @@
|
|||
steps:
|
||||
build:
|
||||
image: git.mzte.de/lordmzte/zig-build
|
||||
pull: true
|
||||
commands:
|
||||
- zig fmt --check .
|
||||
- zig build -Doptimize=ReleaseFast
|
Loading…
Reference in a new issue