Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
felixmoebius
libc
Commits
5f527b07
Commit
5f527b07
authored
9 years ago
by
Alex Crichton
Browse files
Options
Downloads
Plain Diff
Merge pull request #208 from alexcrichton/moar-nightlies
Use nightlies for iOS and rumprun
parents
91ef172b
c02a5c23
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+3
-3
3 additions, 3 deletions
.travis.yml
ci/run-travis.sh
+4
-24
4 additions, 24 deletions
ci/run-travis.sh
with
7 additions
and
27 deletions
.travis.yml
+
3
−
3
View file @
5f527b07
...
...
@@ -45,13 +45,13 @@ matrix:
rust
:
nightly
-
os
:
osx
env
:
TARGET=i386-apple-ios
rust
:
nightly
-2016-02-12
rust
:
nightly
-
os
:
osx
env
:
TARGET=x86_64-apple-ios
rust
:
nightly
-2016-02-12
rust
:
nightly
-
os
:
linux
env
:
TARGET=x86_64-rumprun-netbsd DOCKER=alexcrichton/rust-libc-rumprun:2015-11-27
rust
:
nightly
-2015-09-27
rust
:
nightly
-
os
:
linux
env
:
TARGET=x86_64-unknown-freebsd QEMU=freebsd.qcow2
rust
:
nightly
...
...
This diff is collapsed.
Click to expand it.
ci/run-travis.sh
+
4
−
24
View file @
5f527b07
...
...
@@ -19,7 +19,6 @@ fi
MAIN_TARGETS
=
https://static.rust-lang.org/dist
DATE
=
$(
echo
$TRAVIS_RUST_VERSION
|
sed
s/nightly-//
)
EXTRA_TARGETS
=
https://people.mozilla.org/~acrichton/libc-test/
$DATE
if
[
"
$DATE
"
!=
"nightly"
]
;
then
MAIN_TARGETS
=
$MAIN_TARGETS
/
$DATE
TRAVIS_RUST_VERSION
=
nightly
...
...
@@ -108,30 +107,11 @@ mkdir -p .cargo
cp
ci/cargo-config .cargo/config
# Next up we need to install the standard library for the version of Rust that
# we're testing. Get fancy targets from the EXTRA_TARGETS URL and otherwise get
# all others from the official distribution.
# we're testing.
if
[
"
$TRAVIS
"
=
"true"
]
;
then
case
"
$TARGET
"
in
*
-rumprun-
*
)
curl
-s
$EXTRA_TARGETS
/
$TARGET
.tar.gz |
\
tar
xzf -
-C
`
rustc
--print
sysroot
`
/lib/rustlib
;;
*
)
# Download the rustlib folder from the relevant portion of main
# distribution's tarballs.
dir
=
rust-std-
$TARGET
pkg
=
rust-std
if
[
"
$TRAVIS_RUST_VERSION
"
=
"1.0.0"
]
;
then
pkg
=
rust
dir
=
rustc
fi
curl
-s
$MAIN_TARGETS
/
$pkg
-
$TRAVIS_RUST_VERSION
-
$TARGET
.tar.gz |
\
tar
xzf -
-C
$HOME
/rust/lib/rustlib
--strip-components
=
4
\
$pkg
-
$TRAVIS_RUST_VERSION
-
$TARGET
/
$dir
/lib/rustlib/
$TARGET
;;
esac
curl
-s
$MAIN_TARGETS
/rust-std-
$TRAVIS_RUST_VERSION
-
$TARGET
.tar.gz |
\
tar
xzf -
-C
$HOME
/rust/lib/rustlib
--strip-components
=
4
\
rust-std-
$TRAVIS_RUST_VERSION
-
$TARGET
/rust-std-
$TARGET
/lib/rustlib/
$TARGET
fi
# If we're testing with a docker image, then run tests entirely within that
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment