-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
8.5.0-beta13 (03/2024) -------------------- * Use OR-Tools v9.8-rte1.0 (performance improvements with OR-Tools + XPRESS) **Full Changelog**: v8.6.4...v8.6.5 --------- Co-authored-by: Florian Omnès <[email protected]>
- Loading branch information
Showing
31 changed files
with
157 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ on: | |
- main | ||
- develop | ||
- release/* | ||
pull_request: | ||
|
||
jobs: | ||
sonarcloud: | ||
|
@@ -22,51 +21,24 @@ jobs: | |
# https://sonarcloud.io/documentation/analysis/scan/sonarscanner/ | ||
SONAR_SERVER_URL: "https://sonarcloud.io" | ||
ORTOOLS_DIR: ${{ github.workspace }}/or-tools | ||
ORTOOLS_URL: "https://github.com/rte-france/or-tools/releases/download/v9.2-rte1.7/ortools_cxx_ubuntu-20.04_static_sirius.zip" | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | ||
|
||
- name: Config OR-Tools URL | ||
run: | | ||
echo "ORTOOLS_URL=https://github.com/rte-france/or-tools/releases/download/$(cat ortools_tag)/ortools_cxx_ubuntu-20.04_static_sirius.zip" >> $GITHUB_ENV | ||
- name: Install sonar-scanner and build-wrapper | ||
uses: SonarSource/sonarcloud-github-c-cpp@v2 | ||
|
||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: sonarcloud-${{ env.SONAR_SCANNER_VERSION }} | ||
|
||
- name: Cache SonarCloud packages and analysis | ||
uses: actions/cache@v3 | ||
id: sonarcloud-cache | ||
with: | ||
path: ~/.sonar | ||
key: ${{ runner.os }}-sonar-${{ env.SONAR_SCANNER_VERSION }} | ||
restore-keys: ${{ runner.os }}-sonar-${{ env.SONAR_SCANNER_VERSION }} | ||
|
||
- name: Download and setup sonar-scanner | ||
shell: bash | ||
env: | ||
SONAR_SCANNER_DOWNLOAD_URL: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${{ env.SONAR_SCANNER_VERSION }}-linux.zip | ||
if: steps.sonarcloud-cache.outputs.cache-hit != 'true' | ||
run: | | ||
mkdir -p $HOME/.sonar | ||
curl -sSLo $HOME/.sonar/sonar-scanner.zip ${{ env.SONAR_SCANNER_DOWNLOAD_URL }} | ||
unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/ | ||
- name: Download and setup build-wrapper | ||
shell: bash | ||
env: | ||
BUILD_WRAPPER_DOWNLOAD_URL: ${{ env.SONAR_SERVER_URL }}/static/cpp/build-wrapper-linux-x86.zip | ||
if: steps.sonarcloud-cache.outputs.cache-hit != 'true' | ||
run: | | ||
curl -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip ${{ env.BUILD_WRAPPER_DOWNLOAD_URL }} | ||
unzip -o $HOME/.sonar/build-wrapper-linux-x86.zip -d $HOME/.sonar/ | ||
- name: Set build-wrapper and sonar-scanner paths | ||
run: | | ||
echo "$HOME/.sonar/build-wrapper-linux-x86" >> $GITHUB_PATH | ||
echo "$HOME/.sonar/sonar-scanner-${{ env.SONAR_SCANNER_VERSION }}-linux/bin" >> $GITHUB_PATH | ||
- name: Install libraries | ||
run: | | ||
sudo apt-get update | ||
|
@@ -113,7 +85,7 @@ jobs: | |
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ | ||
-DDEPS_INSTALL_DIR=./rte-antares-deps-Debug \ | ||
-DCODE_COVERAGE=ON \ | ||
-DCMAKE_BUILD_TYPE=debug \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_PREFIX_PATH="../install;${{ env.ORTOOLS_DIR }}/install" \ | ||
-DBUILD_TESTING=ON \ | ||
-DMZ_CODE_COVERAGE=ON \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,15 +29,14 @@ jobs: | |
# Indicates the location of the vcpkg as a Git submodule of the project repository. | ||
VCPKG_ROOT: ${{ github.workspace }}/vcpkg | ||
ORTOOLS_DIR: ${{ github.workspace }}/or-tools | ||
ORTOOLS_URL: "https://github.com/rte-france/or-tools/releases/download/v9.2-rte2.1/ortools_cxx_windows-latest_static_sirius.zip" | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Get release | ||
id: get_release | ||
uses: bruceadams/[email protected] | ||
|
||
- name: Config OR-Tools URL | ||
run: | | ||
echo "ORTOOLS_URL=https://github.com/rte-france/or-tools/releases/download/$(cat ortools_tag)/ortools_cxx_windows-latest_static_sirius.zip" >> $GITHUB_ENV | ||
shell: bash | ||
|
||
- name: Pre-requisites | ||
shell: cmd | ||
|
@@ -116,7 +115,7 @@ jobs: | |
-DCMAKE_PREFIX_PATH="${{env.ORTOOLS_DIR}}/install" \ | ||
-DVCPKG_ROOT="${{env.VCPKG_ROOT}}" \ | ||
-DVCPKG_TARGET_TRIPLET=${{ matrix.triplet }} \ | ||
-DCMAKE_BUILD_TYPE=release \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DBUILD_TESTING=ON \ | ||
-DBUILD_not_system=OFF | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v9.2-rte2.1 | ||
v9.8-rte1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.