Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Rust

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

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Linux x86_64
run: cargo build --release --verbose
- name: Upload a Build Artifact
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
with:
name: RealFS-linux-x86_64
path: ./target/release/realfs
- name: Add Windows build target
run: |
sudo apt-get install -y mingw-w64
rustup target add x86_64-pc-windows-gnu
- name: Build Windows x86_64
run: cargo build --target x86_64-pc-windows-gnu --release --verbose
- name: Upload a Build Artifact
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
with:
name: RealFS-windows-x86_64
path: ./target/x86_64-pc-windows-gnu/release/realfs.exe