Merge pull request #122 from Snowiiii/dependabot/github_actions/actio… #424
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
name: Rust | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-linux: | |
name: Linux Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Prepare Vulkan SDK | |
uses: humbletim/[email protected] | |
with: | |
vulkan-query-version: 1.3.204.0 | |
vulkan-components: Vulkan-Headers, Vulkan-Loader, Glslang | |
vulkan-use-cache: true | |
- name: Setup Rust toolchain | |
uses: actions-rust-lang/[email protected] | |
- name: Run test | |
run: cargo test | |
build-windows: | |
name: Windows Build | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Prepare Vulkan SDK | |
uses: humbletim/[email protected] | |
with: | |
vulkan-query-version: 1.3.204.0 | |
vulkan-components: Vulkan-Headers, Vulkan-Loader, Glslang | |
vulkan-use-cache: true | |
- name: Setup Rust toolchain | |
uses: actions-rust-lang/[email protected] | |
- name: Run test | |
run: cargo test |