Commit Graph

284 Commits

Author SHA1 Message Date
Daniel Jacobs 958f502cb5 ci: Update nightly release workflow to use v4 actions 2024-01-31 00:28:27 +01:00
Daniel Jacobs 21ef5c65bf ci: Update web workflow to use paths-filter v4 2024-01-29 23:13:25 -05: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 dccd48dca8 chore: Update wasm-bindgen version references to 0.2.90 2024-01-16 00:28:44 +01:00
Nathan Adams e5e1a8e11b ci: Remove PR tracking action 2024-01-15 20:24:21 +01:00
Nathan Adams f908b8b33e ci: Use right auth token for tracking merged PRs 2024-01-15 18:30:55 +01:00
Nathan Adams 1abf8b4914 ci: Track merged PRs in a project 2024-01-15 18:17:03 +01: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
TÖRÖK Attila 08a0ac459e ci: Only skip the Discord notification in forks, not the entire Dockerfile test 2023-12-02 00:08:17 +01:00
renovate[bot] db3928a531 chore(deps): update conda-incubator/setup-miniconda action to v3 2023-12-01 08:31:34 +01:00
TÖRÖK Attila ca25f82900 chore: Bump wasm-bindgen to 0.2.89 (0.2.88 got yanked) 2023-11-28 21:43:41 -05:00
Nathan Adams 1d6504a45a ci: Fix releasing demo 2023-11-26 15:26:21 +01:00
renovate[bot] acadb2b2d3 fix(deps): update wasm-bindgen 2023-11-07 12:18:50 +01:00
CUB3D b0d88645bc avm1: Implement FileReference 2023-11-03 19:32:24 +01:00
TÖRÖK Attila 8f15aa3200 ci: Test weekly that the Dockerfile in web is able to build the browser extensions 2023-11-03 17:47:10 +01:00
renovate[bot] da06e1c67d chore(deps): update actions/setup-node action to v4 2023-11-01 11:55:52 +01:00
TÖRÖK Attila 7cec9ed969 chore: Add `--locked` to all `cargo build` invocations 2023-10-28 14:07:39 +02:00
Nathan Adams 1a85380344 ci: Fix edge publishing 2023-10-24 14:43:54 +02:00
Nathan Adams e0f74605c4 ci: Release nightlies automatically to Edge 2023-10-23 15:05:27 +02:00
TÖRÖK Attila 2fcbba49f1 ci: Set up cargo-deny 2023-10-23 13:25:03 +02:00
Nathan Adams 5e3bd488f1 web: Make jpegxr optional on web but enabled by default by CI 2023-10-15 18:06:15 +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
sleepycatcoding 4bfd2fc978 desktop: Make jpegxr optional
This is enabled for CI builds.
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
Nathan Adams 23352db39f chore: Update wasm-bindgen from 0.2.86 -> 0.2.87 2023-06-15 20:50:04 +02:00
relrelb f62d80dd93 ci: Fix artifact download for AUR package
`actions/download-artifact` cannot be used because only macOS artifacts are uploaded using `actions/upload-artifact`.

Instead use `gh release download`, which mirrors `gh release upload`.
2023-06-03 23:56:06 +03:00
relrelb 652a52e91b ci: Provide `sha512sums` in AUR package
Previously it was skipped, which isn't a good practice.
2023-06-02 21:52:57 +03:00
Daniel Jacobs ac68ab0485 ci: Don't run crowdin workflows on forks 2023-05-30 21:37:00 +02:00
EmperorBale 79966e3d62 ci: Remove lint check 2023-05-20 13:59:12 -07:00
nosamu 330766d668 ci: Use GitHub CLI instead of deprecated actions 2023-05-19 14:51:03 +03:00
renovate[bot] f969bdce71 fix(deps): update wasm-bindgen 2023-05-17 06:44:50 +03:00
Nathan Adams e44ff69be4 ci: Add crowdin github actions 2023-05-16 22:25:54 +02:00
renovate[bot] 5b26d1b2ee fix(deps): update wasm-bindgen 2023-05-15 10:00:49 +03:00
relrelb 58821163b0 web: Update current Node.js version
Per https://nodejs.org/en/about/releases/:

