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
c6c66452
Commit
c6c66452
authored
5 years ago
by
Baoshan Pang
Browse files
Options
Downloads
Patches
Plain Diff
use FILTER to select which target(s) to run
parent
c60e31dd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci/build.sh
+8
-2
8 additions, 2 deletions
ci/build.sh
with
8 additions
and
2 deletions
ci/build.sh
+
8
−
2
View file @
c6c66452
...
...
@@ -2,6 +2,8 @@
# Checks that libc builds properly for all supported targets on a particular
# Rust version:
# The FILTER environment variable can be used to select which target(s) to build.
# For example: set FILTER to vxworks to select the targets that has vxworks in name
set
-ex
...
...
@@ -176,7 +178,9 @@ case "${OS}" in
esac
for
TARGET
in
$TARGETS
;
do
test_target build
"
$TARGET
"
if
echo
"
$TARGET
"
|grep
-q
"
$FILTER
"
;
then
test_target build
"
$TARGET
"
fi
done
# FIXME: https://github.com/rust-lang/rust/issues/58564
...
...
@@ -237,7 +241,9 @@ powerpc64-wrs-vxworks \
if
[
"
${
RUST
}
"
=
"nightly"
]
&&
[
"
${
OS
}
"
=
"linux"
]
;
then
for
TARGET
in
$RUST_LINUX_NO_CORE_TARGETS
;
do
test_target xbuild
"
$TARGET
"
1
if
echo
"
$TARGET
"
|grep
-q
"
$FILTER
"
;
then
test_target xbuild
"
$TARGET
"
1
fi
done
# Nintendo switch
...
...
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