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
6315f3865f
chore: The syntax of Actions if statements genuinely confuses me
2023-04-05 18:26:12 -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
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
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
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
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
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
Daniel Jacobs
872dee65e7
ci: Move to direct cargo commands instead of using actions-rs/cargo
2022-12-02 11:36:52 +01:00
Daniel Jacobs
136c05fb17
ci: Replace actions-rs/toolchain with dtolnay/rust-toolchain
2022-12-02 11:36:52 +01:00
Daniel Jacobs
eae04a1884
ci: Upgrade Node 12 actions workflows
2022-12-02 11:36:52 +01:00
relrelb
dbfd28e708
web: Bump `wasm-bindgen` to 0.2.83
...
This restores commit 084b252030
.
As usual, also bump its helper crates (`js-sys`, `web-sys` and
`wasm-bindgen-futures`) to the latest versions.
2022-10-14 21:49:40 +03:00
relrelb
b5084eef25
Revert "web: Bump `wasm-bindgen` to 0.2.83"
...
This reverts commit 1954f6162f
.
2022-09-24 09:52:25 +03:00
relrelb
1954f6162f
web: Bump `wasm-bindgen` to 0.2.83
...
This reverts commit cf721d45f9
and restores
commit 084b252030
, this time without updating
`web-sys`, due to being coupled to `wgpu`.
2022-09-23 17:23:35 +03:00
Daniel Jacobs
cf721d45f9
Revert "web: Bump `wasm-bindgen` to 0.2.83"
...
This reverts commit 084b252030
.
2022-09-15 22:33:07 +02:00
relrelb
084b252030
web: Bump `wasm-bindgen` to 0.2.83
...
As usual, also bump its helper crates (`js-sys`, `web-sys` and
`wasm-bindgen-futures`) to the latest versions.
Due to https://github.com/rustwasm/wasm-bindgen/pull/3031 , use the
`serde-wasm-bindgen` crate as a replacement to the deprecated
`JsValue::from_serde` function.
2022-09-14 09:03:31 +03:00
Nathan Adams
03744d46f1
web: Rename wgpu feature to webgpu, add wgpu-webgl feature to use webgl through wgpu
2022-09-04 18:55:13 -07:00
TÖRÖK Attila
b9d2ef4ab5
ci: Explicitly use ubuntu-22.04 image for all CI workflows
...
Because GitHub is really slow in moving the ubuntu-latest alias over
to 22.04, and it's starting to cause issues with the desktop build.
2022-08-17 11:10:10 -07:00
relrelb
79f36964b4
web: Bump wasm-bindgen to 0.2.82
...
As usual, also bump its helper crates (`js-sys`, `web-sys` and
`wasm-bindgen-futures`) to the latest versions.
2022-07-29 09:40:14 -07:00
relrelb
65be2adc63
wgpu: Bump to `0.13.0`
...
Based on the work in #6717 , plus additional adaptions mentioned in
https://github.com/gfx-rs/wgpu/blob/master/CHANGELOG.md#wgpu-013-2022-06-30 ,
and more not-mentioned but required changes.
Also bump `wasm-bindgen` to `0.2.81` (along with its helper crates), as
required by the new `wgpu` version.
Note that I don't fully understand some of the required changes, notably:
* `wgpu::PresentMode::Mailbox` no longer works on my machine (Windows 11) -
The `wgpu` documentation says that `wgpu::PresentMode::Fifo` is the
only guaranteed to be supported, so I switched over to it instead.
* `self.staging_belt.recall()` doesn't return a `Future` anymore -
I assume it became synchronous so I simply removed the `executor`
from there.
2022-07-02 16:44:37 -07:00
David Wendt
052cb40113
build: `actions/download-artifact` puts the ZIP file in the root of the project for some reason, breaking the Safari extension
2022-04-23 00:08:32 -07:00
David Wendt
399614f598
build: Build and package the Safari stub binary for macOS.
2022-04-12 22:14:22 -07:00
David Wendt
79ebcc6dd3
web: Add a crate for a stub binary that builds a Safari Web Extension
2022-04-12 22:14:22 -07:00
David Wendt
9b083d8be4
build: Subpackages need `--deep` codesigning
2022-04-12 22:14:22 -07:00
David Wendt
58ce66e1a3
web: Package the extension as a Safari Web Extension in the desktop build.
2022-04-12 22:14:22 -07:00