update #10
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" | |
jobs: | |
#linux-dockerized: | |
macos: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ macos-13] #macos-11, macos-12, | |
build_type: [Release] | |
qt_version: [6.2.4] | |
c_compiler: [clang] #gcc, | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: ${{ matrix.qt_version }} | |
cache: true | |
modules: 'qtscxml' | |
- 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 | |