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

2
.gitignore vendored
View File

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