Commit Graph

412 Commits

Author SHA1 Message Date
Anton-4
bbc5c6f597
rename test dev backend
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-08-22 11:27:49 +02:00
Richard Feldman
4ee4a207be
Merge pull request #3848 from roc-lang/fix_macos_aarch64_nightly
fix macos aarch64 nightly release
2022-08-21 10:03:47 -04:00
Anton-4
172424f41b
Merge branch 'small-ci-rebirth' of github.com:roc-lang/roc into small-ci-rebirth 2022-08-20 11:02:04 +02:00
Anton-4
276ac3327f
minor cleanup 2022-08-20 10:57:31 +02:00
Anton-4
7237474b55
fix linux nightly, update checkout action 2022-08-19 20:33:52 +02:00
Anton-4
2e2aa7d135
upload nightly as tar gz
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-08-19 20:32:38 +02:00
Anton-4
02853d9d75
fix sccache path
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-08-19 20:27:37 +02:00
Anton-4
e87ecbfa1c
ci: rustc --version
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-08-19 20:14:49 +02:00
Anton-4
b62556dc2a
porting more tests from Earthfile 2022-08-19 19:07:08 +02:00
Anton-4
99645d23e0
use cron again to produce nightly
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-08-19 18:36:48 +02:00
Anton-4
018b5ea952
set up zig tests in CI 2022-08-19 17:15:50 +02:00
Anton-4
e0b24ebf95
workflow yml formatting fix
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-08-19 16:44:09 +02:00
Anton-4
29179e92e6
temp move spellcheck to big-ci 2022-08-19 14:49:26 +02:00
Anton-4
95323905a6
fix macos aarch64 nighlty release 2022-08-19 14:43:40 +02:00
Anton-4
bbd96d9afa
temporarily remove ci workflow 2022-08-19 10:39:09 +02:00
Anton-4
9307fcf0f5
set dependabot to weekly 2022-08-13 19:17:18 +02:00
Ayaz Hafiz
84c766ea5e
Make sure to include directory path in dependabot.yml 2022-08-13 09:11:49 -07:00
Brian Hicks
97941fc5f6
open new dependabot PRs early in the morning, Belgium time 2022-08-12 16:32:22 -05:00
Richard Feldman
7b2c1a7e64
s/trunk/main/g 2022-08-12 15:24:37 -04:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00
Anton-4
651aaf5fe2
build before tests
#2572
2022-08-02 08:49:24 +02:00
Folkert
505cd8dd2f
enable wasm llvm tests on CI 2022-07-24 21:24:57 +02:00
Anton-4
f8a4340ff8
moved fmt after clippy 2022-07-13 17:32:14 +02:00
Anton-4
2cc2f988d7
moved clippy and rustfmt to nix apple silicon 2022-07-13 15:51:32 +02:00
Anton-4
0459cc9ce0
added full path for nix 2022-07-12 18:46:03 +02:00
Anton-4
6a3e7dae27
also test nix on linux 2022-07-12 17:41:52 +02:00
Anton-4
ca97e1cf99
also test with --release for PR nix tests 2022-07-11 16:43:51 +02:00
Ayaz Hafiz
2006c2d05e
Turn on --release for M1 test gen 2022-07-07 22:23:44 -04:00
Richard Feldman
1d25833021
Merge pull request #3317 from rtfeldman/macos_x86_nightly
macos x86 nightly releases
2022-06-27 10:00:35 -04:00
Anton-4
80929ea84f
cleanup build.rs, setup cron for nightly 2022-06-27 13:36:46 +02:00
Anton-4
3a1ca7fa62
set LLVM_SYS_130_PREFIX 2022-06-25 16:22:15 +02:00
Anton-4
ee39ca8411
try different way to install llvm 2022-06-25 15:52:17 +02:00
Anton-4
def3941599
debuggin zig build-exe 2022-06-24 20:05:28 +02:00
Anton-4
9a283d5f92
install tree 2022-06-24 18:07:34 +02:00
Anton-4
7eb363b6ff
fix missing single quote 2022-06-24 18:05:13 +02:00
Anton-4
e827dbd1a8
try out cachix 2022-06-24 18:03:32 +02:00
Anton-4
e2bde8c6d2
change zig setup to prevent cache folder issue 2022-06-24 17:11:23 +02:00
Anton-4
b12943d1a3
try fixing clang 2022-06-24 16:53:45 +02:00
Anton-4
5f1be1ee92
try to fix clang 2022-06-24 16:19:19 +02:00
Anton-4
deb46d003f
test macos x86 nightly workflow 2022-06-24 15:32:28 +02:00
Anton-4
d704b9350c
added macOS x86_64 test workflow 2022-06-24 13:30:21 +02:00
Richard Feldman
61bde19352
Add stale bot 2022-06-23 08:46:23 -04:00
Anton-4
90335fe3f9
changed nightly date format 2022-06-21 15:45:50 +02:00
Anton-4
0e131c6722
updated getting started for MacOS 2022-06-21 14:20:08 +02:00
Anton-4
ff9980d5ad
removed unnecessary concurrency group from nightly workflow 2022-06-20 15:07:46 +02:00
Anton-4
d64588a817
run macOS nightly with cron, made roc version datetime UTC 2022-06-20 14:12:24 +02:00
Anton-4
c4b5c1b580
fixed package_release.sh 2022-06-18 19:33:10 +02:00
Anton-4
09c7e67ad7
improve naming 2022-06-18 17:52:52 +02:00
Anton-4
3dcc124138
fixed tar path, CI cleanup 2022-06-18 17:51:16 +02:00
Anton-4
3be059f915
CI cleanup 2022-06-18 17:10:59 +02:00
Anton-4
08dbcb21e5
debugging zig 2022-06-18 11:17:11 +02:00
Anton-4
b3dc8f14b3
debugging zig 2022-06-18 11:14:20 +02:00
Anton-4
8f2498eff6
fix llvm version query 2022-06-17 20:05:47 +02:00
Anton-4
ec87f33c83
debug PATH issue 2022-06-17 20:03:19 +02:00
Anton-4
eadb6fbec4
yml formatting fix 2022-06-17 19:42:21 +02:00
Anton-4
d6d05af012
swap workflows to try to trigger 2022-06-17 19:38:13 +02:00
Anton-4
69290040ad
cleanup workflow files 2022-06-17 19:36:17 +02:00
Anton-4
ac187e5dd9
apple silicon nightly workflow test 2022-06-17 18:02:04 +02:00
Anton-4
e37162a293
succeed on failure due to test_gen 2022-06-01 17:40:00 +02:00
Anton-4
72b703b27e
removed xcode action
The xcode action could not download Xcode 13.3 which was required to get swift 5.6
2022-05-31 17:06:45 +02:00
Anton-4
7907d09536
setup xcode version from github action 2022-05-31 14:53:12 +02:00
Anton-4
e4412f73f2
add nix apple M1 workflow 2022-05-30 19:34:04 +02:00
ayazhafiz
d4d8f6d902 Turn on concurrency groups for GitHub CI
This ensures that we only one set of workflows is running for an active
GH ref (usually a PR). Stale workflows will be term'd when a new one
associated with the same PR is kicked off.

