frunk
Lonnie 2021-08-08 01:34:05 +02:00
parent 3460022693
commit b7fc864838
2 changed files with 5 additions and 5 deletions

View File

@ -6,8 +6,6 @@ packages:
- curl-dev
environment:
version: zig-linux-x86_64-0.9.0-dev.689+507dc1f2e
artifacts:
- derploader/zig-out/bin/derploader
tasks:
- getzig: |
wget https://ziglang.org/builds/${version}.tar.xz
@ -15,7 +13,8 @@ tasks:
mv ${version} zig
echo 'export zig="'$(pwd)'/zig/zig"' >> .buildenv
- getzigmod: |
git clone https://github.com/nektro/zigmod --recursive
git clone https://github.com/nektro/zigmod --depth 1 \
--recursive --shallow-submodules
cd zigmod
$zig build -Dbootstrap
./zig-out/bin/zigmod ci
@ -27,8 +26,7 @@ tasks:
- build: |
cd derploader
source source-me.sh
$zig build -Drelease-small=true -Dtarget=x86_64-linux-gnu -Dcpu=sandybridge -Dstrip=true -Dstatic=true
strip -s zig-out/bin/derploader
$zig build
triggers:
- action: email
condition: failure

2
.gitignore vendored
View File

@ -5,3 +5,5 @@ deps.zig
zig-cache/
zig-out/
.zigmod/
images/
view