|
|
|
@ -34,7 +34,7 @@ jobs: |
|
|
|
|
|
|
|
include: |
|
|
|
- target: x86_64-unknown-linux-gnu |
|
|
|
host_os: ubuntu-20.04 |
|
|
|
host_os: ubuntu-22.04 |
|
|
|
- target: x86_64-unknown-linux-musl |
|
|
|
host_os: ubuntu-latest |
|
|
|
- target: i686-unknown-linux-musl |
|
|
|
@ -73,7 +73,7 @@ jobs: |
|
|
|
rustup target add ${{ matrix.target }} |
|
|
|
fi |
|
|
|
cargo install cbindgen |
|
|
|
if [[ "${{ contains(matrix.host_os, 'ubuntu') }}" == "true" && "${{ matrix.host_os }}" != "ubuntu-20.04" ]]; then |
|
|
|
if [[ "${{ contains(matrix.host_os, 'ubuntu') }}" == "true" && "${{ matrix.host_os }}" != "ubuntu-22.04" ]]; then |
|
|
|
sudo .github/workflows/install-cross.sh |
|
|
|
fi |
|
|
|
|
|
|
|
@ -81,7 +81,7 @@ jobs: |
|
|
|
if: ${{ !cancelled() }} |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
if [[ "${{ contains(matrix.host_os, 'ubuntu') }}" == "true" && "${{ matrix.host_os }}" != "ubuntu-20.04" ]]; then |
|
|
|
if [[ "${{ contains(matrix.host_os, 'ubuntu') }}" == "true" && "${{ matrix.host_os }}" != "ubuntu-22.04" ]]; then |
|
|
|
cross build --all-features --release --target ${{ matrix.target }} |
|
|
|
else |
|
|
|
if [[ "${{ matrix.target }}" == "x86_64-win7-windows-msvc" || "${{ matrix.target }}" == "i686-win7-windows-msvc" ]]; then |
|
|
|
|