Skip to content

CI: Run macos pipeline on arm64 #314

CI: Run macos pipeline on arm64

CI: Run macos pipeline on arm64 #314

Workflow file for this run

name: macos
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
qt_version: [5.15.2]
platform: [macos-latest]
arch: [x64, arm64]
fail-fast: false
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Installing Qt
uses: jurplel/[email protected]
with:
version: ${{ matrix.qt_version }}
arch: ${{ matrix.qtarch }}
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Build GUI
shell: bash
run: |
mkdir build-gui
cd build-gui
cmake ..
cmake --build . --parallel
ctest --output-on-failure
- name: Build CLI
shell: bash
run: |
mkdir build-cli
cd build-cli
cmake -DBUILD_CLI:BOOL=ON ..
cmake --build . --parallel
ctest --output-on-failure