-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ok... so maybe they *can* be split up
- Loading branch information
Showing
4 changed files
with
69 additions
and
38 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
image: ubuntu/lts | ||
secrets: | ||
- bd14f942-0744-4f8c-80ac-21c52cb8092e | ||
packages: | ||
- zip | ||
sources: | ||
- [email protected]:~photex/ziege | ||
artifacts: | ||
- ziege-linux-aarch64 | ||
- ziege-linux-x86_64 | ||
tasks: | ||
- setup: | | ||
mkdir zig && cd zig | ||
wget https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz | ||
tar xf zig-linux-x86_64-0.13.0.tar.xz --strip-components=1 | ||
- build: | | ||
cd ziege | ||
../zig/zig build -Doptimize=ReleaseFast -Dtarget=x86_64-linux -Dcpu=x86_64+avx -p _build/x86_64 | ||
../zig/zig build -Doptimize=ReleaseFast -Dtarget=aarch64-linux -p _build/aarch64 | ||
- package: | | ||
cp _build/x86_64/bin/ziege ziege-linux-x86_64 | ||
cp _build/aarch64/bin/ziege ziege-linux-aarch64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
image: ubuntu/lts | ||
secrets: | ||
- bd14f942-0744-4f8c-80ac-21c52cb8092e | ||
packages: | ||
- zip | ||
sources: | ||
- [email protected]:~photex/ziege | ||
artifacts: | ||
- ziege-macos-aarch64 | ||
- ziege-macos-x86_64 | ||
tasks: | ||
- setup: | | ||
mkdir zig && cd zig | ||
wget https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz | ||
tar xf zig-linux-x86_64-0.13.0.tar.xz --strip-components=1 | ||
- build: | | ||
cd ziege | ||
../zig/zig build -Doptimize=ReleaseFast -Dtarget=x86_64-macos -Dcpu=x86_64+avx -p _build/x86_64 | ||
../zig/zig build -Doptimize=ReleaseFast -Dtarget=aarch64-macos -p _build/aarch64 | ||
- package: | | ||
cp _build/x86_64/bin/ziege ziege-macos-x86_64 | ||
cp _build/aarch64/bin/ziege ziege-macos-aarch64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
image: ubuntu/lts | ||
secrets: | ||
- bd14f942-0744-4f8c-80ac-21c52cb8092e | ||
packages: | ||
- zip | ||
sources: | ||
- [email protected]:~photex/ziege | ||
artifacts: | ||
- ziege-windows-x86_64.zip | ||
tasks: | ||
- setup: | | ||
mkdir zig && cd zig | ||
wget https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz | ||
tar xf zig-linux-x86_64-0.13.0.tar.xz --strip-components=1 | ||
- build: | | ||
cd ziege | ||
../zig/zig build -Doptimize=ReleaseFast -Dtarget=x86_64-windows -Dcpu=x86_64+avx | ||
- package: | | ||
zip ziege-windows-x86_64.zip -j zig-out/bin/ziege.exe scripts/zig.bat scripts/zls.bat |