Skip to content

Commit

Permalink
ci: CMake: Bump actions
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberTailor committed May 5, 2024
1 parent f818ae2 commit 60e0871
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/cmake-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ jobs:
-DSYSTEM_UNIVALUE=ON
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: >-
${{matrix.deps}}
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
${{matrix.options}}
-DENABLE_TESTS=ON
- name: Restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
if: always()
with:
path: ${{env.CCACHE_DIR}}
Expand All @@ -91,15 +91,15 @@ jobs:
- name: Build
run: cmake --build ${{github.workspace}}/build -v -j $(nproc)
- name: Save cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: always()
with:
path: ${{env.CCACHE_DIR}}
key: ccache-linux-${{matrix.tag}}-${{github.run_id}}
- name: Run tests
run: ctest --test-dir ${{github.workspace}}/build -j $(nproc)
- name: Upload test logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: testlog-linux-${{matrix.tag}}
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
-DSYSTEM_XXD=ON
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install dependencies
run: brew install
${{matrix.deps}}
Expand All @@ -170,7 +170,7 @@ jobs:
${{matrix.options}}
-DENABLE_TESTS=ON
- name: Restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
if: always()
with:
path: ${{env.CCACHE_DIR}}
Expand All @@ -179,15 +179,15 @@ jobs:
- name: Build
run: cmake --build ${{github.workspace}}/build -v -j $(sysctl -n hw.logicalcpu)
- name: Save cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: always()
with:
path: ${{env.CCACHE_DIR}}
key: ccache-macos-${{matrix.tag}}-${{github.run_id}}
- name: Run tests
run: ctest --test-dir ${{github.workspace}}/build -j $(sysctl -n hw.logicalcpu)
- name: Upload test logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: testlog-macos-${{matrix.tag}}
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
-DENABLE_UPNP=ON
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup MSYS2
uses: msys2/setup-msys2@v2
with:
Expand All @@ -251,7 +251,7 @@ jobs:
${{matrix.options}}
-DBUILD_SHARED_LIBS=OFF -DENABLE_TESTS=ON
- name: Restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
if: always()
with:
path: ${{env.CCACHE_DIR}}
Expand All @@ -260,15 +260,15 @@ jobs:
- name: Build
run: cmake --build ./build -v -j $NUMBER_OF_PROCESSORS
- name: Save cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: always()
with:
path: ${{env.CCACHE_DIR}}
key: ccache-msys2-${{matrix.tag}}-${{github.run_id}}
- name: Run tests
run: ctest --test-dir ./build -j $NUMBER_OF_PROCESSORS
- name: Upload test logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: testlog-msys-${{matrix.tag}}
Expand Down

0 comments on commit 60e0871

Please sign in to comment.