This commit is contained in:
17
.gitea/workflows/build.yaml
Normal file
17
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user