macOS Intel Release #56
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: macOS Intel Release | |
on: | |
workflow_dispatch: | |
branches: [ "master" ] | |
env: | |
SOURCE_DIR: ${{ github.workspace }}/platform | |
QTDIR: /usr/local/Cellar/qt@5/5.15.13/bin | |
ARTIFACT: ${{ github.workspace }}/platform/build/MLV\ App.dmg | |
jobs: | |
build: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@master | |
- name: Install llvm & Qt & OpenSSL | |
continue-on-error: true | |
uses: ConorMacBride/[email protected] | |
with: | |
brew: llvm qt5 openssl | |
- name: Create build directory | |
run: mkdir ${{ env.SOURCE_DIR }}/build | |
- name: Build | |
working-directory: ${{ env.SOURCE_DIR }}/build | |
run: | | |
${{ env.QTDIR }}/qmake -r ${{ env.SOURCE_DIR }}/qt/MLVApp.pro | |
make -j8 | |
ls -al | |
${{ env.QTDIR }}/macdeployqt MLV\ App.app -dmg | |
- name: Save build artifact | |
uses: actions/upload-artifact@master | |
with: | |
name: MLVApp macOS Intel | |
path: ${{ env.ARTIFACT }} |