chore: Add cargo workspace.
This commit is contained in:
parent
77d0b8579a
commit
b57e9b200b
34
.drone.yml
34
.drone.yml
|
@ -220,7 +220,7 @@ steps:
|
|||
commands:
|
||||
- asdf mix doctor --full
|
||||
|
||||
- name: cargo test scenic_renderer
|
||||
- name: cargo test
|
||||
image: harton.dev/james/asdf_container:latest
|
||||
environment:
|
||||
ASDF_DATA_DIR: /drone/src/.asdf
|
||||
|
@ -228,9 +228,9 @@ steps:
|
|||
depends_on:
|
||||
- install dependencies
|
||||
commands:
|
||||
- (cd native/scenic_renderer && asdf cargo test)
|
||||
- asdf cargo test
|
||||
|
||||
- name: cargo clippy scenic_renderer
|
||||
- name: cargo clippy
|
||||
image: harton.dev/james/asdf_container:latest
|
||||
environment:
|
||||
ASDF_DATA_DIR: /drone/src/.asdf
|
||||
|
@ -238,27 +238,7 @@ steps:
|
|||
depends_on:
|
||||
- install dependencies
|
||||
commands:
|
||||
- (cd native/scenic_renderer && asdf cargo clippy)
|
||||
|
||||
- name: cargo test scenic_window
|
||||
image: harton.dev/james/asdf_container:latest
|
||||
environment:
|
||||
ASDF_DATA_DIR: /drone/src/.asdf
|
||||
RUSTFLAGS: -Clink-arg=-Wl,--undefined-version
|
||||
depends_on:
|
||||
- install dependencies
|
||||
commands:
|
||||
- (cd native/scenic_window && asdf cargo test)
|
||||
|
||||
- name: cargo clippy scenic_window
|
||||
image: harton.dev/james/asdf_container:latest
|
||||
environment:
|
||||
ASDF_DATA_DIR: /drone/src/.asdf
|
||||
RUSTFLAGS: -Clink-arg=-Wl,--undefined-version
|
||||
depends_on:
|
||||
- install dependencies
|
||||
commands:
|
||||
- (cd native/scenic_window && asdf cargo clippy)
|
||||
- asdf cargo clippy
|
||||
|
||||
- name: mix git_ops.check_message
|
||||
image: harton.dev/james/asdf_container:latest
|
||||
|
@ -290,10 +270,8 @@ steps:
|
|||
- mix deps.unlock
|
||||
- mix doctor
|
||||
- mix git_ops.check_message
|
||||
- cargo test scenic_window
|
||||
- cargo clippy scenic_window
|
||||
- cargo test scenic_renderer
|
||||
- cargo clippy scenic_renderer
|
||||
- cargo test
|
||||
- cargo clippy
|
||||
environment:
|
||||
MIX_ENV: test
|
||||
HEX_HOME: /drone/src/.hex
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -27,3 +27,5 @@ scenic_driver_renderling-*.tar
|
|||
|
||||
priv/__scenic
|
||||
priv/native
|
||||
|
||||
target/
|
||||
|
|
3170
Cargo.lock
generated
Normal file
3170
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
6
Cargo.toml
Normal file
6
Cargo.toml
Normal file
|
@ -0,0 +1,6 @@
|
|||
[workspace]
|
||||
members = [
|
||||
"native/scenic_renderer",
|
||||
"native/scenic_window",
|
||||
]
|
||||
resolver = "2"
|
Loading…
Reference in a new issue