Use a publisehd action for setting up emscripten on CI
This commit is contained in:
parent
ea8a2dcb8e
commit
f94d67b42a
1 changed files with 5 additions and 2 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -31,6 +31,7 @@ jobs:
|
|||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
emsdk-cache
|
||||
target
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
|
||||
|
||||
|
|
@ -42,8 +43,10 @@ jobs:
|
|||
override: true
|
||||
|
||||
- name: Install emscripten
|
||||
run: eval $(script/fetch-emscripten)
|
||||
if: matrix.os == 'macos-latest'
|
||||
uses: mymindstorm/setup-emsdk@v7
|
||||
with:
|
||||
version: 2.0.11
|
||||
actions-cache-folder: emsdk-cache
|
||||
|
||||
- name: Build C library
|
||||
run: make
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue