Desktop in same workspace as main app
This commit is contained in:
parent
d6b1c47d45
commit
1ae81c6cb0
4 changed files with 2371 additions and 86 deletions
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
|
|
@ -27,18 +27,6 @@ jobs:
|
||||||
- run: rustup override set ${{ matrix.rust_version }}
|
- run: rustup override set ${{ matrix.rust_version }}
|
||||||
- name: cargo check
|
- name: cargo check
|
||||||
run: cargo check
|
run: cargo check
|
||||||
check-desktop:
|
|
||||||
runs-on: windows-latest
|
|
||||||
steps:
|
|
||||||
- name: rustup toolchain install 1.75
|
|
||||||
run: |
|
|
||||||
rustup toolchain install 1.75
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
|
||||||
- run: rustup override set 1.75
|
|
||||||
- name: cargo check desktop
|
|
||||||
working-directory: desktop/src-tauri
|
|
||||||
run: cargo check
|
|
||||||
test:
|
test:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -48,5 +36,7 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: rustup toolchain install stable --profile minimal
|
- run: rustup toolchain install stable --profile minimal
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
prefix-key: v1
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test
|
run: cargo test
|
||||||
|
|
|
||||||
2433
Cargo.lock
generated
2433
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -11,11 +11,11 @@ members = [
|
||||||
"crates/peer_binary_protocol",
|
"crates/peer_binary_protocol",
|
||||||
"crates/dht",
|
"crates/dht",
|
||||||
"crates/upnp",
|
"crates/upnp",
|
||||||
"crates/tracker_comms", "crates/upnp-serve",
|
"crates/tracker_comms",
|
||||||
|
"crates/upnp-serve",
|
||||||
|
"desktop/src-tauri",
|
||||||
]
|
]
|
||||||
|
default-members = ["crates/rqbit"]
|
||||||
[profile.dev]
|
|
||||||
panic = "abort"
|
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
panic = "abort"
|
panic = "abort"
|
||||||
|
|
|
||||||
|
|
@ -37,5 +37,3 @@ gethostname = "0.5.0"
|
||||||
# this feature is used for production builds or when `devPath` points to the filesystem
|
# this feature is used for production builds or when `devPath` points to the filesystem
|
||||||
# DO NOT REMOVE!!
|
# DO NOT REMOVE!!
|
||||||
custom-protocol = ["tauri/custom-protocol"]
|
custom-protocol = ["tauri/custom-protocol"]
|
||||||
|
|
||||||
[workspace]
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue