Skip to content

Commit

Permalink
ci: try build for arm apple cpus
Browse files Browse the repository at this point in the history
  • Loading branch information
variar committed Nov 18, 2024
1 parent 7137619 commit f1ebc17
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/actions/agent-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ runs:
key: ${{ matrix.config.os }}-${{ matrix.config.arch }}-${{ matrix.config.qt_version }}-QtCache

- name: Install Qt
if: ${{ matrix.config.qt_arch }}
uses: jurplel/install-qt-action@v3
with:
version: ${{ matrix.config.qt_version }}
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,15 @@ jobs:
- os: macos
os_version: 13
qt_version: 6.7.3
qt_modules: qt5compat
arch: x64
artifacts_id: macos-qt6
artifacts_id: macos-intel-qt6
cmake_opts: -DKLOGG_OSX_DEPLOYMENT_TARGET=13.0
- os: macos
os_version: 14
qt_version: 6.7.3
arch: arm64
artifacts_id: macos-arm-qt6
cmake_opts: -DKLOGG_OSX_DEPLOYMENT_TARGET=14.0

runs-on: ${{ matrix.config.os }}-${{ matrix.config.os_version }}
steps:
Expand All @@ -172,7 +177,8 @@ jobs:
- name: Brew deps
run: |
brew install ragel
brew install ragel qt6
echo "Qt6_Dir=$HOMEBREW_PREFIX/opt/qt@6" >> $GITHUB_ENV
- uses: ./.github/actions/agent-setup
- uses: ./.github/actions/klogg-version
Expand Down

0 comments on commit f1ebc17

Please sign in to comment.