Reenable cross build/link tests and update cross

My not caching the build results, we should hopefuly prevent the linking
errors we were seeing before.

Signed-off-by: Joe Richey <joerichey@google.com>
This commit is contained in:
Joe Richey
2023-02-08 16:51:52 -08:00
parent 8e46d0c055
commit a2b48866b9
+5 -7
View File
@@ -142,7 +142,7 @@ jobs:
- uses: actions/checkout@v3
- name: Install precompiled cross
run: |
VERSION=v0.2.4
VERSION=v0.2.5
URL=https://github.com/cross-rs/cross/releases/download/${VERSION}/cross-x86_64-unknown-linux-gnu.tar.gz
wget -O - $URL | tar -xz -C ~/.cargo/bin
cross --version
@@ -171,17 +171,15 @@ jobs:
matrix:
target: [
sparcv9-sun-solaris,
# These jobs currently result in a linking error:
# https://github.com/rust-random/getrandom/actions/runs/3835874649/jobs/6529484986
# x86_64-unknown-illumos,
# x86_64-unknown-freebsd,
# x86_64-unknown-netbsd,
x86_64-unknown-illumos,
x86_64-unknown-freebsd,
x86_64-unknown-netbsd,
]
steps:
- uses: actions/checkout@v3
- name: Install precompiled cross
run: |
VERSION=v0.2.4
VERSION=v0.2.5
URL=https://github.com/cross-rs/cross/releases/download/${VERSION}/cross-x86_64-unknown-linux-gnu.tar.gz
wget -O - $URL | tar -xz -C ~/.cargo/bin
cross --version