Commit graph

1009 commits

Author SHA1 Message Date
Brendan Hansknecht
f2fb7a519d
Enable incremental compilation
This gets us incremental compilation and a fast feedback loop.
Instead of a `check` step, this depends on `-Dno-bin`.

Note, we should look into [per-build config](https://zigtools.org/zls/configure/per-build/)
and switching back to simply `check` at some point.
Currently that doesn't seem to play nice with `-fincremental`.
2025-03-13 20:58:53 -07:00
Brendan Hansknecht
0db2fe0ebe
Move predicate quantifier to correct location 2025-03-11 09:24:17 -07:00
Brendan Hansknecht
21a05a5005
fix ci filtering 2025-03-10 22:45:17 -07:00
Anton-4
62c1ea213a
Zig lint improvements (#7683)
* don't require comments on init+deinit

* ignore re-exports

* typo

* predicate-quantifier does not exist

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-03-10 18:39:17 +01:00
Anton-4
f20b9b57ed
move CI check to script (#7682)
move check to script
2025-03-10 17:16:12 +01:00
Anton-4
3bfc8c5612
check new zig files for top level comment (#7681)
* check new zig files for //!

* test

* test comment

* fix pub comment

* improvements

* remove test file
2025-03-10 15:38:45 +01:00
Brendan Hansknecht
619f98d755
update ci to zig 0.14.0 2025-03-08 10:27:01 -08:00
Anton-4
a07ec54355
typo 2025-03-06 19:43:12 +01:00
Anton-4
f830f7de91
added pub comment linter 2025-03-06 19:39:54 +01:00
Anton-4
58b2d32eba
CI test snapshots
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-03-04 19:49:41 +01:00
Anton-4
8c87280ea7
fix nix problem ld-linux-aarch64.so.1 (#7655)
* fix nix problem linux aarch64

* more reliable rust install

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* fix copy paste

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-03-03 19:36:28 +01:00
Anton-4
c19630265a
alpha3 related updates (#7640)
* alpha3 related updates

* normal CI triggers
2025-02-26 15:29:59 +01:00
Anton-4
7e982b55f5
ditch old_linux + references (#7639)
ditch old_linux
2025-02-26 12:22:07 +01:00
Anton-4
e6410d89c5
basic-cli test fix file mismatch (#7636)
* fix file mismatch

* normal CI triggers
2025-02-24 19:54:43 +01:00
Anton-4
c50163517b
ditch ubuntu 20.04; deprecated on github CI 2025-02-24 15:15:22 +01:00
Anton-4
7fc2a08e28
use setup-zig as recommended 2025-02-22 14:05:21 +01:00
Joshua Warner
2005cf0845
try ubuntu-22.04 2025-02-14 22:33:27 -08:00
Brendan Hansknecht
a276e411d3
also disable fail fast to get all results 2025-02-14 21:29:38 -08:00
Brendan Hansknecht
ca255c4fc4
fix ci dep 2025-02-14 21:28:37 -08:00
Brendan Hansknecht
2eff4889b8
add proper check and check-fmt step 2025-02-14 21:05:14 -08:00
Brendan Hansknecht
975a4b27fa
also build fuzz scripts in ci 2025-02-14 09:39:09 -08:00
Brendan Hansknecht
e83872d0dd
use llvm flag in ci 2025-02-13 19:03:11 -08:00
Brendan Hansknecht
c7cabb7c72
minor formatting fixes 2025-02-13 18:59:05 -08:00
Brendan Hansknecht
c7f5f5c7e1
add a ci test for cross compilation with llvm dependency 2025-02-13 18:58:31 -08:00
Brendan Hansknecht
fcbc7544ac
enable zig ast check and target only the new compiler 2025-02-09 09:54:46 -08:00
Anton-4
c1f5cd96a3
try twice
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-02-09 11:52:18 +01:00
Anton-4
b518288cd4
version may need to be done after clean 2025-02-09 08:58:37 +01:00
Brendan Hansknecht
8eb0707ba9
switch to setup-zig as recommended by Andrew Kelley 2025-02-08 18:30:07 -08:00
Brendan Hansknecht
cd64484b60
Merge pull request #7592 from roc-lang/fix-filter2
Fix filter try 2
2025-02-08 11:34:24 -08:00
Anton-4
ebf99d2938
try git clean instead
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-02-08 19:22:53 +01:00
Brendan Hansknecht
706cbf8a6a
Fix filter try 2
Turns out that `predicate-quantifier` is v3 syntax of `dorny/paths-filter`, not v2.
Update to v3 for it to work right.
2025-02-08 10:09:21 -08:00
Anton-4
2e1d265f88
added crash workaround
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-02-08 17:22:33 +01:00
Brendan Hansknecht
fa2d6e9b7a
correct output link 2025-02-07 22:35:46 -08:00
Brendan Hansknecht
d1a6788df2
actually keep around other_than_zig 2025-02-07 22:34:03 -08:00
Brendan Hansknecht
d9ebd396d9
Fix the filter
The filter system matches if any filter matches.
This meant that the old `other_than_zig` was always matching everything.

Changed to simpler system where we only check for zig changes.
On zig changes we run zig, otherwise, we run the old compiler.
2025-02-07 22:30:06 -08:00
Brendan Hansknecht
ebd98714e5
also update old ci workflow ci to not run on zig yml changes 2025-02-07 18:07:27 -08:00
Brendan Hansknecht
a915d29c3b
Minor cleanup zig
1. Switch fuzzer to ReleaseSafe
2. Update not on fuzzer needing llvm
3. Use c allocator as our gpa
4. Use musl on linux.
5. Just `zig build test` in CI.
2025-02-07 17:47:06 -08:00
Anton-4
8d4974b0ec
new compiler CI init (#7582)
* new compiler CI init

* update name

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* altered exe check

* add macos dynamic dep check

* add windows too

* use builtin windows tools

* ci_manager changes

* move devtools too

* fix deadlock

* moved md link check

* correct filename

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* correct filename

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* correct trigger

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* fixed call_old_workflow if

* naming fix

* add output

* fix finish if

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* zig CI test change

* fix auto cancellation

* fix finish if

* new compiler CI init

update name

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

altered exe check

add macos dynamic dep check

add windows too

use builtin windows tools

ci_manager changes

move devtools too

fix deadlock

moved md link check

correct filename

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

correct filename

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

correct trigger

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

fixed call_old_workflow if

naming fix

add output

fix finish if

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

zig CI test change

fix auto cancellation

fix finish if

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-02-07 21:40:23 +01:00
Jan
68e524e110
snake_case-ify all remaining camelCase names in hiding (#7561)
* Snake-case-ify def names in comments

* Snake-case-ify def names in strings

* Snake-case-ify ignored function parameters

* Snake-case-ify test script names, for consistency

* Update CI snapshot to match snake_case

* snake case correction

---------

Co-authored-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-02-05 16:05:03 +01:00
Anton-4
5e4ff44483
nix flake cleanup (#7576)
* nix flake cleanup

* fix devtools

* remove old zig version check

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-02-04 19:05:57 +01:00
Anton-4
4c1d31ece0
alpha release testing (#7577)
* test changed workflows

* no more hardcoded URLs

* prevent rate limit issues

* normal CI triggers
2025-02-04 15:34:03 +01:00
Anton-4
610fe897b9
remove old zig version check
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-02-04 14:14:27 +01:00
Anton-4
8bd5dc3be9
normal CI triggers 2025-02-04 13:59:50 +01:00
Anton-4
4de94773f1
Update ci_manager.yml
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-02-04 13:59:11 +01:00
Anton-4
ce610019da
add alpha tests 2025-02-04 13:57:49 +01:00
Anton-4
96350631cc
more release testing + refactoring
moved aarch64 apple test

typo

install z3 for all macos

some refactoring

fix rm command

update rm

test linux arm64 too

refactor

cleanup dir

back to normal CI
2025-02-01 20:02:42 +01:00
Anton-4
0d1624c14a
Merge pull request #7547 from roc-lang/build-webserver-0.12.0
build basic-webserver 0.12.0
2025-01-31 17:37:45 +01:00
Anton-4
45f8ad93f2
back to normal CI 2025-01-31 17:37:13 +01:00
Anton-4
5f7f59f659
Merge pull request #7542 from roc-lang/build-basic-cli-19
build basic-cli 0.19.0
2025-01-31 17:35:02 +01:00
Anton-4
4abf0cfb62
back to normal CI 2025-01-31 17:34:27 +01:00