Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Commit 7d1fa07

Browse files
committed
Create rust.yml
1 parent cef81f6 commit 7d1fa07

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/rust.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Build Linux x86_64
18+
run: cargo build --release --verbose
19+
- name: Upload a Build Artifact
20+
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
21+
with:
22+
name: RealFS-linux-x86_64
23+
path: ./target/release/realfs
24+
- name: Add Windows build target
25+
run: rustup target add x86_64-pc-windows-gnu
26+
- name: Build Windows x86_64
27+
run: cargo build --target x86_64-pc-windows-gnu --release --verbose
28+
- name: Upload a Build Artifact
29+
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
30+
with:
31+
name: RealFS-windows-x86_64
32+
path: ./target/release/RealFS.exe

0 commit comments

Comments
 (0)