forked from emscripten-core/setup-emsdk
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (45 loc) · 1.06 KB
/
run.yml
File metadata and controls
50 lines (45 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: "Run"
on:
push:
branches:
- "master"
jobs:
defaults:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: mymindstorm/setup-emsdk@master
- name: Verify
run: emcc -v
actions-use-cache-test:
runs-on: ubuntu-latest
steps:
- name: Setup emsdk (use cache if found, create otherwise)
uses: mymindstorm/setup-emsdk@master
with:
version: 2.0.20
actions-cache-folder: 'emsdk-cache-folder'
no-cache: true
- name: Verify
run: emcc -v
no-install:
runs-on: ubuntu-latest
steps:
- uses: mymindstorm/setup-emsdk@master
with:
no-install: true
- name: Verify
run: emsdk list
tot:
runs-on: ubuntu-latest
steps:
- name: Setup emsdk (use cache if found, create otherwise)
uses: mymindstorm/setup-emsdk@master
with:
version: tot
no-cache: true
update-tags: true
- name: Verify
run: emcc -v