Skip to content

Commit

Permalink
emscripten 3.1.64
Browse files Browse the repository at this point in the history
  • Loading branch information
nathhB committed Sep 12, 2024
1 parent 77e14db commit b0015a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nbnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Install prerequisites
run: sudo apt-get install build-essential cmake git python2 g++ -y
- name: Install emsdk
run: ./bin/github-actions/install_emsdk.sh
run: ./bin/github-actions/install_emsdk.sh 3.1.64
- name: Install nbnet NPM dependencies
run: |
npm update
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
- name: Install prerequisites
run: brew install cmake coreutils
- name: Install emsdk
run: ./bin/github-actions/install_emsdk.sh
run: ./bin/github-actions/install_emsdk.sh 3.1.64
- name: Install nbnet NPM dependencies
run: |
npm update
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
- name: Download and build libdatachannel
run: ./bin/github-actions/download_and_build_libdatachannel.sh
- name: Install emsdk
run: ./bin/github-actions/install_emsdk.sh
run: ./bin/github-actions/install_emsdk.sh 3.1.64
- name: Install nbnet NPM dependencies
run: |
npm update
Expand Down
6 changes: 4 additions & 2 deletions bin/github-actions/install_emsdk.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/bin/bash

emsdk_version=$1

git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install latest
./emsdk activate latest
./emsdk install $emsdk_version
./emsdk activate $emsdk_version
source ./emsdk_env.sh
emcc -v # make sure emcc is available

0 comments on commit b0015a8

Please sign in to comment.