ci: woodpecker -> forgejo actions

This commit is contained in:
LordMZTE 2024-05-10 20:06:19 +02:00
parent c9143e5e9c
commit df265345d1
Signed by untrusted user: LordMZTE
GPG key ID: B64802DC33A64FF6
2 changed files with 19 additions and 7 deletions

View 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

View file

@ -1,7 +0,0 @@
steps:
build:
image: git.mzte.de/lordmzte/zig-build
pull: true
commands:
- zig fmt --check .
- zig build -Doptimize=ReleaseFast