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