update #19
Workflow file for this run
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
name: CI | |
on: | |
push: | |
branches: | |
- "macosbuild" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
#linux-dockerized: | |
macos: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-11, macos-12, macos-13] | |
build_type: [Release] | |
qt_version: [6.5.2] #6.2.4 | |
c_compiler: [clang] #gcc, | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Qt dependencies | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: ${{ matrix.qt_version }} | |
cache: true | |
modules: 'qtscxml' | |
- name: Install dependencies using HomeBrew | |
run : brew install pybind11 libqalculate muparser libarchive | |
- name: Get latest CMake and ninja | |
uses: lukka/get-cmake@latest | |
- name: Run CMake | |
run: cmake -S . -B build | |
- name: Build | |
run: cmake --build build | |
# build: | |
# runs-on: macos-12 | |
# steps: | |
# - uses: jurplel/install-qt-action@v3 | |
# with: | |
# version: '6.2.4' | |
# # host: 'windows' | |
# # target: 'desktop' | |
# # arch: 'win64_msvc2019_64' | |
# # dir: '${{ github.workspace }}/example/' | |
# # install-deps: 'true' | |
# # modules: 'qtcharts qtwebengine' | |
# # archives: 'qtbase qtsvg' | |
# # cache: 'false' | |
# # cache-key-prefix: 'install-qt-action' | |
# # setup-python: 'true' | |
# # tools: 'tools_ifw tools_qtcreator,qt.tools.qtcreator' | |
# # set-env: 'true' | |
# # tools-only: 'false' | |
# # aqtversion: '==3.1.*' | |
# # py7zrversion: '==0.20.*' | |
# # extra: '--external 7z' | |
# - uses: actions/checkout@v3 | |
# with: | |
# submodules: recursive | |
# - uses: lukka/get-cmake@latest | |