Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/amd64_linux_bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
sed -i -e 's/\(DEFAULT_PYTHON =\) "3.[0-9]\+"/\1 "${{matrix.python.version}}"/g' MODULE.bazel
cat MODULE.bazel
- name: Restore bazel cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: bazel-cache-restore
with:
key: ${{env.cache-name}}
Expand All @@ -73,7 +73,7 @@ jobs:
- name: Test
run: bazel --output_user_root=${{env.cache-root}} test --config=ci //ortools/... //examples/...
- name: Save Bazel cache for branch main even when Build and Test fail.
uses: actions/cache/save@v4
uses: actions/cache/save@v5
# https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#restrictions-for-accessing-a-cache
if: always() && github.ref == 'refs/heads/main'
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/amd64_linux_cmake_coinor_off.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@ jobs:

# RESTORING CACHES
- name: Restore CMake dependency source code
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: deps_src_restore
with:
key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}}
path: ${{github.workspace}}/build/_deps/*-src
- name: Restore CMake dependency build
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: deps_build_restore
with:
key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}}
path: |
${{github.workspace}}/build/_deps/*-build
${{github.workspace}}/build/_deps/*-subbuild
- name: Restore CCache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: ccache_restore
with:
key: ${{env.ccache_key}}-${{github.sha}}
Expand Down Expand Up @@ -109,21 +109,21 @@ jobs:
# SAVING CACHES
- name: Save CCache
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.ccache_restore.outputs.cache-primary-key}}
path: ${{env.CCACHE_DIR}}
- name: Save CMake dependency build
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.deps_build_restore.outputs.cache-primary-key}}
path: |
${{github.workspace}}/build/_deps/*-build
${{github.workspace}}/build/_deps/*-subbuild
- name: Save CMake dependency source code
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.deps_src_restore.outputs.cache-primary-key}}
path: ${{github.workspace}}/build/_deps/*-src
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/amd64_linux_cmake_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ jobs:

# RESTORING CACHES
- name: Restore CMake dependency source code
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: deps_src_restore
with:
key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}}
path: ${{github.workspace}}/build/_deps/*-src
- name: Restore CMake dependency build
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: deps_build_restore
with:
key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}}
path: |
${{github.workspace}}/build/_deps/*-build
${{github.workspace}}/build/_deps/*-subbuild
- name: Restore CCache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: ccache_restore
with:
key: ${{env.ccache_key}}-${{github.sha}}
Expand Down Expand Up @@ -99,21 +99,21 @@ jobs:
# SAVING CACHES
- name: Save CCache
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.ccache_restore.outputs.cache-primary-key}}
path: ${{env.CCACHE_DIR}}
- name: Save CMake dependency build
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.deps_build_restore.outputs.cache-primary-key}}
path: |
${{github.workspace}}/build/_deps/*-build
${{github.workspace}}/build/_deps/*-subbuild
- name: Save CMake dependency source code
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.deps_src_restore.outputs.cache-primary-key}}
path: ${{github.workspace}}/build/_deps/*-src
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/amd64_linux_cmake_dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,21 @@ jobs:

# RESTORING CACHES
- name: Restore CMake dependency source code
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: deps_src_restore
with:
key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}}
path: ${{github.workspace}}/build/_deps/*-src
- name: Restore CMake dependency build
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: deps_build_restore
with:
key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}}
path: |
${{github.workspace}}/build/_deps/*-build
${{github.workspace}}/build/_deps/*-subbuild
- name: Restore CCache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: ccache_restore
with:
key: ${{env.ccache_key}}-${{github.sha}}
Expand Down Expand Up @@ -107,21 +107,21 @@ jobs:
# SAVING CACHES
- name: Save CCache
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.ccache_restore.outputs.cache-primary-key}}
path: ${{env.CCACHE_DIR}}
- name: Save CMake dependency build
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.deps_build_restore.outputs.cache-primary-key}}
path: |
${{github.workspace}}/build/_deps/*-build
${{github.workspace}}/build/_deps/*-subbuild
- name: Save CMake dependency source code
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.deps_src_restore.outputs.cache-primary-key}}
path: ${{github.workspace}}/build/_deps/*-src
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/amd64_linux_cmake_glpk_on.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@ jobs:

# RESTORING CACHES
- name: Restore CMake dependency source code
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: deps_src_restore
with:
key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}}
path: ${{github.workspace}}/build/_deps/*-src
- name: Restore CMake dependency build
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: deps_build_restore
with:
key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}}
path: |
${{github.workspace}}/build/_deps/*-build
${{github.workspace}}/build/_deps/*-subbuild
- name: Restore CCache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: ccache_restore
with:
key: ${{env.ccache_key}}-${{github.sha}}
Expand Down Expand Up @@ -109,21 +109,21 @@ jobs:
# SAVING CACHES
- name: Save CCache
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.ccache_restore.outputs.cache-primary-key}}
path: ${{env.CCACHE_DIR}}
- name: Save CMake dependency build
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.deps_build_restore.outputs.cache-primary-key}}
path: |
${{github.workspace}}/build/_deps/*-build
${{github.workspace}}/build/_deps/*-subbuild
- name: Save CMake dependency source code
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.deps_src_restore.outputs.cache-primary-key}}
path: ${{github.workspace}}/build/_deps/*-src
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/amd64_linux_cmake_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@ jobs:

# RESTORING CACHES
- name: Restore CMake dependency source code
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: deps_src_restore
with:
key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}}
path: ${{github.workspace}}/build/_deps/*-src
- name: Restore CMake dependency build
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: deps_build_restore
with:
key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}}
path: |
${{github.workspace}}/build/_deps/*-build
${{github.workspace}}/build/_deps/*-subbuild
- name: Restore CCache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: ccache_restore
with:
key: ${{env.ccache_key}}-${{github.sha}}
Expand Down Expand Up @@ -95,21 +95,21 @@ jobs:
# SAVING CACHES
- name: Save CCache
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.ccache_restore.outputs.cache-primary-key}}
path: ${{env.CCACHE_DIR}}
- name: Save CMake dependency build
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.deps_build_restore.outputs.cache-primary-key}}
path: |
${{github.workspace}}/build/_deps/*-build
${{github.workspace}}/build/_deps/*-subbuild
- name: Save CMake dependency source code
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.deps_src_restore.outputs.cache-primary-key}}
path: ${{github.workspace}}/build/_deps/*-src
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/amd64_linux_cmake_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,21 @@ jobs:

# RESTORING CACHES
- name: Restore CMake dependency source code
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: deps_src_restore
with:
key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}}
path: ${{github.workspace}}/build/_deps/*-src
- name: Restore CMake dependency build
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: deps_build_restore
with:
key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}}
path: |
${{github.workspace}}/build/_deps/*-build
${{github.workspace}}/build/_deps/*-subbuild
- name: Restore CCache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: ccache_restore
with:
key: ${{env.ccache_key}}-${{github.sha}}
Expand Down Expand Up @@ -110,21 +110,21 @@ jobs:
# SAVING CACHES
- name: Save CCache
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.ccache_restore.outputs.cache-primary-key}}
path: ${{env.CCACHE_DIR}}
- name: Save CMake dependency build
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.deps_build_restore.outputs.cache-primary-key}}
path: |
${{github.workspace}}/build/_deps/*-build
${{github.workspace}}/build/_deps/*-subbuild
- name: Save CMake dependency source code
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.deps_src_restore.outputs.cache-primary-key}}
path: ${{github.workspace}}/build/_deps/*-src
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/amd64_linux_cmake_scip_off.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@ jobs:

# RESTORING CACHES
- name: Restore CMake dependency source code
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: deps_src_restore
with:
key: ${{env.deps_src_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}}
path: ${{github.workspace}}/build/_deps/*-src
- name: Restore CMake dependency build
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: deps_build_restore
with:
key: ${{env.deps_build_key}}-${{hashFiles('CMakeLists.txt', 'cmake/**')}}
path: |
${{github.workspace}}/build/_deps/*-build
${{github.workspace}}/build/_deps/*-subbuild
- name: Restore CCache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: ccache_restore
with:
key: ${{env.ccache_key}}-${{github.sha}}
Expand Down Expand Up @@ -109,21 +109,21 @@ jobs:
# SAVING CACHES
- name: Save CCache
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.ccache_restore.outputs.cache-primary-key}}
path: ${{env.CCACHE_DIR}}
- name: Save CMake dependency build
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.deps_build_restore.outputs.cache-primary-key}}
path: |
${{github.workspace}}/build/_deps/*-build
${{github.workspace}}/build/_deps/*-subbuild
- name: Save CMake dependency source code
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
key: ${{steps.deps_src_restore.outputs.cache-primary-key}}
path: ${{github.workspace}}/build/_deps/*-src
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/amd64_macos_bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
sed -i '' -e 's/\(DEFAULT_PYTHON =\) "3.[0-9]*"/\1 "${{matrix.python.version}}"/g' MODULE.bazel
cat MODULE.bazel
- name: Restore bazel cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: bazel-cache-restore
with:
key: ${{env.cache-name}}
Expand All @@ -67,7 +67,7 @@ jobs:
- name: Test
run: bazel --output_user_root=${{env.cache-root}} test --config=ci //ortools/... //examples/...
- name: Save Bazel cache for branch main even when Build and Test fail.
uses: actions/cache/save@v4
uses: actions/cache/save@v5
# https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#restrictions-for-accessing-a-cache
if: always() && github.ref == 'refs/heads/main'
with:
Expand Down
Loading