diff --git a/.github/workflows/macos-10.15.yaml b/.github/workflows/macos-10.15.yaml new file mode 100644 index 0000000..80ce0df --- /dev/null +++ b/.github/workflows/macos-10.15.yaml @@ -0,0 +1,53 @@ +# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: MacOS - Catalina Build + +on: + push: + branches: [ dev, master ] + pull_request: + branches: [ dev ] + +jobs: + build: + + runs-on: macos-11 + + env: + CSC_IDENTITY_AUTO_DISCOVERY: false + USE_HARD_LINKS: false + + strategy: + matrix: + node-version: [12.x] + + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + + - run: brew install boost mpv ninja + + - run: npm install + - run: npm run collect:dylibs + - run: npm run dist:mac + # - run: npm test + - name: Upload a Build Artifact + uses: actions/upload-artifact@v2 + with: + name: dist + path: | + dist/ + !dist/mac + !dist/bundled + - name: Download test Artifact + uses: actions/upload-artifact@v2 + with: + name: mochawesome-report # optional + path: mochawesome-report/ # optional diff --git a/.github/workflows/macos.yaml b/.github/workflows/macos-11.yaml similarity index 97% rename from .github/workflows/macos.yaml rename to .github/workflows/macos-11.yaml index 37d3c9a..c3d6563 100644 --- a/.github/workflows/macos.yaml +++ b/.github/workflows/macos-11.yaml @@ -1,7 +1,7 @@ # This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions -name: MacOS Build +name: MacOS - Big Sur Build on: push: