-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split CI into OS-specific workflows (#351)
* Split CI into OS-specific workflows * I hate github actions * Simplifications and clarifications * Update README * Fix * Fix * Try * Explicit jobs are much clearer
- Loading branch information
Showing
5 changed files
with
136 additions
and
100 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: 'Linux' | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
schedule: | ||
- cron: "0 6 * * *" | ||
|
||
jobs: | ||
linux-build-and-test-stable: | ||
uses: './.github/workflows/01-build-and-test-unix.yml' | ||
with: | ||
os: 'ubuntu-latest' | ||
toolchain: 'stable' | ||
|
||
linux-build-and-test-beta: | ||
uses: './.github/workflows/01-build-and-test-unix.yml' | ||
with: | ||
os: 'ubuntu-latest' | ||
toolchain: 'beta' | ||
|
||
linux-build-and-test-msrv: | ||
uses: './.github/workflows/01-build-and-test-unix.yml' | ||
with: | ||
os: 'ubuntu-latest' | ||
toolchain: '1.63' | ||
msrv: true | ||
|
||
# Nightly check is performed on ubuntu only. | ||
linux-build-and-test-nightly: | ||
uses: './.github/workflows/01-build-and-test-unix.yml' | ||
with: | ||
os: 'ubuntu-latest' | ||
toolchain: 'nightly' | ||
|
||
linux-coverage-stable: | ||
uses: './.github/workflows/02-coverage.yml' | ||
with: | ||
os: 'ubuntu-latest' | ||
|
||
linux-lint-stable: | ||
uses: './.github/workflows/03-lint.yml' | ||
with: | ||
os: 'ubuntu-latest' |
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,39 @@ | ||
name: 'Mac OS' | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
schedule: | ||
- cron: "0 6 * * *" | ||
|
||
jobs: | ||
macos-build-and-test-stable: | ||
uses: './.github/workflows/01-build-and-test-unix.yml' | ||
with: | ||
os: 'macos-latest' | ||
toolchain: 'stable' | ||
|
||
macos-build-and-test-beta: | ||
uses: './.github/workflows/01-build-and-test-unix.yml' | ||
with: | ||
os: 'macos-latest' | ||
toolchain: 'beta' | ||
|
||
macos-build-and-test-msrv: | ||
uses: './.github/workflows/01-build-and-test-unix.yml' | ||
with: | ||
os: 'macos-latest' | ||
toolchain: '1.63' | ||
msrv: true | ||
|
||
macos-coverage-stable: | ||
uses: './.github/workflows/02-coverage.yml' | ||
with: | ||
os: 'macos-latest' | ||
|
||
macos-lint-stable: | ||
uses: './.github/workflows/03-lint.yml' | ||
with: | ||
os: 'macos-latest' |
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,48 @@ | ||
name: 'Windows' | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
schedule: | ||
- cron: "0 6 * * *" | ||
|
||
jobs: | ||
windows-build-and-test-stable: | ||
uses: './.github/workflows/01-build-and-test-windows.yml' | ||
with: | ||
os: 'windows-latest' | ||
toolchain: 'stable' | ||
secrets: | ||
NPCAP_OEM_PASSWORD: ${{ secrets.NPCAP_OEM_PASSWORD }} | ||
NPCAP_OEM_USERNAME: ${{ secrets.NPCAP_OEM_USERNAME }} | ||
|
||
windows-build-and-test-beta: | ||
uses: './.github/workflows/01-build-and-test-windows.yml' | ||
with: | ||
os: 'windows-latest' | ||
toolchain: 'beta' | ||
secrets: | ||
NPCAP_OEM_PASSWORD: ${{ secrets.NPCAP_OEM_PASSWORD }} | ||
NPCAP_OEM_USERNAME: ${{ secrets.NPCAP_OEM_USERNAME }} | ||
|
||
windows-build-and-test-msrv: | ||
uses: './.github/workflows/01-build-and-test-windows.yml' | ||
with: | ||
os: 'windows-latest' | ||
toolchain: '1.63' | ||
msrv: true | ||
secrets: | ||
NPCAP_OEM_PASSWORD: ${{ secrets.NPCAP_OEM_PASSWORD }} | ||
NPCAP_OEM_USERNAME: ${{ secrets.NPCAP_OEM_USERNAME }} | ||
|
||
windows-coverage-stable: | ||
uses: './.github/workflows/02-coverage.yml' | ||
with: | ||
os: 'windows-latest' | ||
|
||
windows-lint-stable: | ||
uses: './.github/workflows/03-lint.yml' | ||
with: | ||
os: 'windows-latest' |
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