Skip to content

feat(ci): updates actions versions #416

feat(ci): updates actions versions

feat(ci): updates actions versions #416

Workflow file for this run

---
name: WindowsBuildOnly
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
permissions: read-all
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
# yamllint disable rule:line-length
# The CMake configure and build commands are platform agnostic and should
# work equally well on Windows or Mac. You can convert this to a matrix
# build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
# yamllint enable rule:line-length
runs-on: windows-2019
steps:
- name: Install conan
run: pip install conan==1.59.0
- uses: actions/checkout@v4
with:
path: ./nodesetLoader
- uses: ilammy/msvc-dev-cmd@v1
- name: Build nodesetLoader
run: |
cd ./nodesetLoader && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_TESTING=ON \
-DENABLE_CONAN=ON . && \
cmake --build .
- name: Test
shell: cmd
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html
# for more detail
run: cd ./nodesetLoader && ctest -C Debug --verbose