Skip to content

Commit

Permalink
disable 32-bit build; fix test step
Browse files Browse the repository at this point in the history
  • Loading branch information
Vexu committed Nov 5, 2024
1 parent b643340 commit 19e1d65
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
- name: Build
run: zig build

- name: Build 32-bit
run: zig build -Dtarget=arm-linux
if: matrix.os == 'ubuntu-latest'
# - name: Build 32-bit
# run: zig build -Dtarget=arm-linux
# if: matrix.os == 'ubuntu-latest'

- name: Build release
run: zig build --release=safe
Expand Down
3 changes: 2 additions & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ pub fn build(b: *std.Build) void {
run_step.dependOn(&run_cmd.step);

const unit_tests = b.addTest(.{
.root_source_file = b.path("src/translate.zig"),
.root_source_file = b.path("src/Translator.zig"),
.target = target,
.optimize = optimize,
});
unit_tests.root_module.addImport("aro", aro.module("aro"));
const run_unit_tests = b.addRunArtifact(unit_tests);

const test_step = b.step("test", "Run unit tests");
Expand Down
2 changes: 1 addition & 1 deletion src/ast.zig
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ pub const Payload = struct {

pub const ArrayTypeInfo = struct {
elem_type: Node,
len: usize,
len: u64,
};
};

Expand Down

0 comments on commit 19e1d65

Please sign in to comment.