Rename master branch to main (#57) #123
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Run" | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| jobs: | |
| defaults: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| steps: | |
| - uses: emscripten-core/setup-emsdk@main | |
| - name: Verify | |
| run: emcc -v | |
| actions-use-cache-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup emsdk (use cache if found, create otherwise) | |
| uses: emscripten-core/setup-emsdk@main | |
| with: | |
| version: 4.0.9 | |
| actions-cache-folder: 'emsdk-cache-folder' | |
| no-cache: true | |
| - name: Verify | |
| run: emcc -v | |
| no-install: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: emscripten-core/setup-emsdk@main | |
| 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: emscripten-core/setup-emsdk@main | |
| with: | |
| version: tot | |
| no-cache: true | |
| update-tags: true | |
| - name: Verify | |
| run: emcc -v |