Skip to content

Commit

Permalink
Ok... so maybe they *can* be split up
Browse files Browse the repository at this point in the history
  • Loading branch information
photex committed Jun 10, 2024
1 parent ee3dc44 commit b944127
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .build.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .builds/linux.yml
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
24 changes: 24 additions & 0 deletions .builds/macos.yml
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
21 changes: 21 additions & 0 deletions .builds/windows.yml
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

0 comments on commit b944127

Please sign in to comment.