Skip to content

Try to upload artifact on release #3

Try to upload artifact on release

Try to upload artifact on release #3

Workflow file for this run

name: Continuous

Check failure on line 1 in .github/workflows/continuous.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/continuous.yml

Invalid workflow file

`tags` is not a valid event name
on: [push, 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 }}
- name: CMake Build
run: cmake --build build --parallel
- name: Run executable
run: build/delete_face_addon model=build/catorus.geogram facet_index=0
- name: Deploy
run: gh release upload $GITHUB_REF build/delete_face_addon%#%delete_face_addon_${{ matrix.cfg.os }}
if: ${{ github.event_name == 'tags' }}
windows-msvc:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Configure CMake
run: cmake -B build
- name: Release build
run: cmake --build build --parallel --config Release
- name: Release run
run: build/Release/delete_face_addon.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_face_addon.exe model=build/catorus.geogram facet_index=0