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 b7269e2 commit b7dd283
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,27 @@ jobs:
- name: Install Boost via conan
run: |
cd powsybl-metrix/metrix-simulator
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
run: cmake --build build/external --parallel 2 --config Release
# 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 @@ -52,12 +56,16 @@ jobs:
-DUSE_ORTOOLS=ON
- name: Build
working-directory: metrix-simulator
run: cmake --build build --target install --parallel 2 --config Release
# 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
run: ctest -j8 --output-on-failure
# working-directory: metrix-simulator/build
run: |
cd powsybl-metrix/powsybl-metrix/metrix-simulator/build
ctest -j8 --output-on-failure
- name: Prepare metrix install
id: metrix-install
Expand Down

0 comments on commit b7dd283

Please sign in to comment.