CI workflow
This commit is contained in:
@@ -21,11 +21,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
|
|
||||||
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
|
with:
|
||||||
|
packages: llvm
|
||||||
|
version: 1.0
|
||||||
|
execute_install_scripts: true
|
||||||
|
|
||||||
- name: Restore cache
|
- name: Restore cache
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/var/cache/apt
|
|
||||||
~/.cache/pip
|
~/.cache/pip
|
||||||
~/.cache/pip-wheel
|
~/.cache/pip-wheel
|
||||||
~/.cache/sccache
|
~/.cache/sccache
|
||||||
@@ -34,13 +39,13 @@ jobs:
|
|||||||
~/.osxcross
|
~/.osxcross
|
||||||
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 update
|
||||||
sudo apt install -y llvm
|
# sudo apt install -y llvm
|
||||||
fi
|
# fi
|
||||||
shell: bash
|
# shell: bash
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
run: |
|
run: |
|
||||||
@@ -105,7 +110,6 @@ jobs:
|
|||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/var/cache/apt
|
|
||||||
~/.cache/pip
|
~/.cache/pip
|
||||||
~/.cache/pip-wheel
|
~/.cache/pip-wheel
|
||||||
~/.cache/sccache
|
~/.cache/sccache
|
||||||
|
|||||||
Reference in New Issue
Block a user