Commit Graph

17 Commits

Author SHA1 Message Date
renovate[bot] acadb2b2d3 fix(deps): update wasm-bindgen 2023-11-07 12:18:50 +01:00
TÖRÖK Attila 4109047c20 web: Tidy up the Dockerfile for building the browser extension. Details:
- Add clang to the dependencies
- Migrate Node.js installation to their new recommended method
- Add some comments for each logical step
- Remove a redundant comment
- Remove some unnecessary semicolons
2023-10-27 15:58:15 +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
Adrian Wielgosik c41d7d56f0 build: Reduce disk use of reproducible docker builds 2023-08-05 12:07:59 +02:00
Nathan Adams 23352db39f chore: Update wasm-bindgen from 0.2.86 -> 0.2.87 2023-06-15 20:50:04 +02:00
renovate[bot] f969bdce71 fix(deps): update wasm-bindgen 2023-05-17 06:44:50 +03:00
renovate[bot] 5b26d1b2ee fix(deps): update wasm-bindgen 2023-05-15 10:00:49 +03:00
Nathan Adams d6abf24a81 chore: Update docs andf actions to wasm-bindgen-cli 0.2.84 2023-02-13 02:57:52 +01:00
David Wendt d448809f6c web: Docker builds should also use the reproducible pipeline. 2023-02-02 20:00:42 -07:00
hanshenrik 120e80603c install wasm-opt from Conda 2023-02-02 19:34:52 -07:00
divinity76 4fcd6fe47e nitpicking
- setup_lts.x already run `apt-get update` internally so it's a waste of time to run it manually afterwards.
- the wget url wasn't quoted properly. incidentally the url doesn't actually need quoting anyway, which is why it wasn't caught.
- misc
2023-02-02 19:34:52 -07:00
divinity76 4734e542db ugly hack to re-try binaryen download if its 404!?
shouldn't really happen, shouldn't really be required, but..
2023-02-02 19:34:52 -07:00
divinity76 2621044669 manually install binaryen v111
Ubuntu 22.04's default binaryen is too old (105)
2023-02-02 19:34:52 -07:00
divinity76 6ddc19a417 add back git
ref https://github.com/ruffle-rs/ruffle/pull/9121#issuecomment-1384525188
2023-02-02 19:34:52 -07:00
divinity76 cc3ec8a795 derp 2023-02-02 19:34:52 -07:00
divinity76 61ad5307f7 Dockerfile make dual-wasm optimized build
- compiling from Docker is a slow way to compile anyway (because "COPY . ruffle" and "npm install" is un-cached, and virtualization overhead), so people who want minimal compilation time shouldn't use Docker compile anyway. (switching to :dual-wasm increased build time from 8m20s to 11m10s on my ancient 2011 server, 4x xeon E7-4870)
- seems "docker cp" does not actually overwrite the firefox_unsiged.xpi file if it already exists, for reasons unclear to me, so i added "rm -rf" to the sample invocation
- git wasn't actually used in docker build process, removed git from apt-get (rustup use the git protocol internally but doesn't seem to use the actual git executable)
2023-02-02 19:34:52 -07:00
hanshenrik cbbc789c4e Dockerfile to build web
usage:
run this file from ruffle root dir (not the docker dir) like
docker build --tag ruffle-web-docker -f web/docker/Dockerfile .
docker cp $(docker create ruffle-web-docker:latest):/ruffle/web/packages web/docker/docker_builds/packages
2023-01-08 12:02:38 -05:00