-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50ee1c6
commit f2d5da7
Showing
1 changed file
with
14 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
name: Build packages | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
outputs: | ||
package_mac_intel: | ||
|
@@ -15,24 +16,30 @@ jobs: | |
package_name: ${{ steps.name_pkg.outputs.package_name }} | ||
timeout-minutes: 240 | ||
env: | ||
QT_VERSION: "6.6.1" | ||
MACOSX_DEPLOYMENT_TARGET: "12.7" | ||
QT_VERSION: "6.7.2" | ||
EXTRA_CMAKE_FLAGS: "-DCMAKE_BUILD_TYPE=Release -DVC_PREBUILT_LIBS=ON -DVC_BUILD_ACVD=ON" | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3.3.0 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 20 | ||
|
||
- name: Use the Command Line Tools | ||
run: | | ||
sudo xcode-select -s /Library/Developer/CommandLineTools | ||
- name: Install Homebrew dependencies | ||
run: | | ||
brew update | ||
brew unlink libtiff | ||
brew install ninja [email protected] | ||
brew upgrade | ||
brew unlink libtiff python | ||
brew install ninja [email protected] | ||
- name: Install Qt6 | ||
run: | | ||
python3.10 -m pip install --upgrade pip setuptools wheel | ||
python3.10 -m pip install aqtinstall | ||
python3.11 -m pip install --upgrade pip setuptools wheel | ||
python3.11 -m pip install aqtinstall | ||
aqt install-qt -O ${{ github.workspace }}/Qt/ mac desktop ${QT_VERSION} | ||
- name: Install vc-deps | ||
|
@@ -63,7 +70,7 @@ jobs: | |
- name: Create package | ||
run: | | ||
cmake --install build/ --prefix "${{ env.install_dir }}" | ||
python3.10 utils/scripts/macos_codesign_release.py -i "${{ env.install_dir }}" | ||
python3.11 utils/scripts/macos_codesign_release.py -i "${{ env.install_dir }}" | ||
ditto -c -k "${{ env.install_dir }}" ${{ env.package_name }} | ||
- name: Upload artifacts | ||
|