Skip to content

Commit

Permalink
move cc-test & gen-windows-sys-binding into workspace
Browse files Browse the repository at this point in the history
put these helper crates inside a new dev-tools directory
to make it obvious what their purpose is
  • Loading branch information
Be-ing committed Jan 29, 2024
1 parent 6320cf3 commit 2a93aff
Show file tree
Hide file tree
Showing 31 changed files with 12 additions and 12 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,9 @@ jobs:
sudo apt-get update
sudo apt-get install g++-multilib
if: matrix.build == 'linux32'
- run: cargo test ${{ matrix.no_run }}
- run: cargo test ${{ matrix.no_run }} --features parallel
- run: cargo test ${{ matrix.no_run }} --manifest-path cc-test/Cargo.toml --target ${{ matrix.target }}
- run: cargo test ${{ matrix.no_run }} --manifest-path cc-test/Cargo.toml --target ${{ matrix.target }} --features parallel
- run: cargo test ${{ matrix.no_run }} --manifest-path cc-test/Cargo.toml --target ${{ matrix.target }} --release
- run: cargo test ${{ matrix.no_run }} --workspace --target ${{ matrix.target }}
- run: cargo test ${{ matrix.no_run }} --workspace --target ${{ matrix.target }} --release
- run: cargo test ${{ matrix.no_run }} --workspace --target ${{ matrix.target }} --features parallel

check-tvos:
name: Test aarch64-apple-tvos
Expand Down Expand Up @@ -147,8 +145,8 @@ jobs:
run: cargo +nightly update -Zminimal-versions
- name: Cache downloaded crates since 1.53 is really slow in fetching
uses: Swatinem/rust-cache@v2
- run: cargo check --lib
- run: cargo check --lib --all-features
- run: cargo check --lib -p cc
- run: cargo check --lib -p cc --all-features

clippy:
name: Clippy
Expand Down
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ parallel = []

[dev-dependencies]
tempfile = "3"

[workspace]
members = [
"dev-tools/cc-test",
"dev-tools/gen-windows-sys-binding",
]
2 changes: 1 addition & 1 deletion cc-test/Cargo.toml → dev-tools/cc-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ doctest = false
test = false

[build-dependencies]
cc = { path = ".." }
cc = { path = "../.." }
which = "^4.0"

[features]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,3 @@ publish = false

[dependencies]
windows-bindgen = "0.49"

# Prevent this from interfering with workspaces
[workspace]
members = ["."]
File renamed without changes.
File renamed without changes.

0 comments on commit 2a93aff

Please sign in to comment.