Skip to content

Commit

Permalink
Handle emsdk ourselves
Browse files Browse the repository at this point in the history
  • Loading branch information
Vogtinator committed Dec 30, 2022
1 parent 9a1fc08 commit 0850802
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/qt-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,20 @@ jobs:
with:
submodules: 'recursive'

- name: Setup cache
id: cache-system-libraries
uses: actions/cache@v2
- name: Install cached emscripten
id: cache
uses: actions/cache@v3
with:
path: 'emsdk-cache'
path: 'emsdk'
key: 'emsdk-1.39.8'

- name: Install emscripten
uses: mymindstorm/setup-emsdk@v11
with:
version: 1.39.8
actions-cache-folder: 'emsdk-cache'
if: steps.cache.outputs.cache-hit != 'true'
run: |
curl -L https://github.com/emscripten-core/emsdk/archive/HEAD.tar.gz | tar xz
mv emsdk-* emsdk
./emsdk/emsdk install 1.39.8
./emsdk/emsdk activate 1.39.8
- name: Install Qt
uses: jurplel/install-qt-action@43ec12788e42f375acfcb2cec059edfb9572fbaa # v3
Expand All @@ -40,6 +42,7 @@ jobs:

- name: Build firebird
run: |
. ./emsdk/emsdk_env.sh
mkdir build
cd build
qmake ..
Expand Down

0 comments on commit 0850802

Please sign in to comment.