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