Kamil Jarosz
d75d6da39e
ci: Enable doctests
...
Unfortunately nextest does not support doc tests yet, they need to be
run using cargo test.
2024-09-04 22:28:12 +02:00
Kamil Jarosz
7d5059ab45
ci: Remove duplicated steps for running tests
...
The environment variable FEATURES sets the set of features used
while testing, that makes it possible to have just one step
and prevent code duplication.
2024-09-04 22:28:12 +02:00
Kamil Jarosz
a38ae27703
ci: Improve OS condition on step disabling start-stop-gc
...
The syntax used for modifying an environment variable did
nothing on Windows (PowerShell).
2024-09-04 22:28:12 +02:00
TÖRÖK Attila
f98999c2ac
ci: Run nextest with profile "ci", add a test-specific override to allow retries for `avm2/pixelbender_shaderdata`
2024-08-12 04:50:27 +02:00
TÖRÖK Attila
feb9067b0b
ci: Remove hacks and workarounds for Rust testing on Ubuntu
2024-08-06 21:40:15 +02:00
TÖRÖK Attila
c5c7f45fff
ci: Run Rust tests on Ubuntu 24.04
2024-08-06 21:40:15 +02:00
dependabot[bot]
21d4745e66
build(deps): bump EmbarkStudios/cargo-deny-action from 1 to 2
...
Bumps [EmbarkStudios/cargo-deny-action](https://github.com/embarkstudios/cargo-deny-action ) from 1 to 2.
- [Release notes](https://github.com/embarkstudios/cargo-deny-action/releases )
- [Commits](https://github.com/embarkstudios/cargo-deny-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: EmbarkStudios/cargo-deny-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 17:32:18 +02:00
TÖRÖK Attila
b68583e2ee
Revert "ci: Release and test with Rust 1.78 instead of stable"
...
This reverts commit 4448e37d98
.
2024-06-27 21:19:36 +02:00
Kamil Jarosz
e086ca0719
ci: Enable web_sys_unstable_apis for nightly
...
The custom RUSTFLAGS from CI overrides .cargo/config.toml.
2024-06-19 00:15:07 +02:00
TÖRÖK Attila
4448e37d98
ci: Release and test with Rust 1.78 instead of stable
...
Co-authored-by: Kamil Jarosz <kjarosh256@gmail.com>
2024-06-18 13:59:57 -04:00
TÖRÖK Attila
3a01dc5545
ci: Set the `-znostart-stop-gc` flag for lld when testing
2024-06-12 22:50:29 +02:00
TÖRÖK Attila
1b3701e1aa
ci: Disable rust-lld on Rust nightly
2024-05-21 11:15:36 +02:00
TÖRÖK Attila
ce778df64f
github: Add a workaround for nextest failing on Windows
2024-05-16 19:47:52 +02:00
sleepycatcoding
20aa777f68
ci: run extra clippy step without tests
2024-04-05 01:16:11 +03:00
TÖRÖK Attila
7b633df39b
ci: Add cargo-machete to dependency checking
2024-04-01 22:29:38 +02:00
TÖRÖK Attila
0af8e8ac3b
ci: Split cargo-deny into its own job
2024-04-01 22:29:38 +02:00
Tom Schuster
d07b154898
chore: add build dependency
2024-02-28 21:21:09 +01:00
TÖRÖK Attila
a23ebb0366
ci: Actually enable incremental building (despite the default in rust-cache)
2024-02-28 00:20:47 +01:00
TÖRÖK Attila
a342232d5f
ci: Enable CARGO_NET_GIT_FETCH_WITH_CLI on Windows (and incidentally on Linux as well)
2024-02-28 00:20:47 +01:00
TÖRÖK Attila
12151f5125
ci: Add a dedicated Cargo profile, test with that
2024-02-26 08:42:24 +01:00
TÖRÖK Attila
f5a5705381
ci: Don't install rustfmt and clippy for the Rust tests job
...
This is leftover from https://github.com/ruffle-rs/ruffle/pull/15171
2024-02-26 08:42:24 +01:00
TÖRÖK Attila
9646c86707
ci: Split Rust lint checks into their own job
2024-02-16 02:47:24 +01:00
Nathan Adams
ffabf13f35
ci: switch to macos-14 runner
2024-02-16 01:33:22 +01:00
Nathan Adams
4bcba36957
ci: Try without dist-upgrade, it's slow
2024-02-16 00:33:39 +01:00
Nathan Adams
7e80ece016
ci: Install newer mesa from a PPA due to current mesa bug
2024-02-16 00:33:39 +01:00
Nathan Adams
d515dfb5b0
ci: Use different name for each artifact uploaded by a failing Test Rust run
2024-02-16 00:33:39 +01:00
renovate[bot]
7121cd4095
chore(deps): update actions/upload-artifact action to v4
2024-02-01 19:51:44 +01:00
Daniel Jacobs
bac2256c32
ci: Update Rust workflow to use paths-filter v4
2024-01-29 23:13:25 -05:00
TÖRÖK Attila
857c3af64f
ci: Allow retrying Rust tests, when also running visual tests, temporarily
...
Because of a crash in the Ubuntu 22.04 graphics drivers.
2024-01-07 05:58:13 +01:00
TÖRÖK Attila
8215ff6fbf
ci: Only check formatting and documentation on Linux
...
To speed up the rest of the runners - they were doing
duplicate work anyway.
2024-01-07 05:58:13 +01:00
TÖRÖK Attila
6876fe8226
ci: Switch to cargo nextest
...
- This will help avoid deadlocks with wgpu 0.18 (wgpu/#4885), as every
test is run in a separate process.
- Similarly, WARP seems to be less sensitive to hanging this way.
- Run on 4 threads at once, to overlap CPU-bound and IO-bound work.
2024-01-07 05:58:13 +01:00
CUB3D
b0d88645bc
avm1: Implement FileReference
2023-11-03 19:32:24 +01:00
TÖRÖK Attila
2fcbba49f1
ci: Set up cargo-deny
2023-10-23 13:25:03 +02:00
Nathan Adams
69c0c7cc6a
ci: Don't run image tests on macOS
2023-10-15 13:51:50 +02:00
sleepycatcoding
09716b8386
tests: make jpegxr optional
2023-10-03 16:08:51 -04:00
renovate[bot]
673aa78f9a
chore(deps): update actions/checkout action to v4
2023-10-01 06:46:20 -04:00
Adrian Wielgosik
0e507e870d
ci: Only run clippy on Linux
2023-09-07 18:51:00 +02:00
Adrian Wielgosik
f1a8fa8840
ci: only save cache on master builds
2023-09-07 18:51:00 +02:00
nosamu
5a10ccb22a
ci: Fix paths filter
2023-08-26 21:21:24 +02:00
Nathan Adams
1c8724a458
tests: Turn image_comparison into image_comparisons.NAME, allowing multiple comparisons per test
2023-08-07 22:52:10 +02:00
Nathan Adams
7dc0224451
tests: Add lzma feature and add a required_features.lzma flag
2023-07-27 19:47:16 +02:00
EmperorBale
79966e3d62
ci: Remove lint check
2023-05-20 13:59:12 -07:00
TÖRÖK Attila
80a33c4990
ci: Pass `--all` to `cargo test` to test all packages, not just the (now) default "desktop"
2023-04-09 12:26:18 -07:00
Aaron Hill
656ab8439c
chore: Bump clap to 4.1.8 and re-enable nightly clippy on CI
...
Clap macros no longer produce `#[deny]`, so clippy passes
again on nightly.
2023-03-01 17:01:40 -06:00
Aaron Hill
e970174339
ci: Don't fail the build on Nightly clippy lints
...
We consistently get false-positives from nightly changes,
so don't fail the build (but still print warnings).
2023-02-27 12:28:18 -06:00
Nathan Adams
65c91fba87
ci: Enable image tests on mac
2023-01-28 12:15:59 -07:00
Nathan Adams
9c4190b20b
tests: Readd suffix to actual/difference files
2023-01-28 12:15:59 -07:00
Nathan Adams
cdb2c5fe04
tests: Allow image tolerance & max_outliers on image comparison tests. Changed all existing image tests to use 1 sample count since this changes them all anyway
2023-01-28 12:15:59 -07:00
Nathan Adams
e6a44e2584
ci: Cancel existing actions for PRs when new commits come in
2023-01-16 00:03:31 -05:00
Aaron Hill
0c430e0bfc
Run 'sudo apt-get update' before installing deps
2023-01-11 16:40:19 -05:00