Skip to content

Commit

Permalink
TRY-31 enhance workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
bircni committed Oct 21, 2023
1 parent 1eb944d commit f2d337c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust
name: Rust Linux

on:
push:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/rust-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Rust Windows

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Rust](https://github.com/TrayRacers/Raytracing/actions/workflows/rust.yml/badge.svg)](https://github.com/TrayRacers/Raytracing/actions/workflows/rust.yml)
[![Linux](https://github.com/TrayRacers/Raytracing/actions/workflows/rust-linux.yml/badge.svg)](https://github.com/TrayRacers/Raytracing/actions/workflows/rust-linux.yml)
[![Windows](https://github.com/TrayRacers/Raytracing/actions/workflows/rust-windows.yml/badge.svg)](https://github.com/TrayRacers/Raytracing/actions/workflows/rust-windows.yml)

# Raytracing

Expand Down

0 comments on commit f2d337c

Please sign in to comment.