Skip to content

Commit

Permalink
Let's compile wasm in Release mode (#4148)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakulf authored Aug 4, 2022
1 parent f7254b3 commit 876008c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wasm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
run: |
export PATH=/opt/$QTVERSION/wasm_32/bin:/opt/$QTVERSION/gcc_64/bin:$PATH
mkdir build
/opt/$QTVERSION/wasm_32/bin/qt-cmake -S . -B build -DQT_HOST_PATH=/opt/$QTVERSION/gcc_64 -DQT_HOST_PATH_CMAKE_DIR=/opt/$QTVERSION/gcc_64/lib/cmake
cmake --build build -j4 --config Release
/opt/$QTVERSION/wasm_32/bin/qt-cmake -S . -B build -DQT_HOST_PATH=/opt/$QTVERSION/gcc_64 -DQT_HOST_PATH_CMAKE_DIR=/opt/$QTVERSION/gcc_64/lib/cmake -DCMAKE_BUILD_TYPE=Release
cmake --build build -j4
cp $(pwd)/build/src/mozillavpn.wasm wasm
cp $(pwd)/build/src/mozillavpn.js wasm
cp $(pwd)/build/src/qtloader.js wasm
Expand Down

0 comments on commit 876008c

Please sign in to comment.