diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 0deb26e0..06e69f53 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 0936718f..1a4cd37e 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 3a37d368..ab8eefbe 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 b236ca39..bdef6a5d 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 5178e044..f22a25a4 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 77926ddf..23bb01fb 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 042bf3a7..2bfcc580 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 5473b9cc..2b74cf7f 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 08f1de6d..40248164 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 536293fb..7fb41976 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 f524b0d1..76a971f6 100644 --- a/.github/workflows/windows_unit_tests.yml +++ b/.github/workflows/windows_unit_tests.yml @@ -30,7 +30,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