Skip to content

Commit

Permalink
Github action update
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhjp01 committed Feb 14, 2024
1 parent 8792d22 commit 045f13a
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ jobs:
- name: Install dependencies
run: conan install --build=missing --output-folder=build -s build_type=${{ matrix.build_type }} .
- name: Generate build system
run: cmake -S . -B build \
-DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DPROXYFMU_BUILD_EXAMPLES=ON \
-DPROXYFMU_BUILD_TESTS=ON
run: >
cmake -S . -B build
-DCMAKE_TOOLCHAIN_FILE=build/conan_toolchain.cmake
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-DPROXYFMU_BUILD_EXAMPLES=ON
-DPROXYFMU_BUILD_TESTS=ON
- name: Build
run: cd build && cmake --build .
- name: Test
Expand Down Expand Up @@ -61,11 +62,12 @@ jobs:
- name: Install dependencies
run: conan install --build=missing --output-folder=build -s build_type=${{ matrix.build_type }} .
- name: Generate build system
run: cmake -S . -B build \
-DCMAKE_TOOLCHAIN_FILE=build/conan_toolchain.cmake \
-DCMAKE_POLICY_DEFAULT_CMP0091=NEW \
-DPROXYFMU_BUILD_EXAMPLES=ON \
-DPROXYFMU_BUILD_TESTS=ON
run: >
cmake -S . -B build
-DCMAKE_TOOLCHAIN_FILE=build/conan_toolchain.cmake
-DCMAKE_POLICY_DEFAULT_CMP0091=NEW
-DPROXYFMU_BUILD_EXAMPLES=ON
-DPROXYFMU_BUILD_TESTS=ON
- name: Build
run: cd build && cmake --build . --config ${{ matrix.build_type }}
- name: Test
Expand Down

0 comments on commit 045f13a

Please sign in to comment.