MeshBuilder generates Shape list. #42
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, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
name: ${{ matrix.os }} - ${{ matrix.buildPreset }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
configurePreset: [ GCC, visual-studio-17-2022 ] | |
buildPreset: [ msvc-debug, msvc-release, g++-release, g++-debug ] | |
exclude: | |
- os: ubuntu-latest | |
configurePreset: visual-studio-17-2022 | |
- os: ubuntu-latest | |
buildPreset: msvc-debug | |
- os: ubuntu-latest | |
buildPreset: msvc-release | |
- os: windows-latest | |
configurePreset: GCC | |
- os: windows-latest | |
buildPreset: g++-debug | |
- os: windows-latest | |
buildPreset: g++-release | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Dependencies (Linux) | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt update | |
sudo apt install libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev libgl1-mesa-dev ninja-build -y gcc-13 g++-13 | |
pip install jinja2 | |
- name: Install Dependencies (Windows) | |
if: matrix.os == 'windows-latest' | |
run: | | |
pip install jinja2 | |
choco install ninja | |
- name: Configure CMake (non-GCC) | |
if: matrix.configurePreset != 'GCC' | |
run: cmake --preset "${{ matrix.configurePreset }}" | |
- name: Configure CMake (GCC) | |
if: matrix.configurePreset == 'GCC' | |
run: cmake --preset "${{ matrix.configurePreset }}" -DCMAKE_C_COMPILER=gcc-13 -DCMAKE_CXX_COMPILER=g++-13 | |
- name: Build | |
run: cmake --build . --preset "${{ matrix.buildPreset }}" | |
working-directory: ${{github.workspace}} |