Skip to content

Commit

Permalink
ci: Add NetBSD target to build on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
iquiw committed Sep 2, 2019
1 parent 9f7e2d4 commit bfe137b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ matrix:
- { <<: *linuxstable, env: SKIP_TESTS=1 TARGET=arm-unknown-linux-gnueabihf }
- { <<: *linuxalways, env: SKIP_TESTS=1 TARGET=armv7-unknown-linux-gnueabihf }
- { <<: *linuxstable, env: SKIP_TESTS=1 TARGET=x86_64-unknown-freebsd }
- { <<: *linuxstable, env: SKIP_TESTS=1 TARGET=x86_64-unknown-netbsd }
- { <<: *linuxstable, env: SKIP_TESTS=1 TARGET=powerpc-unknown-linux-gnu }
- { <<: *linuxmaster, env: SKIP_TESTS=1 TARGET=powerpc64-unknown-linux-gnu }
- { <<: *linuxstable, env: SKIP_TESTS=1 TARGET=powerpc64le-unknown-linux-gnu }
Expand Down
3 changes: 3 additions & 0 deletions ci/docker/x86_64-unknown-netbsd/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM rust-x86_64-unknown-netbsd

ENV CARGO_TARGET_X86_64_UNKNOWN_NETBSD_LINKER=x86_64--netbsd-gcc-sysroot
1 change: 1 addition & 0 deletions ci/fetch-rust-docker.bash
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ case "$TARGET" in
s390x-unknown-linux-gnu) image=dist-s390x-linux ;;
x86_64-unknown-freebsd) image=dist-x86_64-freebsd ;;
x86_64-unknown-linux-gnu) image=dist-x86_64-linux ;;
x86_64-unknown-netbsd) image=dist-x86_64-netbsd ;;
*) exit ;;
esac

Expand Down

0 comments on commit bfe137b

Please sign in to comment.