Skip to content

Commit

Permalink
Attempt to fix CI (rust-lang#108)
Browse files Browse the repository at this point in the history
Need to bring codegen units back to only one for now
  • Loading branch information
alexcrichton authored Oct 11, 2017
1 parent 434a69f commit b7396c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ install:
build: false

test_script:
- cargo test --target %TARGET%
- cargo test --target %TARGET% --release
- C:\msys64\usr\bin\sh ci\run.sh

branches:
only:
Expand Down
3 changes: 3 additions & 0 deletions ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@

set -ex

# FIXME(rust-lang/rust#45201) shouldn't need to specify one codegen unit
export RUSTFLAGS="$RUSTFLAGS -C codegen-units=1"

cargo test --target $TARGET
cargo test --release --target $TARGET

0 comments on commit b7396c3

Please sign in to comment.