build(deps): bump rustix from 0.38.42 to 0.38.43 #1086
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CrossCompiling | |
on: | |
push: | |
paths-ignore: | |
- 'ansible/**' | |
- 'doc/**' | |
- 'sphinx/**' | |
- 'scripts/**' | |
branches: | |
- 'master' | |
- 'lts/**' | |
pull_request: | |
branches: | |
- 'master' | |
- 'lts/**' | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
container: | |
image: debian:sid | |
env: | |
CARGO_TERM_COLOR: always | |
CROSS_FEATURES: --no-default-features --features vendored-openssl,rustls-ring,quic,vendored-c-ares,hickory | |
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc | |
CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER: riscv64-linux-gnu-gcc | |
CARGO_TARGET_POWERPC64LE_UNKNOWN_LINUX_GNU_LINKER: powerpc64le-linux-gnu-gcc | |
CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_LINKER: s390x-linux-gnu-gcc | |
CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_LINKER: loongarch64-linux-gnu-gcc | |
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER: arm-linux-gnueabihf-gcc | |
CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER: arm-linux-gnueabihf-gcc | |
CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABI_LINKER: arm-linux-gnueabi-gcc | |
CARGO_TARGET_I686_UNKNOWN_LINUX_GNU_LINKER: i686-linux-gnu-gcc | |
strategy: | |
matrix: | |
target: [ | |
{ | |
rustc: x86_64-pc-windows-gnu, | |
gcc: gcc-mingw-w64-x86-64, | |
}, | |
{ | |
rustc: i686-unknown-linux-gnu, | |
gcc: gcc-i686-linux-gnu, | |
}, | |
{ | |
rustc: aarch64-unknown-linux-gnu, | |
gcc: gcc-aarch64-linux-gnu, | |
}, | |
{ | |
rustc: armv7-unknown-linux-gnueabihf, | |
gcc: gcc-arm-linux-gnueabihf, | |
}, | |
{ | |
rustc: arm-unknown-linux-gnueabihf, | |
gcc: gcc-arm-linux-gnueabihf, | |
}, | |
{ | |
rustc: arm-unknown-linux-gnueabi, | |
gcc: gcc-arm-linux-gnueabi, | |
}, | |
{ | |
rustc: riscv64gc-unknown-linux-gnu, | |
gcc: gcc-riscv64-linux-gnu, | |
}, | |
{ | |
rustc: powerpc64le-unknown-linux-gnu, | |
gcc: gcc-powerpc64le-linux-gnu, | |
}, | |
{ | |
rustc: s390x-unknown-linux-gnu, | |
gcc: gcc-s390x-linux-gnu, | |
}, | |
{ | |
rustc: loongarch64-unknown-linux-gnu, | |
gcc: gcc-loongarch64-linux-gnu, | |
}, | |
] | |
steps: | |
- name: Install tools | |
run: | | |
apt-get -y update | |
apt-get -y install git curl gcc make pkgconf cmake | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install stable toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: ${{ matrix.target.rustc }} | |
components: clippy | |
- name: Install dependencies | |
run: | | |
apt-get -y install capnproto ${{ matrix.target.gcc }} | |
- name: Cargo build | |
run: cargo build --target=${{ matrix.target.rustc }} $CROSS_FEATURES | |
- name: Cargo clippy | |
run: cargo clippy --target=${{ matrix.target.rustc }} $CROSS_FEATURES --tests -- --deny warnings |