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
6cef94ec
Commit
6cef94ec
authored
4 years ago
by
Yuki Okushi
Browse files
Options
Downloads
Patches
Plain Diff
Tweak GHA config to reduce bors time
parent
5b2bdd11
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
.github/workflows/bors.yml
+29
-13
29 additions, 13 deletions
.github/workflows/bors.yml
with
29 additions
and
13 deletions
.github/workflows/bors.yml
+
29
−
13
View file @
6cef94ec
...
@@ -79,8 +79,8 @@ jobs:
...
@@ -79,8 +79,8 @@ jobs:
run
:
LIBC_CI=1 sh ./ci/run.sh ${{ matrix.target }}
run
:
LIBC_CI=1 sh ./ci/run.sh ${{ matrix.target }}
shell
:
bash
shell
:
bash
style_
and_docs
:
style_
check
:
name
:
Style
and docs
name
:
Style
check
runs-on
:
ubuntu-18.04
runs-on
:
ubuntu-18.04
strategy
:
strategy
:
fail-fast
:
true
fail-fast
:
true
...
@@ -93,16 +93,14 @@ jobs:
...
@@ -93,16 +93,14 @@ jobs:
run
:
sh ./ci/install-rust.sh
run
:
sh ./ci/install-rust.sh
-
name
:
Check style
-
name
:
Check style
run
:
sh ci/style.sh
run
:
sh ci/style.sh
-
name
:
Generate documentation
run
:
LIBC_CI=1 sh ci/dox.sh
docker_linux_tier2
:
docker_linux_tier2
:
name
:
Docker Linux Tier2
name
:
Docker Linux Tier2
needs
:
[
docker_linux_tier1
,
style_
and_docs
]
needs
:
[
docker_linux_tier1
,
style_
check
]
runs-on
:
ubuntu-18.04
runs-on
:
ubuntu-18.04
strategy
:
strategy
:
fail-fast
:
true
fail-fast
:
true
max-parallel
:
1
0
max-parallel
:
1
2
matrix
:
matrix
:
target
:
[
target
:
[
aarch64-linux-android
,
aarch64-linux-android
,
...
@@ -149,7 +147,7 @@ jobs:
...
@@ -149,7 +147,7 @@ jobs:
# devkitpro's pacman needs to be connected from Docker.
# devkitpro's pacman needs to be connected from Docker.
docker_switch
:
docker_switch
:
name
:
Docker Switch
name
:
Docker Switch
needs
:
[
docker_linux_tier1
,
style_
and_docs
]
needs
:
[
docker_linux_tier1
,
style_
check
]
runs-on
:
ubuntu-18.04
runs-on
:
ubuntu-18.04
strategy
:
strategy
:
fail-fast
:
true
fail-fast
:
true
...
@@ -171,7 +169,7 @@ jobs:
...
@@ -171,7 +169,7 @@ jobs:
OS
:
linux
OS
:
linux
strategy
:
strategy
:
fail-fast
:
true
fail-fast
:
true
max-parallel
:
4
max-parallel
:
5
matrix
:
matrix
:
toolchain
:
[
toolchain
:
[
stable
,
stable
,
...
@@ -201,7 +199,7 @@ jobs:
...
@@ -201,7 +199,7 @@ jobs:
OS
:
macos
OS
:
macos
strategy
:
strategy
:
fail-fast
:
true
fail-fast
:
true
max-parallel
:
3
max-parallel
:
4
matrix
:
matrix
:
toolchain
:
[
toolchain
:
[
stable
,
stable
,
...
@@ -257,6 +255,22 @@ jobs:
...
@@ -257,6 +255,22 @@ jobs:
-
name
:
Check breaking changes
-
name
:
Check breaking changes
run
:
sh ci/semver.sh macos
run
:
sh ci/semver.sh macos
docs
:
name
:
Generate documentation
runs-on
:
ubuntu-18.04
needs
:
docker_linux_tier2
strategy
:
fail-fast
:
true
steps
:
-
uses
:
rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
with
:
github_token
:
"
${{
secrets.GITHUB_TOKEN
}}"
-
uses
:
actions/checkout@v2
-
name
:
Setup Rust toolchain
run
:
sh ./ci/install-rust.sh
-
name
:
Generate documentation
run
:
LIBC_CI=1 sh ci/dox.sh
# These jobs doesn't actually test anything, but they're only used to tell
# These jobs doesn't actually test anything, but they're only used to tell
# bors the build completed, as there is no practical way to detect when a
# bors the build completed, as there is no practical way to detect when a
# workflow is successful listening to webhooks only.
# workflow is successful listening to webhooks only.
...
@@ -272,12 +286,13 @@ jobs:
...
@@ -272,12 +286,13 @@ jobs:
docker_linux_tier2
,
docker_linux_tier2
,
macos
,
macos
,
windows
,
windows
,
style_
and_docs
,
style_
check
,
docker_switch
,
docker_switch
,
build_channels_linux
,
build_channels_linux
,
build_channels_macos
,
build_channels_macos
,
semver_linux
,
semver_linux
,
semver_macos
semver_macos
,
docs
,
]
]
steps
:
steps
:
...
@@ -293,12 +308,13 @@ jobs:
...
@@ -293,12 +308,13 @@ jobs:
docker_linux_tier2
,
docker_linux_tier2
,
macos
,
macos
,
windows
,
windows
,
style_
and_docs
,
style_
check
,
docker_switch
,
docker_switch
,
build_channels_linux
,
build_channels_linux
,
build_channels_macos
,
build_channels_macos
,
semver_linux
,
semver_linux
,
semver_macos
semver_macos
,
docs
,
]
]
steps
:
steps
:
...
...
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