Files
zig-totp/.gitea/workflows/build.yaml
Andreas Huber a0147b8216
Some checks failed
Build / build (push) Failing after 8s
host.docker.internal doesn't work, try magic ip instead
2025-07-27 17:55:40 +02:00

18 lines
534 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://172.17.0.1: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