Skip to content

Commit

Permalink
Merge branch 'develop' into ci/cleanup_gtest
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 authored Oct 3, 2024
2 parents 686be42 + 5e242a7 commit 0707501
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 30 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build_centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
ORTOOLS_DIR: $GITHUB_WORKSPACE/or-tools
ORTOOLS_URL: "https://github.com/rte-france/or-tools-rte/releases/download/v9.11-rte1.1/ortools_cxx_centos7_static_sirius.zip"

outputs:
TGZ_NAME: ${{ steps.export_output.outputs.TGZ_NAME }}
Expand All @@ -85,10 +86,6 @@ jobs:
id: get_release
uses: bruceadams/[email protected]

- name: Config OR-Tools URL
run: |
echo "ORTOOLS_URL=https://github.com/rte-france/or-tools-rte/releases/download/v9.10-rte1.2-test-4/ortools_cxx_centos7_static_sirius.zip" >> $GITHUB_ENV
- uses: actions/checkout@v3 #Keep at 3
with:
submodules: true
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/build_oracle8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:
runs-on: ubuntu-latest
container: 'oraclelinux:8'
needs: [ versions ]

env:
ORTOOLS_DIR: $GITHUB_WORKSPACE/or-tools
ORTOOLS_URL: "https://github.com/rte-france/or-tools-rte/releases/download/v9.11-rte1.1/ortools_cxx_oraclelinux-8_static_sirius.zip"

outputs:
zip_name: ${{ steps.zip_name.outputs.zip_name }}
Expand All @@ -58,10 +58,6 @@ jobs:
source /opt/rh/gcc-toolset-11/enable
echo $PATH >> $GITHUB_PATH
- name: Config OR-Tools URL
run: |
echo "ORTOOLS_URL=https://github.com/rte-france/or-tools-rte/releases/download/v9.10-rte1.2-test-4/ortools_cxx_oraclelinux-8_static_sirius.zip" >> $GITHUB_ENV
- run: |
dnf module install -y nodejs:20/common
Expand All @@ -73,8 +69,6 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true



- name: Set up Python
run: |
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
env:
VCPKG_BINARY_SOURCES: "clear;files,${{ github.workspace }}/vcpkg_cache,readwrite"
ORTOOLS_DIR: $GITHUB_WORKSPACE/or-tools
ORTOOLS_URL: "https://github.com/rte-france/or-tools-rte/releases/download/v9.11-rte1.1/ortools_cxx_ubuntu-20.04_static_sirius.zip"

outputs:
TGZ_NAME: ${{ steps.export_output.outputs.TGZ_NAME }}
Expand All @@ -36,8 +37,6 @@ jobs:
with:
submodules: true



- name: Install mandatory system libraries
run: |
sudo apt-get update --fix-missing
Expand Down Expand Up @@ -103,10 +102,6 @@ jobs:
path: 'antares-version.json'
key: 'antares_xpansion_version'

- name: Config OR-Tools URL
run: |
echo "ORTOOLS_URL=https://github.com/rte-france/or-tools-rte/releases/download/v9.10-rte1.2-test-4/ortools_cxx_ubuntu-20.04_static_sirius.zip" >> $GITHUB_ENV
- name: Download pre-compiled librairies
uses: ./.github/workflows/download-extract-precompiled-libraries-tgz
with:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
VCPKG_BINARY_SOURCES: "clear;files,${{ github.workspace }}/vcpkg_cache,readwrite"
ORTOOLS_DIR: $GITHUB_WORKSPACE/or-tools
ORTOOLS_URL: "https://github.com/rte-france/or-tools-rte/releases/download/v9.11-rte1.1/ortools_cxx_windows-latest_static.zip"

outputs:
zip_name: ${{ steps.zip_name.outputs.zip_name }}
Expand All @@ -37,8 +38,6 @@ jobs:
steps:
- uses: actions/checkout@v4



- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -99,11 +98,6 @@ jobs:
# Allows to restore a cache when deps have only partially changed (like adding a dependency)
restore-keys: vcpkg-cache-windows-

- name: Config OR-Tools URL
shell: bash
run: |
echo "ORTOOLS_URL=https://github.com/rte-france/or-tools-rte/releases/download/v9.10-rte1.2-test-4/ortools_cxx_windows-latest_static.zip" >> $GITHUB_ENV
- run: echo ${{env.ORTOOLS_URL}}
- name: Download pre-compiled librairies
uses: ./.github/workflows/download-extract-precompiled-libraries-zip
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
env:
VCPKG_BINARY_SOURCES: "clear;files,${{ github.workspace }}/vcpkg_cache,readwrite"
ORTOOLS_DIR: $GITHUB_WORKSPACE/or-tools
ORTOOLS_URL: "https://github.com/rte-france/or-tools-rte/releases/download/v9.11-rte1.1/ortools_cxx_ubuntu-20.04_static_sirius.zip"

steps:

- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down Expand Up @@ -78,11 +78,6 @@ jobs:
path: 'antares-version.json'
key: 'antares_xpansion_version'

- name: Config OR-Tools URL
shell: bash
run: |
echo "ORTOOLS_URL=https://github.com/rte-france/or-tools-rte/releases/download/v9.10-rte1.2-test-4/ortools_cxx_ubuntu-20.04_static_sirius.zip" >> $GITHUB_ENV
- name: Download pre-compiled librairies
uses: ./.github/workflows/download-extract-precompiled-libraries-tgz
with:
Expand Down

0 comments on commit 0707501

Please sign in to comment.