File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,9 +145,7 @@ jobs:
145145 - uses : Swatinem/rust-cache@v2
146146 with :
147147 key : linux-cross
148- # The cross containers were updated to ubuntu 24.04 after this commit. This breaks installing python3.12-minimal
149- # See https://github.com/cross-rs/cross/issues/1784 for additional context
150- - run : cargo install cross --git https://github.com/cross-rs/cross --rev 29d00c7803f221f1b3f35e561b03792368fb8339
148+ - run : cargo install cross --git https://github.com/cross-rs/cross
151149 - run : rustup target add ${{ matrix.target }}
152150 - name : Build
153151 run : cross build --verbose --target ${{ matrix.target }}
Original file line number Diff line number Diff line change @@ -230,9 +230,7 @@ jobs:
230230 - uses : Swatinem/rust-cache@v2
231231 with :
232232 key : linux-cross
233- # The cross containers were updated to ubuntu 24.04 after this commit. This breaks installing python3.12-minimal
234- # See https://github.com/cross-rs/cross/issues/1784 for additional context
235- - run : cargo install cross --git https://github.com/cross-rs/cross --rev 29d00c7803f221f1b3f35e561b03792368fb8339
233+ - run : cargo install cross --git https://github.com/cross-rs/cross
236234 # Build the CLI only binary
237235 - run : cross build --no-default-features --release --target ${{ matrix.target }}
238236 - run : mv "target/${{ matrix.target }}/release/ornithe-installer-rs" "target/${{ matrix.target }}/release/ornithe-installer-rs-cli.bin"
Original file line number Diff line number Diff line change 11[build ]
22pre-build = [
33 " dpkg --add-architecture $CROSS_DEB_ARCH" ,
4- " apt-get update && apt-get --assume-yes install libxcb-render0-dev:$CROSS_DEB_ARCH libxcb-shape0-dev:$CROSS_DEB_ARCH libxcb-xfixes0-dev:$CROSS_DEB_ARCH libxkbcommon-dev:$CROSS_DEB_ARCH libssl-dev:$CROSS_DEB_ARCH libgtk-3-dev:$CROSS_DEB_ARCH"
4+ " apt-get update"
5+ # https://github.com/cross-rs/cross/issues/1784
6+ "apt-get -y install qemu-user-static binfmt-support",
7+ "apt-get -y install libxcb-render0-dev:$CROSS_DEB_ARCH libxcb-shape0-dev:$CROSS_DEB_ARCH libxcb-xfixes0-dev:$CROSS_DEB_ARCH libxkbcommon-dev:$CROSS_DEB_ARCH libssl-dev:$CROSS_DEB_ARCH libgtk-3-dev:$CROSS_DEB_ARCH"
58]
You can’t perform that action at this time.
0 commit comments