Skip to content

Commit

Permalink
Add artifact build
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimach committed Jul 25, 2024
1 parent 59904f8 commit 0e45015
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,30 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Build
- name: Build (Debug)
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Build (release)
run: cargo build --target x86_64-unknown-linux-gnu
- uses: actions/upload-artifact@v4
with:
name: Linux Build
path: target/x86_64-unknown-linux-gnu/release/rtracy

build-windows:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Build
- name: Build (Debug)
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Build (release)
run: cargo build --target x86_64-pc-windows-msvc
- uses: actions/upload-artifact@v4
with:
name: Windows Build
path: target/x86_64-pc-windows-msvc/release/rtracy.exe

0 comments on commit 0e45015

Please sign in to comment.