CI workflow
This commit is contained in:
@@ -21,12 +21,6 @@ jobs:
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
||||
- uses: awalsh128/cache-apt-pkgs-action@v1
|
||||
with:
|
||||
packages: |
|
||||
llvm
|
||||
execute_install_scripts: true
|
||||
|
||||
- name: Restore cache
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
@@ -37,15 +31,16 @@ jobs:
|
||||
~/.cache/cargo-xwin
|
||||
~/.cargo
|
||||
~/.osxcross
|
||||
~/.apt
|
||||
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 -o Dir::Cache=".apt" update
|
||||
sudo apt -o Dir::Cache=".apt" install -y llvm
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
- name: Install Rust
|
||||
run: |
|
||||
@@ -116,6 +111,7 @@ jobs:
|
||||
~/.cache/cargo-xwin
|
||||
~/.cargo
|
||||
~/.osxcross
|
||||
~/.apt
|
||||
key: cache-ubuntu-maturin-cross-compile
|
||||
|
||||
- name: Upload wheels
|
||||
|
||||
Reference in New Issue
Block a user