See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
2022-04-19 21:21:11 -04:00
Jan Van Bruggen
1e9d2d1239 Remove accidental trailing spaces 2022-01-18 22:25:46 -07:00
Anton-4
a0c9f68299 just run all steps for markdown files 2021-12-14 14:32:41 +01:00
Anton-4
204e70be77 make sure CI stuff that can only run on linux is limited to linux 2021-11-20 15:19:36 +01:00
Anton-4
570804dbe1
no need to install earthly on self-hosted runner 2021-10-29 14:50:44 +02:00
Anton-4
c850f9b32c
Fixed earthly install on nightly 2021-10-26 14:32:33 +02:00
Anton-4
fb67bae922
no sudo inside gitlab 2021-10-25 09:51:12 +02:00
Anton-4
ae136f1a0e print nightly version with commit after release 2021-10-23 19:53:39 +02:00
Anton-4
a035e58ead set up nightly release publishing 2021-10-22 19:42:41 +02:00
Anton-4
4026291945 re-enjable benchmarks 2021-09-27 15:17:13 +02:00
Anton-4
e0bd644c79 single threaded file loading with env var 2021-09-27 15:16:07 +02:00
Anton-4
f8e53d6268
temp disable benchmarks 2021-09-20 19:33:56 +02:00
Anton-4
3cece55772
used correct tag for CI workflow 2021-09-08 19:56:53 +02:00
Anton-4
4667c34326
change tag name for small-ci 2021-09-08 19:50:00 +02:00
Anton-4
597dea08d8
use small-ci for tests 2021-09-08 19:37:28 +02:00
Anton-4
bc1616bb33 try out rust benchmark runner with github ci 2021-08-02 20:02:02 +02:00
Anton-4
de3e5f092d On second bench run, run trunk again as well 2021-07-13 11:53:18 +02:00
Anton-4
29bd6caf85 pull-request should be pull_request 2021-07-10 11:27:31 +02:00
Anton-4
496fcf3538 reduced spell check timeout 2021-07-10 11:25:35 +02:00
Anton-4
f7bfbcbed1 Merge branch 'no-unnecessary-ci' of github.com:rtfeldman/roc into no-unnecessary-ci 2021-07-10 11:24:23 +02:00
Anton-4
53be8068f5 don't run benchmarks on change to .md 2021-07-10 11:24:03 +02:00
Richard Feldman
1e39dac114
Merge branch 'trunk' into no-unnecessary-ci 2021-07-09 21:11:59 -07:00
Anton-4
de4b48d207 don't trigger CI tests on markdown file changes, separate out spellcheck 2021-07-09 17:25:58 +02:00
Anton-4
83ee9a0cda added benchmark regression check script 2021-07-09 10:47:26 +02:00
Anton-4
b7196e98fc compare to actual trunk 2021-06-11 14:52:18 +02:00
Anton-4
ae6ed24236 print CPU temp at start of benchmarks 2021-06-11 13:38:13 +02:00
Anton-4
58de0c9826 trying to fix cfold 2021-06-11 12:41:17 +02:00
Anton-4
8d4e67c990 cp -r 2021-06-09 20:53:27 +02:00
Anton-4
a693cc34e4 don't change dir 2021-06-09 20:40:38 +02:00
Anton-4
a9bbb25c89 skip cfold 2021-06-09 20:31:07 +02:00
Anton-4
fa0e183947 forgot to set ulimit 2021-06-09 20:04:15 +02:00
Anton-4
3d83fa2878 dont use safe-earthly 2021-06-09 19:56:40 +02:00
Anton-4
55d6877cdf github actions debugging 2021-06-09 19:48:42 +02:00
Anton-4
73d9e04f60 github actions debugging 2021-06-09 19:47:11 +02:00
Anton-4
f845f3965b github action runner debugging 2021-06-09 19:45:05 +02:00
Anton-4
a09fb75e7c put build-arg in correct position 2021-06-09 19:14:44 +02:00
Anton-4
dccdd5c939 compare to previuous commit for now 2021-06-09 18:55:53 +02:00
Anton-4
5e4fc1dc2f now executing benchmarks outside earthly 2021-06-09 18:52:34 +02:00
Anton-4
39a81abc95 can't test with trunk 2021-06-08 18:09:47 +02:00
Anton-4
a1d87c4aea clean repo at the correct position 2021-06-08 16:56:29 +02:00
Anton-4
89edd75aeb Added regression testing using github actions and earthly 2021-06-07 20:49:13 +02:00
Richard Feldman
84699d4f2f Revert "Run the www workflow on push to www"
This reverts commit e9007f9702.
2021-06-05 22:21:15 -04:00
Richard Feldman
e9007f9702 Run the www workflow on push to www 2021-06-05 22:21:08 -04:00
Richard Feldman
0b00afdd51 Revert "Revert "Add www github workflow""
This reverts commit f1f7c0bdf6.
2021-06-05 22:05:45 -04:00
Anton-4
93a77f0518 adapted safe-earthly script to be capable of running benchmarks 2021-06-02 14:36:53 +02:00
Anton-4
d1948d99d0 Merge branch 'trunk' of github.com:rtfeldman/roc into benchmarks 2021-06-02 10:56:30 +02:00
Anton-4
5281cf1c07 correct path for script 2021-05-25 17:04:25 +02:00
Anton-4
897d95c86c patching cache mount failure #1265 2021-05-25 17:00:49 +02:00
Anton-4
07ad061ac0 fixed iai benchmarks 2021-05-19 14:32:59 +02:00
Anton-4
8d0d1a0758 put cli helpers in cli_utils crate, added bench_utils.rs for sharing functions between benchmarks, added iai benchmarks 2021-05-18 18:48:59 +02:00
Anton-4
c213ad1909 github actions setup for benchmarks 2021-05-17 19:44:03 +02:00
Anton-4
dd12266655
Removed preference to specific CI instance 2021-05-10 18:07:16 +02:00
Anton-4
62dcb0f7eb
test anton big CI 2021-05-10 17:25:26 +02:00
Anton-4
d9d08a96e7
test anton-small-vm 2021-05-10 16:22:48 +02:00
Brendan Hansknecht
7af198cce2 Remove unnecessary CI step 2021-02-24 21:08:30 -08:00
Anton-4
5523fc6b77 Don't clean repo between runs 2021-02-08 20:06:32 +01:00
Anton-4
d453f9b208 ci cleanup 2021-02-08 14:44:54 +01:00
Anton-4
92e25d2caf Now using local sccache 2021-02-06 14:18:03 +01:00
Anton-4
eed9f819e9 forgot about clippy and rustfmt 2021-02-05 20:34:53 +01:00
Anton-4
831f88b9fd zig tests, caching cargo packages 2021-02-05 19:48:02 +01:00
Anton-4
78b47ef48d earthly fixes 2021-02-03 19:54:25 +01:00
Anton-4
bfd5d90d89 run tests inside earthly 2021-02-02 19:42:24 +01:00
Anton-4
862cd3bf70 syntax fix 2021-02-02 17:00:25 +01:00
Anton-4
dc4aa846b1 execute jobs in order 2021-02-02 16:56:40 +01:00
Anton-4
9b046eaf0e yaml spacing fix 2021-02-02 15:18:39 +01:00
Anton-4
453a83b660 trying Earthly CI 2021-02-02 15:14:27 +01:00
Anton-4
9e209cf659
show backtrace 2021-01-30 17:00:03 +01:00
Anton-4
ea21ab2b84 disable benchmarks until failure on regression is setup, added xorg-dev dependency 2021-01-30 12:56:24 +01:00
Anton-4
0df3d8eae5 reenable old CI 2021-01-26 19:32:35 +01:00
Anton-4
7d7a7cf075 set criterion folder 2021-01-26 19:31:38 +01:00
Anton-4
ecab069c69 allow benchmark files dir to be specified with env var 2021-01-26 18:27:07 +01:00
Anton-4
be603909c4 stay in editor folder 2021-01-26 17:00:43 +01:00
Anton-4
d2d4944fc3 need to keep PATH modifications 2021-01-26 16:39:43 +01:00
Anton-4
e4e0c9f81a removed obsolete PATH modification 2021-01-26 16:38:18 +01:00
Anton-4
fb268a1d3f set CARGO_HOME and RUSTUP_HOME 2021-01-26 16:16:31 +01:00
Anton-4
cbdb5bdf04 rustup show 2021-01-26 15:57:08 +01:00
Anton-4
07bf80f1f0 add cargo path to GITHUB_PATH 2021-01-26 15:47:14 +01:00
Anton-4
5ad7a55887 print PATH 2021-01-26 15:15:25 +01:00
Anton-4
7efb8c0014 use slash for docker repository 2021-01-26 15:03:26 +01:00
Anton-4
63a542d379 custom docker image for dependencies 2021-01-26 14:31:19 +01:00
Anton-4
1a6f01e328 workflow files fixes 2021-01-25 19:32:37 +01:00
Anton-4
eb6c4fbaa5 use local cargo, temp disable ci 2021-01-25 19:29:12 +01:00
Anton-4
cfb213c853 expose modules automatically for benchmarks, actually run benchmarks 2021-01-25 19:16:03 +01:00
Anton-4
3f4218f251 self-hosted action runner test 2021-01-23 19:36:53 +01:00
Anton-4
d6bdfc7214 forgot backtick 2020-12-25 14:12:17 +01:00
Anton-4
ffb5e61523 cleaned up CPU prefix 2020-12-25 14:06:46 +01:00
Anton-4
b87069d014 use new cmd to set env vars inside github workflow 2020-12-25 13:07:03 +01:00
Anton-4
8f4216ef4c use custom command to export env vars inside github workflow 2020-12-25 12:58:37 +01:00
Anton-4
4da55fdecc scope sccache to CPU model 2020-12-25 12:00:58 +01:00
Anton-4
bf38a1a31c try sccache locally 2020-12-25 10:44:54 +01:00
Anton-4
d0a051f43d temporary disable sccache to debug error on Xeon E5-2673 v4 2020-12-23 19:40:34 +01:00
Anton-4
f1762c3ee0 actually remove 'cargo test -- --ignored' 2020-12-23 17:40:13 +01:00
Anton-4
5bf986a150 log CPU info, removed 'cargo test -- --ignored' 2020-12-23 17:28:56 +01:00
Anton-4
207fdb6441 remvoe env var check 2020-12-23 15:54:53 +01:00
Anton-4
4bea1daeab secret env vars are not loaded automatically 2020-12-23 14:30:40 +01:00
Anton-4
259e4c81d2 check if env var is set 2020-12-23 14:21:48 +01:00
Anton-4
0aee89ffde call sccache with absolute path 2020-12-23 12:10:50 +01:00
Anton-4
4848d74acc create symlink to sccache to prevent path problems 2020-12-23 12:04:26 +01:00
Anton-4
93716639ae checkout repo before testing sccache 2020-12-23 11:28:05 +01:00
Anton-4
74fa779260 test running sccache 2020-12-23 11:26:33 +01:00
Anton-4
15624cace2 added sccache binary based on mozilla/sccache/pull/869, updated ci.yml with correct syntax 2020-12-23 10:21:40 +01:00
Richard Feldman
618d1c3e89 Revert "added sccache binary based on mozilla/sccache/pull/869"
This reverts commit 82c289ab81.
2020-12-22 22:25:03 -05:00
Richard Feldman
2a7124b6a0
Merge pull request #813 from rtfeldman/ci_caching
CI caching with sccache
2020-12-21 23:18:52 -05:00
Anton-4
e77c113107 CI: print clippy and rustfmt version 2020-12-21 19:56:36 +01:00
Anton-4
82c289ab81 added sccache binary based on mozilla/sccache/pull/869 2020-12-21 14:30:03 +01:00
Anton-4
8bf426b6b9 don't recompile shaders unnecessarily 2020-12-15 15:00:24 +01:00
Richard Feldman
01495940e3 Cache compiled valgrind on CI 2020-11-23 00:33:56 -05:00
Richard Feldman
cc8f8a7f92 Fix path in ci.yml 2020-11-22 23:29:40 -05:00
Richard Feldman
e0c97c9981 Run zig tests on CI 2020-11-21 23:14:49 -05:00
Richard Feldman
467fa658fc Skip non-ignored tests outside release 2020-11-01 23:32:37 -05:00
Brendan Hansknecht
cf3786fe6b Refactor cli tests and ignore valgrind 2020-10-27 22:49:26 -07:00
Brendan Hansknecht
6988cae9a8 Reset valgrind version and other minor cleanup 2020-10-27 22:05:46 -07:00
Brendan Hansknecht
aeaba90e28 Output CPU info in CI for debugging 2020-10-26 19:15:05 -07:00
Richard Feldman
304a94e92d Disabel --no-fail-fast on CI 2020-10-25 21:16:05 -04:00
Folkert
c41b92e284 remove bitcode CI check
it gave false positives, and won't be needed when we don't  check in the bitcode
2020-10-18 09:03:05 -04:00
Brendan Hansknecht
2865347603 Merge branch 'trunk' into valgrind 2020-10-13 19:46:14 -07:00
Brendan Hansknecht
6deb90a203 Rename Install LLVM stage 2020-10-13 19:43:25 -07:00
Brendan Hansknecht
4228d3ac36 Add valgrind to ci 2020-10-13 19:13:21 -07:00
Richard Feldman
b3b0f9621d Add a 60-minute timeout to CI 2020-10-13 20:46:29 -04:00
Richard Feldman
6759908ee2 Verify on CI that regenerate.sh was run 2020-09-26 23:54:21 -04:00
Richard Feldman
5176c7efd4 Use --no-fail-fast in CI 2020-06-27 16:42:50 -04:00
Richard Feldman
9288e20469 Upgrade to LLVM 10 2020-04-08 06:41:53 -04:00
Richard Feldman
9067ca5a57 Enable LLD on CI 2020-03-27 02:08:38 -04:00
Richard Feldman
97d947d0ca Remove cache cargo build 2020-01-11 13:27:31 -05:00
Richard Feldman
1d9544632b Add some caching to GitHub Actions 2020-01-11 12:44:21 -05:00
Richard Feldman
6592047af2 Combine CI steps 2020-01-05 00:22:03 -05:00
Richard Feldman
d68b54f763 Rename CI step from rustfmt to cargo fmt 2020-01-01 15:41:10 -05:00
Richard Feldman
55730949f7 CI: cargo test (without --release) 2019-12-18 19:56:14 -05:00
Richard Feldman
29701858e1 Rename clippy step 2019-11-21 07:24:57 -05:00
Richard Feldman
ad9ae5aaf6 Only run CI on PR, not on push
It's annoying to see the double output, and doesn't seem to help.
2019-11-21 07:10:43 -05:00
Richard Feldman
5549614cb3 Enable clippy on CI 2019-11-21 07:08:25 -05:00
Richard Feldman
445c8528f1 Try cargo update again 2019-11-21 06:29:33 -05:00
Richard Feldman
24c9cc0d4d Try doing cargo clean in CI 2019-11-21 06:27:57 -05:00
Richard Feldman
d70b07dbb9 Name the toolchain installation step 2019-11-20 18:24:40 -05:00
Richard Feldman
88052bc653 Give CI jobs more obvious names 2019-11-20 18:23:47 -05:00
Richard Feldman
e7a4ecad37 Try removing cargo update from CI 2019-11-20 18:19:38 -05:00
Richard Feldman
75c5dc0639 Fix --release syntax in GH Actions 2019-11-20 07:15:07 -05:00
Richard Feldman
4e3e6fee48 s/update cargo/cargo update 2019-11-20 07:14:43 -05:00
Richard Feldman
67c31fa50d Only do nightly build if tests pass 2019-11-20 07:12:15 -05:00
Richard Feldman
ba018d9283 Use --release on CI tests 2019-11-20 07:10:31 -05:00
Richard Feldman
68c63a070a Add a nightly release build GH Action 2019-11-20 07:10:31 -05:00
Richard Feldman
45f20652d0 Disable clippy on CI for now 2019-11-15 01:20:07 +00:00
Richard Feldman
bf5b174953 Install LLVM for Clippy 2019-11-15 01:13:09 +00:00
Richard Feldman
f3a8045322 Fix Inkwell installation in ci.yml 2019-11-15 00:42:50 +00:00
Richard Feldman
0aff715bd7 See if cargo update fixes the Inkwell error 2019-11-15 00:36:56 +00:00
Richard Feldman
02892ad0c0 Run llvm install script as root 2019-11-14 23:58:10 +00:00
Richard Feldman
e27028b1be Rename rust.yml to ci.yml 2019-11-14 23:47:31 +00:00
Richard Feldman
fa882cc70e Update rust.yml 2019-11-14 23:47:11 +00:00
Richard Feldman
85547ac2a0 Move rust.yml to the correct directory 2019-11-14 23:23:36 +00:00
Richard Feldman
9946ff93bf
Create rust.yml 2019-11-15 00:21:59 +01:00