Skip to content

Commit

Permalink
Added a GitHub action yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Jowett committed Jun 9, 2023
1 parent e2116ea commit 2ab5818
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Rust CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Rust
uses: actions/setup-rust@v1
with:
rust-version: stable

- name: Build
run: cargo build --verbose

- name: Run tests
run: cargo test --verbose

- name: Clippy
run: cargo clippy --verbose -- -D warnings
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"cSpell.words": [
"Halvar"
"Clippy",
"Halvar",
"swapchain",
"vulkano",
"winit"
]
}
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ edition = "2021"
[dependencies]
vulkano = "0.33.0"
winit = "0.28.3"
vulkano-win = "0.33.0"
vulkano-win = "0.33.0"

0 comments on commit 2ab5818

Please sign in to comment.