diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 7c6aa5642..3846df1b0 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -17,7 +17,7 @@ jobs: - name : installPackages run : sudo apt-get update && sudo apt-get install --no-install-recommends --yes libgsl-dev libeigen3-dev libnlopt-dev libnlopt-cxx-dev libboost-all-dev libbenchmark-dev - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: cmake run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release diff --git a/.github/workflows/benchmark_on_pr.yml b/.github/workflows/benchmark_on_pr.yml index 491bb57d0..0357c0160 100644 --- a/.github/workflows/benchmark_on_pr.yml +++ b/.github/workflows/benchmark_on_pr.yml @@ -22,7 +22,7 @@ jobs: - name : installPackages run : sudo apt-get update && sudo apt-get install --no-install-recommends --yes libgsl-dev libeigen3-dev libnlopt-dev libnlopt-cxx-dev libboost-all-dev libbenchmark-dev - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: cmake run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release diff --git a/.github/workflows/build-mac.yml b/.github/workflows/build-mac.yml index fbbf75772..a64f75882 100644 --- a/.github/workflows/build-mac.yml +++ b/.github/workflows/build-mac.yml @@ -20,7 +20,7 @@ jobs: - name: installPackages run: brew install eigen && brew install gsl && brew install nlopt && brew install boost && brew install libomp && brew install nlohmann-json - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: cmake run: mkdir build && cd build && cmake .. diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5013384a9..4bf8d86cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: - name : installPackages run : sudo apt-get install --no-install-recommends --yes libgsl-dev libeigen3-dev libnlopt-dev libnlopt-cxx-dev libboost-all-dev nlohmann-json3-dev - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: cmake run: mkdir build && cd build && cmake .. diff --git a/.github/workflows/build_on_windows.yml b/.github/workflows/build_on_windows.yml index 040b6f302..b6436e8c2 100644 --- a/.github/workflows/build_on_windows.yml +++ b/.github/workflows/build_on_windows.yml @@ -26,7 +26,7 @@ jobs: - name: Refresh Shell run: refreshenv - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: cmake run: cmake -S . -B build -DUseConan=On -DCMAKE_BUILD_TYPE=Release diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index fe305914c..bfacf3503 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -33,7 +33,7 @@ jobs: - name : installPackages run : sudo apt-get update && sudo apt-get install --no-install-recommends --yes libgsl-dev libeigen3-dev libnlopt-dev libnlopt-cxx-dev libboost-all-dev lcov - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: cmake run: mkdir build && cd build && cmake .. -DEnableCoverage=On diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 61513e687..8d2c606e2 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -42,7 +42,7 @@ jobs: if: matrix.language == 'cpp' - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores if: matrix.language == 'cpp' - name: cmake diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index f2fab6ee4..bcad13eb7 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -20,7 +20,7 @@ jobs: - name: installPackages run: sudo apt-get install --no-install-recommends --yes libgsl-dev libeigen3-dev libnlopt-cxx-dev libboost-all-dev doxygen - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: cmake run: mkdir build && cd build && cmake .. && cmake --build . -j${{ steps.cpu-cores.outputs.count }} -t doc diff --git a/.github/workflows/test-mac.yml b/.github/workflows/test-mac.yml index c779b53c0..ea569c504 100644 --- a/.github/workflows/test-mac.yml +++ b/.github/workflows/test-mac.yml @@ -24,7 +24,7 @@ jobs: - name : installPackages run : brew install eigen gsl nlopt boost libomp nlohmann-json - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: cmake run: mkdir build && cd build && cmake .. @@ -44,7 +44,7 @@ jobs: - name : installPackages run : brew install eigen gsl boost libomp nlohmann-json - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: cmake run: mkdir buildNoNLOPT && cd buildNoNLOPT && cmake .. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ddb279532..0e4490ab5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: - name : installPackages run : sudo apt-get update && sudo apt-get install --no-install-recommends --yes libgsl-dev libeigen3-dev libnlopt-dev libnlopt-cxx-dev libboost-all-dev - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: cmake run: mkdir build && cd build && cmake .. @@ -44,7 +44,7 @@ jobs: - name : installPackages run : sudo apt-get update && sudo apt-get install --no-install-recommends --yes libgsl-dev libeigen3-dev libboost-all-dev - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: cmake run: mkdir buildNoNLOPT && cd buildNoNLOPT && cmake .. diff --git a/.github/workflows/windows_unit_tests.yml b/.github/workflows/windows_unit_tests.yml index 9856b74b1..86d3177ed 100644 --- a/.github/workflows/windows_unit_tests.yml +++ b/.github/workflows/windows_unit_tests.yml @@ -28,7 +28,7 @@ jobs: - name: Install conan run: pip install conan<2.0 - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: cmake run: cmake -S . -B build -DUseConan=On -DCMAKE_BUILD_TYPE=Release