Commit graph

75 commits

Author SHA1 Message Date
James McCoy
545ef842de
Remove -Werror from default CFLAGS
Production builds shouldn't include -Werror by default since that could
cause spurious build failures when there are toolchain updates.

CI uses -Werror to prevent warnings, so that should be sufficient.
2023-08-18 14:23:19 -04:00
Andrew Hlynskyi
e9bed05c7c chore(ci): explicitly define halt on error for ASAN detected issues 2023-08-17 18:26:08 +03:00
Amaan Qureshi
211e13d566
ci: add asan 2023-07-24 01:15:48 -04:00
Amaan Qureshi
9a05739851
fix: typo 2023-07-24 00:44:44 -04:00
Amaan Qureshi
77a8c56558
ci: add big-endian & some obscure architectures 2023-07-18 15:44:20 -04:00
Andrew Hlynskyi
e7a16ceb06 cicd: install Emscripten conditionally 2023-07-16 16:07:13 +03:00
Andrew Hlynskyi
6ab282b578 cicd: add armv7l target #1366#issuecomment-1503176694 2023-07-16 16:07:13 +03:00
Amaan Qureshi
c23ec2c3ae ci: add more architectures 2023-07-16 05:14:11 -04:00
Amaan Qureshi
12971103f5
ci: only run release if the owner is tree-sitter 2023-07-15 21:04:42 -04:00
Andrew Hlynskyi
0c318d3468 cicd: fix ubsan deb package installation 2023-07-13 17:44:38 +03:00
Andrew Hlynskyi
010f288b3c cicd: move branch locality checking to the release workflow 2023-05-20 04:56:39 +03:00
Andrew Hlynskyi
30dc31ff53 cicd: run tests on ready to review PRs 2023-05-20 00:53:31 +03:00
Andrew Hlynskyi
e783d8848d cicd: don't start release on draft PRs 2023-05-20 00:53:31 +03:00
Andrew Hlynskyi
1f42f1efc0 cicd: show info about minimal required GLIBC version for CLI 2023-05-20 00:53:31 +03:00
Andrew Hlynskyi
3af763e4be cicd: build - add a rust-test-threads number input parameter 2023-05-20 00:53:31 +03:00
Andrew Hlynskyi
fcbc3db1ab cicd: build - add a run-tests input parameter 2023-05-19 23:40:34 +03:00
Andrew Hlynskyi
b41c678da6 cicd: rollback runner version to link against older GLIBC 2023-05-19 01:25:46 +03:00
Andrew Hlynskyi
ebd80906fb cicd: a series of small improvements 2023-05-03 05:29:34 +03:00
Andrew Hlynskyi
1666283f37 cicd: cleanup and add building for windows-arm64 2023-04-17 00:21:54 +03:00
Andrew Hlynskyi
7642fda99f cli: npm - strict platform / arch mapping for provided targets 2023-04-17 00:17:43 +03:00
Andrew Hlynskyi
160550dabe cicd: fix windows targets sporadic issue due to corrupted PATH 2023-04-15 02:58:17 +03:00
Andrew Hlynskyi
8eacd34fd7 chore(cicd): better naming in the build matrix 2023-04-10 22:20:24 +03:00
Andrew Hlynskyi
7bc2bb605e cicd: switch main workflow to work on any branch except release/v* prefixed
The `release/v*` prefixed branches can be used only with a PR opened on
such branches. The release branches only accepted in the main repo
and not from forks.

Also this workflow enables runining on every `push` unconditionaly.
This leads to parallel runs on `push` and `pull_request` events
and that would seen in PR checks also in parallel, but this is
useful because checks that run on the `push` event runs on
head ref while checks on the `pull_request` event runs on
an additional `refs/pull/<PR>/merge` ref what is created
by Github on every push to a PR to check that it can be
merged to a target branch without conflicts and passed checks.
2023-04-10 21:20:36 +03:00
Andrew Hlynskyi
4a723c985d cicd: don't cancel runs on master by concurrency condition 2023-04-10 03:55:23 +03:00
Andrew Hlynskyi
d8caf6f8c5 chore(cicd): change formatting 2023-04-08 08:48:01 +03:00
Andrew Hlynskyi
f03f024ec4 cicd: change approach for matrix shaping with an anchor name plus extras 2023-04-08 08:48:01 +03:00
Andrew Hlynskyi
96086806d5 cicd: change author configuring for a tag 2023-04-08 08:48:01 +03:00
Andrew Hlynskyi
bb122d6d47 cicd: separate sanitize workflow + manual trigger for build workflow 2023-04-08 02:45:58 +03:00
Andrew Hlynskyi
71f32a2166 cicd: additional tweaks 2023-04-07 10:23:25 +03:00
Christian Clason
52f22a65eb cicd: build CLI for macos-arm64 2023-04-07 10:23:21 +03:00
Andrew Hlynskyi
0376533c04 cicd: add a test job with enabled UBSAN 2023-04-06 01:59:41 +03:00
Andrew Hlynskyi
404ae5f49a cicd: fix bug in release workflow 2023-04-04 11:44:50 +03:00
Andrew Hlynskyi
cc4f932d17 cicd: new workflow 2023-04-04 03:42:16 +03:00
Andrew Hlynskyi
ced103b519 ci: rustup install rustfmt and clippy 2023-01-15 19:18:51 +02:00
Andrew Hlynskyi
7a56f08154 ci: bump setup-emsdk action version to @v12 2023-01-15 19:18:51 +02:00
Andrew Hlynskyi
e733a07a5c Update CI action versions 2023-01-06 10:05:27 +02:00
Max Brunsfeld
4bf5149a18 Run cargo test directly on CI 2022-03-02 17:12:25 -08:00
Andrew Helwer
815c281c48 Fix ci.yml format 2021-09-28 18:52:12 -04:00
Andrew Helwer
8eef790a61 Build rust with warnings=errors 2021-09-28 18:51:09 -04:00
Andrew Helwer
652235a6b8 Moved windows build out into separate job 2021-09-28 18:45:27 -04:00
Andrew Helwer
eeff48d79f Specify bash shell 2021-09-28 18:35:40 -04:00
Andrew Helwer
02253866d7 Added windows to github CI workflow 2021-09-28 18:28:56 -04:00
Max Brunsfeld
4d64c2b939 Put emscripten-version file in cli directory
This lets the CLI crate build without relying on sibling directories.
2021-09-03 13:57:45 -07:00
Andrew Hlynskyi
a286f831c7 Bump Emscripten version to 2.0.24 2021-06-30 01:06:33 +03:00
Vladimir Panteleev
b14ea51e3d
Refactor emscripten/emsdk version to a single file 2021-06-29 21:39:12 +00:00
Andrew Hlynskyi
96ad90a646 CI: Add 'cargo fmt -- --check' to ci.yml
The step is placed right after Rust installation to fail faster.
2021-05-19 23:21:43 +03:00
Andrew Hlynskyi
9ee8ddb6b6 Fail CI in case of compiler warnings like dead_code 2021-04-30 06:55:00 +03:00
Max Brunsfeld
699af84259 Don't rely on bash 4.0 to lowercase platform name on CI 2021-02-11 17:08:14 -08:00
Max Brunsfeld
457c565266 Lowercase the OS in release asset filenames 2021-02-11 16:14:28 -08:00
Max Brunsfeld
0943dc27a2 Run CI for version tags 2021-02-11 15:21:04 -08:00