File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -60,14 +60,10 @@ jobs:
6060 # git-scanning tests need entire git history to work
6161 fetch-depth : 0
6262 - name : Install ${{ matrix.rust }}-${{ matrix.target }} toolchain
63- uses : actions-rs/ toolchain@v1
63+ uses : dtolnay/rust- toolchain@master
6464 with :
65- profile : minimal
6665 toolchain : ${{ matrix.rust }}
67- target : ${{ matrix.target }}
68- override : true
69- - run : sudo apt install -y libssl-dev
70- if : matrix.os == 'ubuntu-latest'
66+ targets : ${{ matrix.target }}
7167 - name : Test
7268 uses : actions-rs/cargo@v1
7369 with :
Original file line number Diff line number Diff line change @@ -56,3 +56,9 @@ codegen-units = 1
5656
5757[package .metadata .cross .target .x86_64-unknown-linux-musl ]
5858dockerfile = " Dockerfile.lambda"
59+
60+ [target .x86_64-unknown-linux-musl ]
61+ pre-build = [
62+ " dpkg --add-architecture $CROSS_DEB_ARCH" ,
63+ " apt-get update && apt-get --assume-yes install libssl-dev:$CROSS_DEB_ARCH"
64+ ]
You can’t perform that action at this time.
0 commit comments