Build, test, and release on fewer os/arch combinations (#201)

Build, test, and release for:

- x86-64 MacOS
- x86-64 Linux
- x86-64 FreeBSD
- x86-64 Windows
This commit is contained in:
Casey Rodarmor 2017-05-13 18:34:26 -04:00 committed by GitHub
parent 62a0d7de05
commit 5af2e4ae5e
3 changed files with 36 additions and 36 deletions

View File

@ -19,17 +19,17 @@ matrix:
# don't need # don't need
include: include:
# Linux # Linux
- env: TARGET=i686-unknown-linux-gnu #- env: TARGET=i686-unknown-linux-gnu
- env: TARGET=i686-unknown-linux-musl #- env: TARGET=i686-unknown-linux-musl
- env: TARGET=x86_64-unknown-linux-gnu #- env: TARGET=x86_64-unknown-linux-gnu
- env: TARGET=x86_64-unknown-linux-musl - env: TARGET=x86_64-unknown-linux-musl
# OSX # OSX
- env: TARGET=i686-apple-darwin #- env: TARGET=i686-apple-darwin
os: osx # os: osx
before_install: # before_install:
- set -e # - set -e
- brew install dash # - brew install dash
- env: TARGET=x86_64-apple-darwin - env: TARGET=x86_64-apple-darwin
os: osx os: osx
before_install: before_install:
@ -37,34 +37,34 @@ matrix:
- brew install dash - brew install dash
# *BSD # *BSD
- env: TARGET=i686-unknown-freebsd DISABLE_TESTS=1 #- env: TARGET=i686-unknown-freebsd DISABLE_TESTS=1
- env: TARGET=x86_64-unknown-freebsd DISABLE_TESTS=1 - env: TARGET=x86_64-unknown-freebsd DISABLE_TESTS=1
- env: TARGET=x86_64-unknown-netbsd DISABLE_TESTS=1 #- env: TARGET=x86_64-unknown-netbsd DISABLE_TESTS=1
# Other architectures # Other architectures
- env: TARGET=aarch64-unknown-linux-gnu #- env: TARGET=aarch64-unknown-linux-gnu
- env: TARGET=armv7-unknown-linux-gnueabihf #- env: TARGET=armv7-unknown-linux-gnueabihf
- env: TARGET=mips-unknown-linux-gnu #- env: TARGET=mips-unknown-linux-gnu
- env: TARGET=mips64-unknown-linux-gnuabi64 #- env: TARGET=mips64-unknown-linux-gnuabi64
- env: TARGET=mips64el-unknown-linux-gnuabi64 #- env: TARGET=mips64el-unknown-linux-gnuabi64
- env: TARGET=mipsel-unknown-linux-gnu #- env: TARGET=mipsel-unknown-linux-gnu
- env: TARGET=powerpc64-unknown-linux-gnu #- env: TARGET=powerpc64-unknown-linux-gnu
- env: TARGET=powerpc64le-unknown-linux-gnu #- env: TARGET=powerpc64le-unknown-linux-gnu
- env: TARGET=s390x-unknown-linux-gnu DISABLE_TESTS=1 #- env: TARGET=s390x-unknown-linux-gnu DISABLE_TESTS=1
# powerpc-unknown-linux-gnu is currently failing some # powerpc-unknown-linux-gnu is currently failing some
# tests with 'Unsupported syscall: 384' # tests with 'Unsupported syscall: 384'
- env: TARGET=powerpc-unknown-linux-gnu DISABLE_TESTS=1 #- env: TARGET=powerpc-unknown-linux-gnu DISABLE_TESTS=1
# Testing other channels # Testing other channels
- env: TARGET=x86_64-unknown-linux-gnu #- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly # rust: nightly
- env: TARGET=x86_64-apple-darwin #- env: TARGET=x86_64-apple-darwin
os: osx # os: osx
rust: nightly # rust: nightly
before_install: # before_install:
- set -e # - set -e
- brew install dash # - brew install dash
before_install: set -e before_install: set -e

View File

@ -17,18 +17,18 @@ environment:
# don't need # don't need
matrix: matrix:
# MinGW # MinGW
- TARGET: i686-pc-windows-gnu #- TARGET: i686-pc-windows-gnu
- TARGET: x86_64-pc-windows-gnu #- TARGET: x86_64-pc-windows-gnu
# MSVC # MSVC
- TARGET: i686-pc-windows-msvc #- TARGET: i686-pc-windows-msvc
- TARGET: x86_64-pc-windows-msvc - TARGET: x86_64-pc-windows-msvc
# Testing other channels # Testing other channels
- TARGET: x86_64-pc-windows-gnu #- TARGET: x86_64-pc-windows-gnu
RUST_VERSION: nightly # RUST_VERSION: nightly
- TARGET: x86_64-pc-windows-msvc #- TARGET: x86_64-pc-windows-msvc
RUST_VERSION: nightly # RUST_VERSION: nightly
install: install:
- ps: >- - ps: >-

View File

@ -134,7 +134,7 @@ quine-text = '
" char *s = %c%s%c;" " char *s = %c%s%c;"
" printf(s, 34, s, 34);" " printf(s, 34, s, 34);"
" return 0;" " return 0;"
"}"; "}";
printf(s, 34, s, 34); printf(s, 34, s, 34);
return 0; return 0;
} }