Skip to content

Commit

Permalink
chore(ci): update the ci target to align with rust-lang
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirreke committed Aug 30, 2023
1 parent f8b8d6d commit 62fc591
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
11 changes: 6 additions & 5 deletions .github/bors.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@ delete_merged_branches = true
required_approvals = 1
status = [
"build (stable, aarch64-unknown-linux-gnu)",
"build (stable, aarch64-unknown-linux-musl)",
"build (stable, arm-unknown-linux-gnueabi)",
"build (stable, arm-unknown-linux-gnueabihf)",
"build (stable, armv7-unknown-linux-gnueabihf)",
"build (stable, i686-unknown-linux-gnu)",
"build (stable, i686-unknown-linux-musl)",
"build (stable, mips-unknown-linux-gnu)",
"build (stable, mips64-unknown-linux-gnuabi64)",
"build (stable, mips64el-unknown-linux-gnuabi64)",
"build (stable, mipsel-unknown-linux-gnu)",
"build (stable, loongarch64-unknown-linux-gnu)",
"build (stable, powerpc-unknown-linux-gnu)",
"build (stable, powerpc64-unknown-linux-gnu)",
"build (stable, powerpc64le-unknown-linux-gnu)",
"build (stable, riscv64gc-unknown-linux-gnu)",
"build (stable, s390x-unknown-linux-gnu)",
"build (stable, x86_64-unknown-linux-gnu)",
"build (stable, x86_64-unknown-linux-musl)",

"build (1.59.0, x86_64-unknown-linux-gnu)",
"build (1.65.0, x86_64-unknown-linux-gnu)",

"checks"
]
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@ jobs:
rust: [stable]
TARGET:
- aarch64-unknown-linux-gnu
- aarch64-unknown-linux-musl
- arm-unknown-linux-gnueabi
- arm-unknown-linux-gnueabihf
- armv7-unknown-linux-gnueabihf
- i686-unknown-linux-gnu
- i686-unknown-linux-musl
- mips-unknown-linux-gnu
- mips64-unknown-linux-gnuabi64
- mips64el-unknown-linux-gnuabi64
- mipsel-unknown-linux-gnu
- loongarch64-unknown-linux-gnu
- powerpc-unknown-linux-gnu
# - powerpc64-unknown-linux-gnu
- powerpc64-unknown-linux-gnu
- powerpc64le-unknown-linux-gnu
- riscv64gc-unknown-linux-gnu
- s390x-unknown-linux-gnu
- x86_64-unknown-linux-gnu
- x86_64-unknown-linux-musl

include:
# MSRV
- rust: 1.59.0
- rust: 1.65.0
TARGET: x86_64-unknown-linux-gnu

# Test nightly but don't fail
Expand Down Expand Up @@ -63,15 +63,13 @@ jobs:
args: --target=${{ matrix.TARGET }} --all-features

- name: Test
if: ${{ ! contains(matrix.TARGET, 'mips') }} # https://github.com/rust-lang/rust/issues/108835
uses: actions-rs/cargo@v1
with:
use-cross: true
command: test
args: --target=${{ matrix.TARGET }}

- name: Test all features
if: ${{ ! contains(matrix.TARGET, 'mips') }} # https://github.com/rust-lang/rust/issues/108835
uses: actions-rs/cargo@v1
with:
use-cross: true
Expand Down Expand Up @@ -109,7 +107,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.59.0
toolchain: 1.65.0
components: clippy

- uses: actions-rs/clippy-check@v1
Expand Down

0 comments on commit 62fc591

Please sign in to comment.