-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔨 Rename workflows to follow nomenclature
The various workflows were all over the place in terms of naming. This tries to start a new nomenclature for `scheduled-` and `deploy-` prefixes for scheduled CI runs and deployments respectively, and to use `community-` for any community-driven workflows such as bots. Basic CI will now be just `ci`, and other workflows lack a distinct name (for now). In the process, some redundant or unused trigger settings have been dropped.
- Loading branch information
1 parent
bd6d150
commit 7f53a48
Showing
8 changed files
with
69 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Build and Test | ||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
build: | ||
name: Build and Test | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
# - windows-latest | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Prepare runner | ||
uses: ./.github/actions/prepare-runner | ||
|
||
- name: Install toolchain | ||
uses: ./.github/actions/rust-toolchain | ||
with: | ||
components: llvm-tools-preview | ||
|
||
- name: Build | ||
id: build | ||
uses: ./.github/actions/cargo-build | ||
|
||
- name: Test | ||
id: test | ||
run: | | ||
ls -la $VULKAN_SDK/lib | ||
cargo test --verbose | ||
- name: Doctest | ||
if: contains(fromJSON('["success", "failure"]'), steps.test.conclusion) | ||
run: | | ||
ls -la $VULKAN_SDK/lib | ||
cargo test --doc --verbose | ||
- name: Coverage | ||
uses: ./.github/actions/cargo-code-coverage | ||
with: | ||
output-file: ${{ matrix.os }}-codecov.json | ||
minimum-requirement: 0.0 |
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
File renamed without changes.
File renamed without changes.
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
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