Skip to content

Commit

Permalink
style(ci): fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
GoetzGoerisch authored and jpfr committed Feb 25, 2024
1 parent ffc4b09 commit f6432e1
Showing 1 changed file with 29 additions and 19 deletions.
48 changes: 29 additions & 19 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: WindowsBuildOnly

on:
Expand All @@ -15,26 +16,35 @@ env:

jobs:
build:
# 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.
# 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
- 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

0 comments on commit f6432e1

Please sign in to comment.