Build and test 073f0928e09b7056d6b30ac6e48802ebd88cdd29 #50
This file contains 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: build-and-test | |
run-name: Build and test ${{ github.sha }} | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- uses: mymindstorm/setup-emsdk@v12 | |
with: | |
version: 3.1.43 | |
actions-cache-folder: 'cache-emsdk' | |
- uses: actions/cache@v3 | |
name: Cache dependencies | |
with: | |
key: cache-dependencies-${{ hashFiles('mk/*') }} | |
path: build/*.tar* | |
- run: make extract | |
#- uses: bhowell2/[email protected] | |
# id: sha | |
# with: | |
# value: ${{ github.sha }} | |
# length_from_start: 7 | |
#- run: make release -j9 LIBAVJS_VERSION_SUFFIX=-${{ steps.sha.outputs.substring }} | |
#- uses: actions/upload-artifact@v3 | |
# with: | |
# name: build | |
# path: libav.js-*.zip | |
- run: npm test |