Commit graph

44 commits

Author SHA1 Message Date
dundargoc
c3ab70cc98 ci: rework release strategy
Switch the release trigger from PR to a git tag. In practice this would
mean tagging a commit in master branch and pushing it with
`git push --tags`.

The benefit of this is that tagging is already an event that is reserved
for maintainers, so we can remove the need for verifying whether the
event was done by a maintainer.

We also no longer need to keep track of the tag. Previously the trigger
was a PR which has a different ref from the tag, so manual bookkeeping
was required to ensure github used the tag reference instead of the PR
reference. Having the tagging itself be the trigger removes this need
entirely as the default checkout will already use the tag as reference.
2024-02-06 14:48:50 +01: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
Max Brunsfeld
9857438d9b Revert "Print out tar version in CI"
This reverts commit 9c480bee23.
2021-02-05 11:26:40 -08:00
Max Brunsfeld
9c480bee23 Print out tar version in CI 2021-02-05 10:35:13 -08:00
Max Brunsfeld
4c93178488 Revert "Revert "Remove emscripten caching again""
This reverts commit 82dad76b98.
2021-02-05 10:27:18 -08:00
Max Brunsfeld
82dad76b98 Revert "Remove emscripten caching again"
This reverts commit 94eeb0662f.
2021-02-05 09:44:32 -08:00
Max Brunsfeld
8050c4026c ci: Use gnu tar on macOS 2021-02-05 09:44:29 -08:00
Max Brunsfeld
d6ad7484a6 Fix install-rust step in GH CI 2021-01-11 16:59:05 -08:00
Max Brunsfeld
94eeb0662f Remove emscripten caching again 2021-01-11 16:13:43 -08:00
Max Brunsfeld
4bedff9c75 Include emscripten version in cache key 2021-01-11 16:03:54 -08:00
Max Brunsfeld
ffef8f53f6 Publish assets to GH releases from CI on tagged builds 2021-01-11 15:46:17 -08:00
Max Brunsfeld
2f5a6598fa Try again with caching for emscripten 2021-01-11 15:02:50 -08:00
Max Brunsfeld
c1660d201d Don't cache emscripten stuff for now 2021-01-11 14:37:42 -08:00
Max Brunsfeld
f94d67b42a Use a publisehd action for setting up emscripten on CI 2021-01-11 14:21:52 -08:00
Max Brunsfeld
ea8a2dcb8e Add macOS build to GH actions CI 2021-01-05 12:21:55 -08:00
Max Brunsfeld
9dd35e7853 Build wasm binding, run wasm tests on GH actions 2020-12-03 09:39:12 -08:00
Max Brunsfeld
00d25e8298 Use caching in GH actions 2020-12-01 17:56:01 -08:00
Max Brunsfeld
abef4a7417 Use stable rust, remove custom rustc flags 2020-12-01 17:38:22 -08:00
Patrick Thomson
3b121894c2 Is it make that's whining? 2020-11-24 14:38:29 -05:00
Patrick Thomson
cdb108b781 Try not building wasm because it's making actions very sad 2020-11-24 14:24:25 -05:00
Patrick Thomson
dd78781403 whoops 2020-11-24 13:49:43 -05:00
Patrick Thomson
25c5821400 Try just Ubuntu. Justbuntu 2020-11-24 13:45:45 -05:00
Patrick Thomson
9ea5e491a9 Actually run all the tests, not just make. 2020-11-24 13:42:59 -05:00
Patrick Thomson
07948dfa42 regular make? 2020-11-11 09:05:17 -05:00
Patrick Thomson
711d4fdace make instead of cargo 2020-11-11 09:00:26 -05:00
Patrick Thomson
8b64c12517 Simple workflow derived from Amethyst's; let's see if it works 2020-11-11 08:49:33 -05:00
Patrick Thomson
8904660804 Institute Actions .yml 2020-11-11 08:44:14 -05:00