CI workflow
This commit is contained in:
@@ -44,7 +44,7 @@ jobs:
|
||||
|
||||
- name: Install Rust
|
||||
run: |
|
||||
export PATH="~/.cargo/bin:$PATH"
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
if ! command -v rustc >/dev/null 2>&1; then
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
else
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
|
||||
- name: Install sccache and maturin
|
||||
run: |
|
||||
export PATH="~/.cargo/bin:$PATH"
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
python -m pip install --upgrade pip
|
||||
pip install maturin ziglang
|
||||
if ! command -v sccache >/dev/null 2>&1; then
|
||||
@@ -64,7 +64,7 @@ jobs:
|
||||
|
||||
- name: Install xwin
|
||||
run: |
|
||||
export PATH="~/.cargo/bin:$PATH"
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
if ! command -v cargo-xwin >/dev/null 2>&1; then
|
||||
cargo install cargo-xwin || pip install cargo-xwin
|
||||
cargo xwin cache xwin
|
||||
@@ -73,7 +73,7 @@ jobs:
|
||||
|
||||
- name: Install osxcross
|
||||
run: |
|
||||
export PATH="~/.osxcross/bin:$PATH"
|
||||
export PATH="$HOME/.osxcross/bin:$PATH"
|
||||
if ! command -v osxcross >/dev/null 2>&1; then
|
||||
wget https://nextcloud.wimpomp.nl/s/DcrTwoP3SeY7DQF/download -O osxcross.tar.gz
|
||||
tar -xzf osxcross.tar.gz -C ~/
|
||||
@@ -82,10 +82,12 @@ jobs:
|
||||
|
||||
- name: Build wheels
|
||||
run: |
|
||||
export PATH="~/.cargo/bin:~/.osxcross/bin:$PATH"
|
||||
export PATH="$HOME/.cargo/bin:$HOME/.osxcross/bin:$PATH"
|
||||
cd
|
||||
ls -a
|
||||
echo $PATH
|
||||
echo $PATH
|
||||
cd .cargo
|
||||
ls -a
|
||||
maturin sdist --out dist
|
||||
rustup default nightly
|
||||
rustup target add x86_64-unknown-linux-gnu --toolchain nightly
|
||||
|
||||
Reference in New Issue
Block a user