Skip to content

Commit

Permalink
Try fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
ibireme committed Jan 25, 2025
1 parent bc598f9 commit 61c03f6
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:

# Check different architectures (qemu, ubuntu:gcc)
linux_archs:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -93,11 +93,6 @@ jobs:

- name: CMake and CTest
run: |
# clear cache
sudo sync
sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'
# run docker
docker run --platform linux/${{ matrix.plat }} -v "$PWD:/yyjson" ${{ matrix.arch }}/ubuntu bash -e -c '
FORCE_COLOR=1
CLICOLOR_FORCE=1
Expand All @@ -106,7 +101,7 @@ jobs:
mkdir build
cd build
cmake ../yyjson -DYYJSON_BUILD_TESTS=ON
cmake --build . --config Release -j1
cmake --build . --config Release
ctest -C Release --output-on-failure
'
Expand Down

0 comments on commit 61c03f6

Please sign in to comment.