Merge branch 'main' of https://github.com/dongzgh/vis.paraflow #92
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: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: # Enables manual trigger | |
jobs: | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up CMake | |
uses: lukka/get-cmake@latest | |
- name: Set up Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
version: '6.8.1' | |
host: 'windows' | |
target: 'desktop' | |
arch: 'win64_msvc2022_64' | |
- name: Configure CMake | |
run: cmake -S . -B build | |
- name: Build | |
run: cmake --build build | |
build-macos: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up CMake | |
uses: lukka/get-cmake@latest | |
- name: Set up Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
version: '6.8.1' | |
host: 'mac' | |
target: 'desktop' | |
arch: 'clang_64' | |
- name: Configure CMake | |
run: cmake -S . -B build | |
- name: Build | |
run: cmake --build build | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up CMake | |
uses: lukka/get-cmake@latest | |
- name: Set up Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
version: '6.8.1' | |
host: 'linux' | |
target: 'desktop' | |
arch: 'linux_gcc_64' | |
- name: Configure CMake | |
run: cmake -S . -B build | |
- name: Build | |
run: cmake --build build |