diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 103b4f1..9512acc 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -21,11 +21,16 @@ jobs: with: python-version: 3.x + - uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: llvm + version: 1.0 + execute_install_scripts: true + - name: Restore cache uses: actions/cache/restore@v4 with: path: | - /var/cache/apt ~/.cache/pip ~/.cache/pip-wheel ~/.cache/sccache @@ -34,13 +39,13 @@ jobs: ~/.osxcross key: cache-ubuntu-maturin-cross-compile - - name: Install llvm - run: | - if ! command -v llvm-dlltool >/dev/null 2>&1; then - sudo apt update - sudo apt install -y llvm - fi - shell: bash +# - name: Install llvm +# run: | +# if ! command -v llvm-dlltool >/dev/null 2>&1; then +# sudo apt update +# sudo apt install -y llvm +# fi +# shell: bash - name: Install Rust run: | @@ -105,7 +110,6 @@ jobs: uses: actions/cache/save@v4 with: path: | - /var/cache/apt ~/.cache/pip ~/.cache/pip-wheel ~/.cache/sccache