Skip to content

Commit

Permalink
WIP Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
ErDumont committed Nov 9, 2023
1 parent b7dd283 commit 7758d7f
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,23 @@ jobs:
- name: Install Boost via conan
run: |
cd powsybl-metrix/powsybl-metrix/metrix-simulator
pip3 install conan=='1.61.0'
conan install -if build -pr:b default -pr:h default . --build missing --build outdated --settings build_type=Release
- name: Configure 3rd parties
# working-directory: metrix-simulator
working-directory: metrix-simulator
run: |
cd powsybl-metrix/powsybl-metrix/metrix-simulator
cmake -S external \
-B build/external \
-DCMAKE_BUILD_TYPE=Release
- name: Build 3rd parties
# working-directory: metrix-simulator
working-directory: metrix-simulator
run: |
cd powsybl-metrix/powsybl-metrix/metrix-simulator
cmake --build build/external --parallel 2 --config Release
- name: Configure CMake
# working-directory: metrix-simulator
working-directory: metrix-simulator
run: |
cd powsybl-metrix/powsybl-metrix/metrix-simulator
cmake -S . \
-B build \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -56,15 +52,13 @@ jobs:
-DUSE_ORTOOLS=ON
- name: Build
# working-directory: metrix-simulator
working-directory: metrix-simulator
run: |
cd powsybl-metrix/powsybl-metrix/metrix-simulator
cmake --build build --target install --parallel 2 --config Release
- name: Tests
# working-directory: metrix-simulator/build
working-directory: metrix-simulator/build
run: |
cd powsybl-metrix/powsybl-metrix/metrix-simulator/build
ctest -j8 --output-on-failure
- name: Prepare metrix install
Expand Down

0 comments on commit 7758d7f

Please sign in to comment.