generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 27
47 lines (42 loc) · 1.07 KB
/
run.yml
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
name: "Run"
on: [pull_request, push]
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