Commit graph

1042 commits

Author SHA1 Message Date
Anton-4
eefe1d8a7c
dont't trigger old workflows on test folder changes (#8164)
no old workflows on test folder changes

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-08-06 12:00:35 +02:00
Luke Boswell
66554ef081
disable platform linking tests on Windows 2025-08-04 21:04:15 +10:00
Luke Boswell
b2eed52b9a
Link using LLD, build the builtins as a library and link with shim 2025-08-04 19:58:32 +10:00
Luke Boswell
4d83244a2d
try turning off system afl 2025-08-04 19:03:51 +10:00
Luke Boswell
d4a9fab1a9
try removing any prebuilt libhost.a files 2025-08-04 18:50:32 +10:00
Luke Boswell
d1f282362c
add CI check for test platforms 2025-08-04 18:41:56 +10:00
Luke Boswell
b07b83820a
Add a test harness for WASM Playground 2025-07-31 09:35:21 +10:00
Anton-4
ac23668892
add benchmark script (#8097)
* add benchmark script

* fix path

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

* misc improvements

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-07-23 19:18:06 +02:00
Anton-4
0e91eca9c8
website has moved to https://github.com/roc-lang/www.roc-lang.org (#8094)
* website has moved to https://github.com/roc-lang/www.roc-lang.org

* CI remove website build

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

* remove website build script CI

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

* additional cleanup

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-07-22 18:53:15 +02:00
Anton-4
0e793d3dd0
add .roc file for benchmarks (#8034)
add bench file
2025-07-14 18:36:33 +02:00
Anton-4
ea17dc62ea
new compiler flake (#7950)
* new compiler flake

* nix install fix + typo

* PR feedback changes

* snapshot cmd order matters

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

* build snapshots before testing

Context: 527522770

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-07-11 13:38:02 +02:00
Joshua Warner
82346e49b1
Switch to using the c_allocator by default for snapshots
This leads to a 4-6x speed increase in snapshot generation
2025-07-09 11:34:05 -07:00
Brendan Hansknecht
0061f4e9d3
Update to zig 0.14.1
This is a no-op. Things work with both 0.14.0 and 0.14.1.
2025-07-04 23:56:15 -07:00
Anton-4
2f8b16936b
check snapshot code with valgrind (#7893)
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-06-28 14:36:33 +02:00
Anton-4
e58da7fd58
use new CI server (#7882)
* use new CI server

* fix fuzz lockfile

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-06-27 12:15:22 +02:00
Luke Boswell
8752c10800
Initial .rules file (#7823)
* Add an initial rules file explaining the snapshot tool

* CI ignore .rules file

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

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
Co-authored-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-06-13 10:30:10 +02:00
Brendan Hansknecht
567618b20e
Stop caching the zig cache
This is bloating our cache storage and occasionally leads to CI failures.
Instead, just cache the zig executable, but rebuild roc from scratch.
2025-05-18 13:03:22 -07:00
Anton-4
3d4ab7eb36
Fix unsupported content disposition + http 500 flake (#7791)
* Fix unsupported content disposition flake

* add retry flaky script
2025-05-17 19:08:57 +02:00
Brendan Hansknecht
520ad12127
update, format, and pin verions for ci_zig (also fixes caching) (#7788)
update, format, and pin verions for ci_zig (also fixes caching
2025-05-17 12:35:06 +02:00
Anton-4
9ada7d3858
add new windows CI runners (#7785)
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-05-13 16:14:49 +02:00
Anton-4
b552466755
glossary: type signature + typos upgrade (#7776)
* glossary: type signature

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

* ignore toolchain for typos

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

* fix typos

* put toolchain file back

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-05-07 17:35:56 +02:00
Dawid Danieluk
15f162f83c
feat(nix): make buildRocPackage fetch dependencies recursively (#7729)
* update nix buildRocPackage script

* change list of prefetched urls to include all links from the repository

* update nix buildRocPackage script to also include gz files

add debug echo

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

* use descriptive variable names and add allowed domains list

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

* add fizzbuzz to examples folder

* limit fizzbuzz range to 10

* include buildRocPackage tests in flake checks

* revert formatter changes

* extend range to contain FizzBuzz

* run nix fmt

* add flake checks to CI

* hello world + fix warnings

* fix unnecessary deps

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

* misc fixes

* nix fixes

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
Co-authored-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-04-18 20:11:09 +02:00
Magdielian-code
1c86a3e346
Create link-checker.roc (#7747)
* Create link-checker.roc

Create markdown link checker for glossary.md

Signed-off-by: Magdielian-code <oziomaagaecheta81@gmail.com>

* CI check + finishing touches

* improvements + test failure

* test succeeded

---------

Signed-off-by: Magdielian-code <oziomaagaecheta81@gmail.com>
Co-authored-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-04-18 20:10:10 +02:00
dependabot[bot]
d056a5dad2
Bump crossbeam-channel from 0.5.14 to 0.5.15 (#7734)
* Bump crossbeam-channel from 0.5.14 to 0.5.15

Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.14 to 0.5.15.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.14...crossbeam-channel-0.5.15)

---
updated-dependencies:
- dependency-name: crossbeam-channel
  dependency-version: 0.5.15
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* try to prevent clippy issues

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-04-11 17:43:24 +02:00
Anton-4
2dbbdf3e1f
fix nix apple silicon workflow (#7715)
* verbose testing

* see if two threads is more reliable

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

* more two threads

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

* one thread

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-25 16:44:21 +01:00
Anton-4
e9690c9bce
Lowercased some files (#7713) 2025-03-24 16:43:18 +01:00
Anton-4
9b93f2870d
gen docs here too
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-03-22 18:13:31 +01:00
Anton-4
743e87cdd4
url is different now
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-03-22 18:10:22 +01:00
Anton-4
bdb5feafc3
restrict CI workflow permissions (#7711)
restrict permissions
2025-03-21 16:39:03 +01:00
Brendan Hansknecht
346de8a281
avoid system afl in ci 2025-03-17 19:31:00 -07:00
Brendan Hansknecht
350767c161
make sure tracy compiles 2025-03-17 19:22:29 -07:00
Luke Boswell
1962383e19
Merge pull request #7701 from roc-lang/bhansconnect/push-ymplszqvrkqx
Ignore more files in the ci manager filter
2025-03-14 15:37:47 +11:00
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
026af8a9e0
Ignore more files in the ci manager filter
These files should not trigger ci manager in general
2025-03-13 20:45:49 -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