-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/foxnne/pixi
- Loading branch information
Showing
7 changed files
with
117 additions
and
12 deletions.
There are no files selected for viewing
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,103 @@ | ||
name: build | ||
on: | ||
push: | ||
paths-ignore: | ||
- "doc/**" | ||
- "README.md" | ||
- "**.md" | ||
- "LICENSE**" | ||
pull_request: | ||
paths-ignore: | ||
- "doc/**" | ||
- "README.md" | ||
- "**.md" | ||
- "LICENSE**" | ||
jobs: | ||
x86_64-linux: | ||
runs-on: ubuntu-latest | ||
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push | ||
# to the branch. | ||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | ||
env: | ||
DISPLAY: ':99.0' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Zig | ||
uses: mlugg/setup-zig@v1 | ||
with: | ||
version: 2024.5.0-mach | ||
mirror: 'https://pkg.machengine.org/zig' | ||
- name: Get GTK3 | ||
run: sudo apt install libgtk-3-dev | ||
- name: Launch xvfb | ||
run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 & | ||
- name: Build | ||
run: zig build | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: x86_64-linux | ||
path: zig-out/bin | ||
- name: x86_64-linux -> x86_64-windows | ||
run: zig build -Dtarget=x86_64-windows-gnu | ||
x86_64-windows: | ||
runs-on: windows-latest | ||
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push | ||
# to the branch. | ||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Zig | ||
uses: mlugg/setup-zig@v1 | ||
with: | ||
version: 2024.5.0-mach | ||
mirror: 'https://pkg.machengine.org/zig' | ||
- name: Build | ||
run: zig build | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: x86_64-windows | ||
path: zig-out/bin | ||
arm64-macos: | ||
runs-on: macos-14 | ||
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push | ||
# to the branch. | ||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Zig | ||
uses: mlugg/setup-zig@v1 | ||
with: | ||
version: 2024.5.0-mach | ||
mirror: 'https://pkg.machengine.org/zig' | ||
- name: build | ||
run: zig build -Duse_sysgpu=true | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: arm64-macos | ||
path: zig-out/bin | ||
x86_64-macos: | ||
runs-on: macos-12 | ||
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push | ||
# to the branch. | ||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Zig | ||
uses: mlugg/setup-zig@v1 | ||
with: | ||
version: 2024.5.0-mach | ||
mirror: 'https://pkg.machengine.org/zig' | ||
- name: Build | ||
run: zig build -Duse_sysgpu=true | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: x86_64-macos | ||
path: zig-out/bin |
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"sprites":[{"name":"pencil_0_default","source":[69,0,22,23],"origin":[0,22]},{"name":"eraser_0_default","source":[91,0,22,23],"origin":[0,22]},{"name":"bucket_0_default","source":[165,0,15,19],"origin":[0,13]},{"name":"dropper_0_default","source":[113,0,21,22],"origin":[0,21]},{"name":"selection_0_default","source":[23,0,23,24],"origin":[1,22]},{"name":"selection_add_0_default","source":[0,0,23,24],"origin":[1,22]},{"name":"selection_rem_0_default","source":[46,0,23,24],"origin":[1,22]},{"name":"fox_0_default","source":[134,0,31,19],"origin":[5,20]},{"name":"logo_0_default","source":[180,0,3,6],"origin":[-10,13]}],"animations":[{"name":"pencil_default","start":0,"length":1,"fps":1},{"name":"eraser_default","start":1,"length":1,"fps":1},{"name":"bucket_default","start":2,"length":1,"fps":1},{"name":"dropper_default","start":3,"length":1,"fps":1},{"name":"selection_default","start":4,"length":1,"fps":1},{"name":"selection_add_default","start":5,"length":1,"fps":1},{"name":"selection_rem_default","start":6,"length":1,"fps":1},{"name":"fox_default","start":7,"length":1,"fps":1},{"name":"logo_default","start":8,"length":1,"fps":1}]} | ||
{"sprites":[{"name":"pencil_0_default","source":[69,0,22,22],"origin":[0,22]},{"name":"eraser_0_default","source":[91,0,22,22],"origin":[0,22]},{"name":"bucket_0_default","source":[165,0,15,18],"origin":[0,13]},{"name":"dropper_0_default","source":[113,0,21,21],"origin":[0,21]},{"name":"selection_0_default","source":[23,0,23,23],"origin":[0,23]},{"name":"selection_add_0_default","source":[0,0,23,23],"origin":[0,23]},{"name":"selection_rem_0_default","source":[46,0,23,23],"origin":[0,23]},{"name":"fox_0_default","source":[134,0,31,18],"origin":[5,20]},{"name":"logo_0_default","source":[180,0,3,5],"origin":[-10,13]}],"animations":[{"name":"pencil_default","start":0,"length":1,"fps":1},{"name":"eraser_default","start":1,"length":1,"fps":1},{"name":"bucket_default","start":2,"length":1,"fps":1},{"name":"dropper_default","start":3,"length":1,"fps":1},{"name":"selection_default","start":4,"length":1,"fps":1},{"name":"selection_add_default","start":5,"length":1,"fps":1},{"name":"selection_rem_default","start":6,"length":1,"fps":1},{"name":"fox_default","start":7,"length":1,"fps":1},{"name":"logo_default","start":8,"length":1,"fps":1}]} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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
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
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