Skip to content

Commit 3236b9b

Browse files
author
Florian Guggi
committed
feat: Add tool for extracting simple-archives
1 parent 64148b8 commit 3236b9b

File tree

5 files changed

+307
-6
lines changed

5 files changed

+307
-6
lines changed

.github/workflows/cross.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
cross build --examples --bins --release --target aarch64-unknown-linux-gnu
1818
mv target/aarch64-unknown-linux-gnu/release/STS1_EDU_Scheduler .
1919
mv target/aarch64-unknown-linux-gnu/release/examples/cli .
20+
mv target/aarch64-unknown-linux-gnu/release/simple-archive
2021
cp scheduler/config.toml .
2122
cp scheduler/scheduler.service .
2223
- name: Upload artifact
@@ -28,3 +29,4 @@ jobs:
2829
config.toml
2930
scheduler.service
3031
cli
32+
simple-archive

.github/workflows/rust.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Install
1616
run: sudo apt install socat libudev-dev
1717
- name: Build
18-
run: cargo build --release
18+
run: cargo build --release -p STS1_EDU_Scheduler
1919
- name: Run tests
2020
run: cargo test --release --features mock
2121

@@ -29,3 +29,17 @@ jobs:
2929
run: cargo clippy -- -D warnings
3030
- name: Formatting
3131
run: cargo fmt --all --check
32+
33+
tools:
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v4
37+
- name: Build
38+
run: |
39+
cargo build --release -p simple-archive
40+
mv target/release/simple-archive ./sa
41+
- name: Upload artifact
42+
uses: actions/upload-artifact@v4
43+
with:
44+
name: amd64 package
45+
path: sa

0 commit comments

Comments
 (0)