Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ICTylor authored Aug 15, 2024
1 parent 6cdf3a4 commit 7a2b9f4
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
name: "emsdk"
on: workflow_dispatch

env:
EM_VERSION: 3.1.65
EM_CACHE_FOLDER: 'emsdk-cache'

jobs:
build:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup cache
id: cache-system-libraries
uses: actions/cache@v4
with:
path: ${{env.EM_CACHE_FOLDER}}
key: ${{env.EM_VERSION}}-${{ runner.os }}
- uses: mymindstorm/setup-emsdk@v14

- name: Verify
run: emcc -v
with:
version: ${{env.EM_VERSION}}
actions-cache-folder: ${{env.EM_CACHE_FOLDER}}
- name: Make release
run: make emscripten_release

0 comments on commit 7a2b9f4

Please sign in to comment.