Skip to content

Commit

Permalink
Add more platforms to CI
Browse files Browse the repository at this point in the history
 * aarch64-unknown-linux-musl
 * sparc64-unknown-linux-gnu
 * x86_64-unknown-linux-gnux32

These don't pass yet, but should be supportable by `nix`, so let's add them now so we can move towards fully supporting them.
  • Loading branch information
Susurrus committed Jun 4, 2019
1 parent bf5970e commit a90dceb
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ matrix:
# Linux
- env: TARGET=aarch64-unknown-linux-gnu
rust: 1.24.1
- env: TARGET=aarch64-unknown-linux-musl
rust: 1.24.1
- env: TARGET=arm-unknown-linux-gnueabi
rust: 1.24.1
- env: TARGET=arm-unknown-linux-musleabi DISABLE_TESTS=1
Expand All @@ -75,8 +77,12 @@ matrix:
rust: 1.24.1
- env: TARGET=s390x-unknown-linux-gnu DISABLE_TESTS=1
rust: 1.24.1
- env: TARGET=sparc64-unknown-linux-gnu
rust: 1.24.1
- env: TARGET=x86_64-unknown-linux-gnu
rust: 1.24.1
- env: TARGET=x86_64-unknown-linux-gnux32
rust: 1.24.1
- env: TARGET=x86_64-unknown-linux-musl
rust: 1.24.1

Expand All @@ -93,6 +99,14 @@ matrix:
- env: TARGET=x86_64-unknown-linux-gnu
rust: stable

allow_failures:
- env: TARGET=aarch64-unknown-linux-musl
rust: 1.24.1
- env: TARGET=sparc64-unknown-linux-gnu
rust: 1.24.1
- env: TARGET=x86_64-unknown-linux-gnux32
rust: 1.24.1

before_install: set -e

install:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).

ioctl_read_bad!(tcgets, libc::TCGETS, libc::termios);
```
- Added aarch64-unknown-linux-musl, sparc64-unknown-linux-gnu, x86_64-unknown-linux-gnux32
as Tier 3 platforms.


### Changed
### Fixed
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ Tier 2:
* x86_64-linux-android
* x86_64-unknown-netbsd

Tier 3:
* aarch64-unknown-linux-musl
* sparc64-unknown-linux-gnu
* x86_64-unknown-linux-gnux32

## Usage

To use `nix`, first add this to your `Cargo.toml`:
Expand Down
9 changes: 9 additions & 0 deletions ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ main() {
x86_64-apple-ios)
rustup target install x86_64-apple-ios
;;
sparc64-unknown-linux-gnu)
rustup target install sparc64-unknown-linux-gnu
;;
x86_64-unknown-linux-gnux32)
rustup target install x86_64-unknown-linux-gnux32
;;
aarch64-unknown-linux-musl)
rustup target install aarch64-unknown-linux-musl
;;
esac
done

Expand Down

0 comments on commit a90dceb

Please sign in to comment.