Update build-macos.yml
This commit is contained in:
@@ -12,8 +12,8 @@ env:
|
||||
BUILD_TYPE: Release
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-latest
|
||||
build-arm64:
|
||||
runs-on: macos-14
|
||||
|
||||
defaults:
|
||||
run:
|
||||
@@ -34,5 +34,30 @@ jobs:
|
||||
- name: Upload app
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: 'mac-build'
|
||||
name: 'mac-build-arm64'
|
||||
path: '${{github.workspace}}/build/snorain-imager.app*'
|
||||
|
||||
build-x86:
|
||||
runs-on: macos-13
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: src
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v3
|
||||
|
||||
- name: Configure CMake
|
||||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||
|
||||
- name: Build
|
||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||
|
||||
- name: Upload app
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: 'mac-build-x86'
|
||||
path: '${{github.workspace}}/build/snorain-imager.app*'
|
||||
|
||||
Reference in New Issue
Block a user