Added separated macos builds

This commit is contained in:
Kylart 2021-10-26 01:58:06 +02:00
parent 7813157670
commit 084379a426
2 changed files with 54 additions and 1 deletions

53
.github/workflows/macos-10.15.yaml vendored Normal file
View File

@ -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

View File

@ -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: