Change parameter type to attribute type #32
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: Continuous | |
on: | |
push: | |
create: | |
tags: | |
jobs: | |
linux-mac: | |
strategy: | |
matrix: | |
cfg: [{os: ubuntu-latest, cxx: g++-12}, | |
{os: ubuntu-latest, cxx: g++-9}, | |
{os: macos-latest, cxx: clang++}] | |
config: [Release, Debug] | |
runs-on: ${{ matrix.cfg.os }} | |
env: | |
CXX: ${{ matrix.cfg.cxx }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Configure CMake | |
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DOSName=${{ matrix.cfg.os }} | |
- name: CMake Build | |
run: cmake --build build --parallel | |
- name: Run executable | |
run: build/delete_facet_addon_${{ matrix.cfg.os }} model=build/catorus.geogram facet_index=0 | |
- | |
name: Deploy | |
uses: xresloader/upload-to-github-release@v1 | |
with: | |
tags: true | |
draft: false | |
file: build/delete_facet_addon_${{ matrix.cfg.os }};build/smoother_addon_${{ matrix.cfg.os }} | |
overwrite: false | |
update_latest_release: true | |
verbose: true | |
windows-msvc: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Configure CMake | |
run: cmake -B build -DOSName=win | |
- name: Release build | |
run: cmake --build build --parallel --config Release | |
- name: Release run | |
run: build/Release/delete_facet_addon_win.exe model=build/catorus.geogram facet_index=0 | |
- name: Debug build | |
run: cmake --build build --parallel --config Debug | |
- name: Debug run | |
run: build/Debug/delete_facet_addon_win.exe model=build/catorus.geogram facet_index=0 | |
- | |
name: Deploy | |
uses: xresloader/upload-to-github-release@v1 | |
with: | |
tags: true | |
draft: false | |
file: build/Release/delete_facet_addon_win.exe;build/Release/smoother_addon_win.exe | |
overwrite: true | |
update_latest_release: true | |
verbose: true |