Skip to content

Commit

Permalink
(gh) Tweak build packages
Browse files Browse the repository at this point in the history
  • Loading branch information
csparker247 committed Aug 8, 2024
1 parent 50ee1c6 commit f2d5da7
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/build_packages.yml
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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f2d5da7

Please sign in to comment.