Skip to content

Commit

Permalink
[ci] use separate target and build-target
Browse files Browse the repository at this point in the history
This is a bit hard to do in GHA without duplication.
  • Loading branch information
sunshowers committed Oct 23, 2023
1 parent 6cbde3e commit d29962d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
31 changes: 20 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,41 +149,49 @@ jobs:
include:
# Native builds

# On Linux, we use glibc 2.27, as the minimum of
# - Ubuntu 18.04 (glibc 2.27)
# - CentOS 8 (glibc 2.28)
# - Debian 10 (glibc 2.28)
#
# See https://repology.org/project/glibc/versions.
#
# We used to use an Ubuntu 18.04 container, but that became untenable over time:
# https://github.com/nextest-rs/nextest/issues/1055
- target: x86_64-unknown-linux-gnu.2.27
- target: x86_64-unknown-linux-gnu
os: ubuntu-22.04
# On Linux, we use glibc 2.27, as the minimum of
# - Ubuntu 18.04 (glibc 2.27)
# - CentOS 8 (glibc 2.28)
# - Debian 10 (glibc 2.28)
#
# See https://repology.org/project/glibc/versions.
#
# We used to use an Ubuntu 18.04 container, but that became untenable over time:
# https://github.com/nextest-rs/nextest/issues/1055
build-target: x86_64-unknown-linux-gnu.2.27
build-tool: cargo-zigbuild
- target: x86_64-pc-windows-msvc
os: windows-latest
build-target: x86_64-pc-windows-msvc
build-tool: cargo
- target: i686-pc-windows-msvc
os: windows-latest
build-target: i686-pc-windows-msvc
build-tool: cargo
- target: universal-apple-darwin
os: macos-latest
build-target: universal-apple-darwin
build-tool: cargo

# Builds using cross
- target: x86_64-unknown-linux-musl
os: ubuntu-22.04
build-target: x86_64-unknown-linux-musl
# musl is statically linked and uses cross
build-tool: cross
- target: aarch64-unknown-linux-gnu
os: ubuntu-22.04
build-target: aarch64-unknown-linux-gnu
build-tool: cross
- target: x86_64-unknown-freebsd
os: ubuntu-22.04
build-target: x86_64-unknown-freebsd
build-tool: cross
- target: x86_64-unknown-illumos
os: ubuntu-22.04
build-target: x86_64-unknown-illumos
build-tool: cross
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -195,7 +203,8 @@ jobs:
bin: cargo-nextest
# The tag name contains the binary name so just use that.
archive: $tag-$target
target: ${{ matrix.target }}
build-tool: ${{ matrix.build-tool }}
target: ${{ matrix.build-target }}
tar: all
zip: windows
env:
Expand Down
2 changes: 1 addition & 1 deletion site/src/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This page documents new features and bugfixes for cargo-nextest. Please see the [stability
policy](book/stability.md) for how versioning works with cargo-nextest.

## [0.9.62-a.0] - 2023-10-22
## [0.9.62-a.1] - 2023-10-22

This is a test release.

Expand Down

0 comments on commit d29962d

Please sign in to comment.