Files
zig-totp/.gitea/workflows/build.yaml
Andreas Huber 8b946e3423
Some checks failed
Build / build (push) Failing after 19s
1st try of a build workflow
2025-07-27 17:45:03 +02:00

18 lines
538 B
YAML

name: Build
run-name: ${{ gitea.actor }} is building
on: [push]
jobs:
build:
runs-on: ubuntu-latest-slim
steps:
- name: Check out repository
uses: actions:checkout@v4
- run: wget http://localhost: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