Skip to content

Commit

Permalink
Merge pull request #336 from rust-random/ci
Browse files Browse the repository at this point in the history
Reenable cross build/link tests and update cross
  • Loading branch information
josephlr committed Feb 9, 2023
2 parents 8e46d0c + 8d8a882 commit c65522b
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/tests.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -195,8 +193,7 @@ jobs:
fail-fast: false
matrix:
include:
# Firefox isn't available on 22.04 yet, so we must use 20.04
- os: ubuntu-20.04
- os: ubuntu-22.04
host: x86_64-unknown-linux-musl
- os: windows-2022
host: x86_64-pc-windows-msvc
Expand Down Expand Up @@ -302,7 +299,7 @@ jobs:
aarch64-apple-tvos,
]
include:
# Supported tier 3 targets without libstd support
# Supported tier 3 targets with libstd support
- target: x86_64-unknown-openbsd
features: ["std"]
- target: x86_64-unknown-dragonfly
Expand Down

0 comments on commit c65522b

Please sign in to comment.