Skip to content

Commit 212756c

Browse files
committed
CI: only run all tests on linux
1 parent ca23f2f commit 212756c

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- tmp
78
pull_request:
89
paths:
910
- '**.zig'
@@ -36,5 +37,10 @@ jobs:
3637
- name: Build release
3738
run: zig build --release=safe
3839

40+
- name: Run Tests
41+
run: zig build test
42+
if: matrix.os == 'ubuntu-latest'
43+
3944
- name: Run Tests
4045
run: zig build test-fmt test-unit test-macros test-translate
46+
if: matrix.os != 'ubuntu-latest'

test/cases/translate/shift_right_assign_with_a_fixed_size_type.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
#include <stdint.h>
1+
// TODO https://github.com/Vexu/arocc/issues/848
2+
// #include <stdint.h>
3+
typedef __UINT32_TYPE__ uint32_t;
4+
25
int log2(uint32_t a) {
36
int i = 0;
47
while (a > 0) {

0 commit comments

Comments
 (0)