-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Initial attempt to upgrade Wasm/Qt * Disable cryptosettings for WASM * Add ENV to the exported WASM methods. * Fix inspector command handling in WASM tests * Set executable bit on qt-cmake * Install Ninja in github actions * Fix wasm debug symbol path * Set a fixed WASM screen size * Update wasm's index.html to Qt 6.6.3 * Update wasm for taskcluster too * Use a full path to the WASM debug symbols * Remove wasm's embedded.html * Revert "Diable broken test (#10168)"
- Loading branch information
Showing
16 changed files
with
176 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,35 +2,33 @@ | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
ARG DOCKER_IMAGE_PARENT=ubuntu:20.04 | ||
ARG DOCKER_IMAGE_PARENT=ubuntu:22.04 | ||
FROM $DOCKER_IMAGE_PARENT | ||
|
||
MAINTAINER Sebastian Streich <[email protected]> | ||
|
||
ARG QT_VERSION=6.2.4 | ||
ARG QT_VERSION=6.6.3 | ||
|
||
VOLUME /builds/worker/checkouts | ||
|
||
ENV CURL='curl --location --retry 5' \ | ||
LANG='en_US.UTF-8' \ | ||
TERM='dumb' | ||
|
||
RUN apt-get -q update && apt-get install -y tzdata && apt-get install -y git ccache python3 python3-pip wget libglib2.0-0 ninja-build && \ | ||
RUN apt-get -q update && apt-get install -y tzdata && \ | ||
apt-get install -y git ccache python3 python3-pip wget libglib2.0-0 cmake ninja-build && \ | ||
python3 -m pip install aqtinstall && \ | ||
# qt6 for wasm needs the desktop linux installation | ||
python3 -m aqt install-qt -O /opt linux desktop ${QT_VERSION} gcc_64 && \ | ||
python3 -m aqt install-qt -O /opt linux desktop ${QT_VERSION} wasm_32 -m qtwebsockets qt5compat && \ | ||
python3 -m aqt install-qt -O /opt linux desktop ${QT_VERSION} gcc_64 -m qtshadertools && \ | ||
python3 -m aqt install-qt -O /opt linux desktop ${QT_VERSION} wasm_singlethread -m qtwebsockets qt5compat qtshadertools && \ | ||
chmod +x /opt/${QT_VERSION}/wasm_singlethread/bin/qt-cmake && \ | ||
cd /opt/ && \ | ||
git clone https://github.com/emscripten-core/emsdk.git && \ | ||
cd emsdk && \ | ||
./emsdk install 2.0.14 && \ | ||
./emsdk activate 2.0.14 && \ | ||
wget https://github.com/Kitware/CMake/releases/download/v3.24.0-rc4/cmake-3.24.0-rc4-linux-x86_64.sh && \ | ||
chmod +x cmake-3.24.0-rc4-linux-x86_64.sh && \ | ||
mkdir /tmp/cmake && \ | ||
./cmake-3.24.0-rc4-linux-x86_64.sh --skip-license --prefix=/tmp/cmake | ||
./emsdk install 3.1.37 && \ | ||
./emsdk activate 3.1.37 | ||
|
||
ENV QTPATH=/opt/${QT_VERSION}/ | ||
ENV EMSDKPATH=/opt/emsdk/ | ||
|
||
ENV PATH="/opt/${QT_VERSION}/gcc_64/bin:${PATH}:/tmp/cmake/bin" | ||
ENV PATH="/opt/${QT_VERSION}/gcc_64/bin:${PATH}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.