* Node.js 19 became "maintenance" on April 1st.
* Node.js 20 became "current" on April 18th, and will become "active LTS" on October 24th.

In order prepare for potentially breaking changes, update the tested Node.js versions from 18 and
19 to 18 and 20.

By the way, refer to JDK 20 installation, which is the latest release.
2023-04-21 16:00:17 +02:00
David Wendt debb45706a web: Submit the extension at 2AM Saturday UTC.
The reason for this is twofold:

 * Running the release at the same time as the build means we are likely to miss the actual XPI file we need to build. This is a race condition introduced by this being a different workflow that waiting a bit should at least paper over.
  * While our policy was "release on Fridays", this was Friday in US time. Workflows are scheduled in UTC, so it was coinciding with the Thursday nightly.
2023-04-13 19:23:23 -06: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
David Wendt d7c206dcc6 web: Filter newlines out of the release tag for the Firefox signing step, too 2023-04-07 19:14:40 -06:00
David Wendt a1803db788 web: Extension release workflow still needs the Node packages 2023-04-07 19:00:34 -06:00
David Wendt 017607ec08 web: Use the correct name for the downloaded Firefox build 2023-04-07 18:54:07 -06:00
David Wendt f9fa60da80 web: Captured variables from `mathiasvr/command-output` have newlines in them 2023-04-07 18:50:01 -06:00
David Wendt 6d38cf3d9f web: When building the extension, provide the GitHub token to GitHub CLI 2023-04-07 18:36:45 -06:00
David Wendt 6315f3865f chore: The syntax of Actions if statements genuinely confuses me 2023-04-05 18:26:12 -06:00
David Wendt c6298047d9 chore: GitHub Actions CI still does not actually validate anything before you merge to master 2023-04-04 22:37:27 -06:00
David Wendt 42a56d88a3 web: Split Firefox extension upload into a separate process that submits whatever the latest extension is 2023-04-04 20:58:28 -07:00
renovate[bot] 4fbbf994fe chore(deps): update github actions dependencies 2023-03-31 23:03:07 -07:00
relrelb 39b53c76d6 ci: Deny warnings on Web
As suggested in https://github.com/ruffle-rs/ruffle/pull/6935#pullrequestreview-967181111.
2023-03-24 19:16:32 -07:00
David Wendt 479411b05f chore: For some reason, the reproducible source archive upload is failing, so switch to an actually maintained workflow for now 2023-03-19 21:07:20 -07:00
Daniel Jacobs e7d2906173 ci: Use latest Node 19
https://github.com/nodejs/node/releases/tag/v19.8.1 was released to fix the Node 19.8.0 issue.
2023-03-15 20:20:57 +01:00
Aaron Hill 570b97f270 ci: Pin node to 19.7.0
The newly released 19.8.0 is crashing
2023-03-14 18:17:20 -06: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
David Wendt 81ef33f58e web: Use the CORRECT extension ID in the version seal 2023-02-18 18:44:33 -07:00
relrelb 90082e4658 ci: Refactor activity check
Use a GitHub output parameter, rather than an environment variable,
as described in:
https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter
2023-02-17 14:25:25 +02:00
Nathan Adams d6abf24a81 chore: Update docs andf actions to wasm-bindgen-cli 0.2.84 2023-02-13 02:57:52 +01:00
renovate[bot] de452be290 chore(deps): update github actions dependencies 2023-02-04 15:06:25 +01:00
David Wendt 4c8b225ddd web: Version seal needs to run inside `npm` in order to get a version number 2023-01-31 15:57:30 +01:00
David Wendt d629459a29 web: Demo should have a version seal 2023-01-31 15:57:30 +01:00
David Wendt c7c1e845aa core: Exclude all `node_modules` directories from the reproducible archive.
Yes, having local copies of `node_modules` is technically a reproducibility win, but ZIPping them breaks them.
2023-01-30 21:03:47 +01:00
David Wendt 6ad6912309 web: Seal version data in the extension manifest, too. 2023-01-30 17:58:57 +01: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
David Wendt cfa259fe57 chore: Reproducible archive should include the whole project, not just the web subdir 2023-01-27 18:01:51 -07:00
David Wendt f213ec40fc chore: `npm ci` must run before any other Node scripts 2023-01-24 01:45:43 +01:00
David Wendt 2e09ca3772 core: Add CI step for sealing the version and producing a version-sealed source archive. 2023-01-23 10:40:26 +01:00
David Wendt 5c6de440e1 core: Enable repro builds on existing CI workflow 2023-01-23 10:40:26 +01:00
Bale f19e31d005 ci: Ensure `GHA_REPO_ALIVE` starts off as true 2023-01-18 22:13:14 -08:00
Bale 6cb80662b7
ci: Revert nightly fix (#9216)
* Revert "ci: Pass a single argument to `test` command"

This reverts commit 34dbeb7702.

* Revert "ci: Fix is_active variable"

This reverts commit 5b55b6e4b5.

* ci: Apply new fix

* ci: Fix typo

Should be setting the env variable to false, not true

* ci: Fix syntax error
2023-01-19 05:53:37 +00:00
nosamu 34dbeb7702 ci: Pass a single argument to `test` command 2023-01-18 19:39:13 -08:00
nosamu 5b55b6e4b5 ci: Fix is_active variable 2023-01-18 19:39:13 -08:00
Nathan Adams 0fd618e80a ci: Change activity check to something less error prone possibly 2023-01-18 00:47:27 -05: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
Daniel Jacobs b22d75eb32 ci: Only make nightly release on ruffle-rs/ruffle 2022-12-31 17:36:45 -05:00
Mike Welsh 5b1d4d071d ci: Add OAuth client secret to chrome-extension-upload
Google's OAuth flow changed and this additional client secret is
required.
2022-12-18 03:11:20 -08:00
Daniel Jacobs b9e23819e3 ci: Fix typo 2022-12-16 16:30:51 -08:00
Daniel Jacobs df0e1a39c3 ci: Bump chrome-extension-upload to latest release 2022-12-16 09:26:19 +02:00
Daniel Jacobs d26b5ab018 ci: Do simple numerical actions updates 2022-12-15 14:10:28 -08:00
TÖRÖK Attila e219cfef68 ci: Don't use a PPA for mesa (lavapipe) anymore on ubuntu-22.04 2022-12-06 11:55:06 -06:00
Aaron Hill f212e55385 Re-enable image tests on Linux 2022-12-06 11:30:47 -06:00
Daniel Jacobs 5b9da62c0a ci: Try disabling image tests on Linux 2022-12-02 21:28:41 -07:00
Daniel Jacobs e8b16b0cce ci: Change actions/upload-artifact to v3 2022-12-02 21:28:41 -07:00
Daniel Jacobs dca2fa8d35 ci: Don't use specific Swatinem/rust-cache revision 2022-12-02 21:28:41 -07:00
Daniel Jacobs 1355f11e6b ci: Move to direct cargo commands instead of using actions-rs/cargo 2022-12-02 21:28:41 -07:00
Daniel Jacobs 9256cb3276 ci: Replace actions-rs/toolchain with dtolnay/rust-toolchain 2022-12-02 21:28:41 -07:00
Daniel Jacobs 1cb3dfbe03 ci: Upgrade Node 12 actions workflows 2022-12-02 21:28:41 -07:00
Adrian Wielgosik 1f9fe76f16 Revert "ci: Upgrade Node 12 actions workflows"
This reverts commit eae04a1884.
2022-12-02 16:35:52 -07:00
Adrian Wielgosik 1a699345b4 Revert "ci: Replace actions-rs/toolchain with dtolnay/rust-toolchain"
This reverts commit 136c05fb17.
2022-12-02 16:35:52 -07:00
Adrian Wielgosik a040c329b7 Revert "ci: Move to direct cargo commands instead of using actions-rs/cargo"
This reverts commit 872dee65e7.
2022-12-02 16:35:52 -07:00
Adrian Wielgosik d7e8df517f Revert "ci: Don't use specific Swatinem/rust-cache revision"
This reverts commit 5db1f46a3a.
2022-12-02 16:35:52 -07:00
Daniel Jacobs 5db1f46a3a ci: Don't use specific Swatinem/rust-cache revision 2022-12-02 11:36:52 +01:00
Daniel Jacobs 872dee65e7 ci: Move to direct cargo commands instead of using actions-rs/cargo 2022-12-02 11:36:52 +01:00