@@ -47,22 +47,10 @@ jobs:
4747 steps :
4848 - name : Install dependencies
4949 run : |
50- sudo apt-get update
51-
52- # Install necessary packages
53- sudo apt-get install -y libatomic1 libtsan2 gcc-14 g++-14 cmake build-essential wget git-lfs
54-
5550 # Set gcc-14 and g++-14 as the default compilers
5651 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100
5752 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 100
5853
59- if ! which rustc; then
60- # Install Rust stable version
61- sudo apt-get install -y rustup
62- rustup install stable
63- rustup default stable
64- fi
65-
6654 git lfs install
6755
6856 - name : GCC version check
@@ -74,12 +62,13 @@ jobs:
7462 id : checkout
7563 uses : actions/checkout@v6
7664
77- # FIXME: Enable when ggml-org/ccache-action works on riscv64
78- # - name: ccache
79- # uses: ggml-org/ccache-action@v1.2.21
80- # with:
81- # key: ubuntu-riscv64-native-sanitizer-${{ matrix.sanytizer }}-${{ matrix.build_type }}
82- # save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
65+ - name : ccache
66+ # uses: ggml-org/ccache-action@v1.2.21
67+ uses : luhenry/ccache-action@main
68+ with :
69+ key : ubuntu-riscv64-native-sanitizer-${{ matrix.sanitizer }}-${{ matrix.build_type }}
70+ evict-old-files : 1d
71+ save : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
8372
8473 - name : Build
8574 id : cmake_build
@@ -119,8 +108,8 @@ jobs:
119108
120109 cmake --build build --config ${{ matrix.build_type }} -j $(nproc)
121110
122- - name : Test
123- id : cmake_test
124- run : |
125- cd build
126- ctest -L main --verbose --timeout 900
111+ # - name: Test
112+ # id: cmake_test
113+ # run: |
114+ # cd build
115+ # ctest -L main --verbose --timeout 900
0 commit comments