-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
7: Add bors r=passcod a=passcod Co-authored-by: Félix Saparelli <[email protected]>
- Loading branch information
Showing
7 changed files
with
156 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Main branch | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check: | ||
strategy: | ||
matrix: | ||
include: | ||
- platform: macos | ||
- platform: ubuntu | ||
- platform: windows | ||
|
||
name: Check on ${{ matrix.platform }} | ||
runs-on: "${{ matrix.platform }}-latest" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
default: true | ||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Merge (with Bors) | ||
on: | ||
push: | ||
branches: | ||
- staging | ||
- trying | ||
|
||
jobs: | ||
check: | ||
strategy: | ||
matrix: | ||
include: | ||
- platform: macos | ||
toolchain: stable | ||
- platform: macos | ||
toolchain: 1.51.0 | ||
- platform: ubuntu | ||
toolchain: stable | ||
- platform: ubuntu | ||
toolchain: 1.51.0 | ||
- platform: windows | ||
toolchain: stable | ||
- platform: windows | ||
toolchain: 1.51.0 | ||
|
||
name: Test on ${{ matrix.platform }} with Rust ${{ matrix.toolchain }} | ||
runs-on: "${{ matrix.platform }}-latest" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: "${{ matrix.toolchain }}" | ||
default: true | ||
- uses: actions-rs/cargo@v1 | ||
if: "matrix.platform != 'windows'" | ||
with: | ||
command: test | ||
- if: "matrix.platform == 'windows'" | ||
shell: powershell | ||
run: cargo test --doc | ||
- if: "matrix.platform == 'windows'" | ||
shell: powershell | ||
run: cargo test --test platformed terminfo | ||
- if: "matrix.platform == 'windows'" | ||
shell: powershell | ||
run: cargo test --test platformed xterm | ||
- if: "matrix.platform == 'windows'" | ||
shell: powershell | ||
run: cargo test --test platformed tput | ||
- if: "matrix.platform == 'windows'" | ||
shell: powershell | ||
run: cargo test --test platformed windows_cls | ||
# I've absolutely tested the windows_vt things LOCALLY but they DON'T WORK IN CI | ||
# I don't know why and at this point I'm very very tired. If you know, help pls. | ||
- if: "matrix.platform == 'windows'" | ||
shell: powershell | ||
run: cargo test --test platformed vt_ris | ||
|
||
# remove toolchain restriction when bumping msrv above 1.51 | ||
- if: "matrix.platform == 'windows' && matrix.toolchain == 'stable'" | ||
shell: powershell | ||
run: cd tests/win10; cargo run |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
delete_merged_branches = true | ||
update_base_for_deletes = true | ||
|
||
status = [ | ||
"Test on macos with Rust stable", | ||
"Test on ubuntu with Rust stable", | ||
"Test on windows with Rust stable", | ||
"Test on macos with Rust 1.51.0", | ||
"Test on ubuntu with Rust 1.51.0", | ||
"Test on windows with Rust 1.51.0", | ||
] | ||
|
||
# Disabled until https://github.com/bors-ng/bors-ng/issues/1434 is fixed | ||
#pr_status = [ | ||
# "Clippy on macos", | ||
# "Clippy on ubuntu", | ||
# "Clippy on windows", | ||
#] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters