Compare commits

..

9 Commits
dev ... ci-dev

Author SHA1 Message Date
LeRoyce Pearson 4da048648f upload x86_86-linux-gnu artifact
/ build-dist (push) Successful in 1m17s Details
2024-05-30 00:02:11 -06:00
LeRoyce Pearson a47d3a56e0 split each binary into it's own upload step
/ build-dist (push) Successful in 1m21s Details
2024-05-29 23:50:31 -06:00
LeRoyce Pearson 3d01e0e7e0 use wildcard
/ build-x86_64-linux-gnu (push) Successful in 1m19s Details
2024-05-29 23:05:18 -06:00
LeRoyce Pearson 5c4a10bf26 feat: build.zig: add step to build for all platforms
/ build-x86_64-linux-gnu (push) Successful in 1m10s Details
2024-05-29 22:57:00 -06:00
LeRoyce Pearson 026d835803 fix: use upload-artifact v3
/ build-x86_64-linux-gnu (push) Successful in 58s Details
2024-05-29 22:16:33 -06:00
LeRoyce Pearson 20c6c18079 feat: add version info and upload built artifacts
/ build-x86_64-linux-gnu (push) Failing after 1m3s Details
2024-05-29 22:08:57 -06:00
LeRoyce Pearson 7e434c2bc2 disable cache for setup-zig and checkout repository
/ test (push) Successful in 58s Details
The cache wasn't working and the timeout took way too long. Redownloading
zig every time it is, then.
2024-05-29 21:20:07 -06:00
LeRoyce Pearson d70f48afda feat: setup zig and run `zig build`
/ test (push) Failing after 9m34s Details
2024-05-29 21:08:40 -06:00
LeRoyce Pearson 8846d2cb87 feat: add demo forgejo workflow
/ test (push) Successful in 33s Details
2024-05-29 20:20:17 -06:00
5 changed files with 424 additions and 702 deletions

View File

@ -21,17 +21,17 @@ jobs:
with:
name: seizer-solitaire.aarch64-linux-gnu
path: zig-out/bin/aarch64-linux-gnu/seizer-solitaire
- name: upload-artifact arm-linux-gnueabihf
- name: upload-artifact aarch64-linux-gnu
uses: https://code.forgejo.org/forgejo/upload-artifact@v3
with:
name: seizer-solitaire.arm-linux-gnueabihf
path: zig-out/bin/arm-linux-gnueabihf/seizer-solitaire
- name: upload-artifact wasm32-wasi-none
- name: upload-artifact aarch64-linux-gnu
uses: https://code.forgejo.org/forgejo/upload-artifact@v3
with:
name: seizer-solitaire.wasm32-wasi-none
path: zig-out/bin/wasm32-wasi-none/seizer-solitaire
- name: upload-artifact seizer-solitaire.html
- name: upload-artifact aarch64-linux-gnu
uses: https://code.forgejo.org/forgejo/upload-artifact@v3
with:
name: seizer-solitaire.html

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
zig-out/
.zig-cache/
zig-cache/

View File

@ -44,7 +44,7 @@ pub fn addSeizerSolitaireExe(b: *std.Build, install_step: *std.Build.Step, optio
const exe = b.addExecutable(.{
.name = "seizer-solitaire",
.root_source_file = b.path("src/main.zig"),
.root_source_file = .{ .path = "src/main.zig" },
.target = options.target,
.optimize = options.optimize,
});

View File

@ -16,8 +16,8 @@
// internet connectivity.
.dependencies = .{
.seizer = .{
.url = "https://github.com/leroycep/seizer/archive/78cba44f8d07492cb84939ad836746f7d82ae5e2.tar.gz",
.hash = "1220cbae20222089c1ec9b847ef3466f13a665707e8d0e8ea2b57ffda083fd9275b6",
.url = "https://github.com/leroycep/seizer/archive/54a39bf2c2f867a2caa69c4a63fa4732ebc7ac71.tar.gz",
.hash = "12208d8ee636719b6b4fbb75014cfaa9aa0d9557d2ca4e160ad245825eaa20849b48",
},
},
.paths = .{

File diff suppressed because it is too large Load Diff