Skip to content

Commit

Permalink
Update to 0.13.0, adds CI, adds nix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix "xq" Queißner committed Jun 16, 2024
1 parent 6ecb96a commit 7b41bdd
Show file tree
Hide file tree
Showing 10 changed files with 685 additions and 317 deletions.
2 changes: 2 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
use flake

2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: MasterQ32
github: ikskuh
39 changes: 39 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build

on:
pull_request:
branches: [master]
push:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: 0.13.0

- name: Basic Build
run: |
zig build
- name: Exercise Build options
run: |
zig build -Dstatic-rpc=1234-08-31
zig build -Dsector-size=512
zig build -Dsector-size=1024
zig build -Dsector-size=2028
zig build -Dsector-size=4096
zig build -Dsector-size=512:4096
zig build -Dsector-size=1024:4096
zig build -Dsector-size=2028:4096
zig build -Dvolume-count=1
zig build -Dvolume-count=2
zig build -Dvolume-count=31
zig build -Dvolume-names=C
zig build -Dvolume-names=C,D,E,F
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
zig-cache/
.zig-cache/
zig-out/
disk.img
disk.img
279 changes: 0 additions & 279 deletions Sdk.zig

This file was deleted.

Loading

0 comments on commit 7b41bdd

Please sign in to comment.