Use a publisehd action for setting up emscripten on CI

This commit is contained in:
Max Brunsfeld 2021-01-11 14:21:52 -08:00
parent ea8a2dcb8e
commit f94d67b42a

View file

@ -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