Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
cross build --examples --bins --release --target aarch64-unknown-linux-gnu
mv target/aarch64-unknown-linux-gnu/release/STS1_EDU_Scheduler .
mv target/aarch64-unknown-linux-gnu/release/examples/cli .
mv target/aarch64-unknown-linux-gnu/release/simple-archive
cp scheduler/config.toml .
cp scheduler/scheduler.service .
- name: Upload artifact
Expand All @@ -28,3 +29,4 @@ jobs:
config.toml
scheduler.service
cli
simple-archive
16 changes: 15 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install
run: sudo apt install socat libudev-dev
- name: Build
run: cargo build --release
run: cargo build --release -p STS1_EDU_Scheduler
- name: Run tests
run: cargo test --release --features mock

Expand All @@ -29,3 +29,17 @@ jobs:
run: cargo clippy -- -D warnings
- name: Formatting
run: cargo fmt --all --check

tools:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
cargo build --release -p simple-archive
mv target/release/simple-archive ./sa
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: amd64 package
path: sa
Loading