Skip to content

Commit

Permalink
test buckify
Browse files Browse the repository at this point in the history
  • Loading branch information
shayne-fletcher committed Jan 22, 2024
1 parent 8815ee8 commit 4494f85
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,30 @@ jobs:
- uses: Swatinem/rust-cache@v2
- run: cargo build --locked
- run: cargo test
- run: |
mkdir -p shim/third-party/rust/top
cat >> shim/third-party/rust/top/main.rs<<EOF
fn main() {}
EOF
cat >> shim/third-party/rust/Cargo.toml<<EOF
[workspace]
[package]
name = "rust-third-party"
version = "0.0.0"
publish = false
edition = "2021"
[[bin]]
name = "top"
path = "top/main.rs"
[dependencies]
anyhow = "1.0.65"
EOF
cargo run -- --third-party-dir shim/third-party/rust buckify
cat shim/third-party/rust/BUCK
shell: bash

0 comments on commit 4494f85

Please sign in to comment.