Skip to content

Commit

Permalink
Merge pull request #1978 from iquiw/netbsd-target
Browse files Browse the repository at this point in the history
ci: Add NetBSD target to build on Travis CI
  • Loading branch information
kinnison committed Sep 2, 2019
2 parents 9f7e2d4 + bfe137b commit c2a9fb0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
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
@@ -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
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 c2a9fb0

Please sign in to comment.