Files
zig-totp/.gitea/workflows/build.yaml
Andreas Huber e1d195f236
Some checks failed
Build / build (push) Failing after 5s
brainfart
2025-07-27 17:54:53 +02:00

18 lines
544 B
YAML

name: Build
run-name: ${{ gitea.actor }} is building
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- run: wget http://host.docker.internal:8081/repository/ziglang.org/download/0.14.1/zig-x86_64-linux-0.14.1.tar.xz
- run: tar xfv zig-x86_64-linux-0.14.1.tar.xz
- run: mv zig-x86_64-linux-0.14.1/zig .zig
- run: ./zig build
- run: ./zig build-exe src/main.zig -O ReleaseSmall -fstrip -fsingle-threaded -target x86_64-windows