ci: add debug message #17
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++-9}, | |
{os: macos-latest, cxx: clang++}] | |
# config: [Release, Debug] | |
config: [Release] | |
runs-on: ${{ matrix.cfg.os }} | |
env: | |
CXX: ${{ matrix.cfg.cxx }} | |
steps: | |
- uses: actions/checkout@v4 | |
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 - entrypoint_exec | |
run: build/entrypoint_exec_${{ matrix.cfg.os }}_addon path=mesh/quarterdisk_tri.mesh | |
- name: Create archive | |
run: tar -czvf tri2quadmesh_${{ matrix.cfg.os }}.tar.gz build/entrypoint_exec_${{ matrix.cfg.os }}_addon build/lib/* | |
- | |
name: Deploy | |
uses: xresloader/upload-to-github-release@v1 | |
with: | |
tags: true | |
draft: false | |
file: tri2quadmesh_${{ matrix.cfg.os }}.tar.gz | |
overwrite: true | |
update_latest_release: true | |
verbose: true | |
windows-msvc: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
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/entrypoint_exec_win_addon.exe path=mesh/quarterdisk_tri.mesh | |
- name: Debug build | |
run: cmake --build build --parallel --config Debug | |
- name: Debug run - delete facet | |
run: build/Debug/entrypoint_exec_win_addon.exe path=mesh/quarterdisk_tri.mesh | |
- | |
name: Deploy | |
uses: xresloader/upload-to-github-release@v1 | |
with: | |
tags: true | |
draft: false | |
file: build/Release/entrypoint_exec_win_addon.exe; | |
overwrite: true | |
update_latest_release: true | |
verbose: true |