chore: work around weird issue with Rust on x86_64.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
James Harton 2024-05-17 16:21:57 +12:00
parent 3c04fd16ce
commit 7e340fe900
Signed by: james
GPG key ID: 90E82DAA13F624F4

View file

@ -60,6 +60,7 @@ steps:
REBAR_BASE_DIR: /drone/src/.rebar3
ASDF_DATA_DIR: /drone/src/.asdf
ASDF_DIR: /root/.asdf
RUSTFLAGS: -Clink-arg=-Wl,--undefined-version
depends_on:
- restore ASDF cache
- restore build cache
@ -133,6 +134,7 @@ steps:
MIX_HOME: /drone/src/.mix
REBAR_BASE_DIR: /drone/src/.rebar3
ASDF_DATA_DIR: /drone/src/.asdf
RUSTFLAGS: -Clink-arg=-Wl,--undefined-version
depends_on:
- install dependencies
commands:
@ -220,37 +222,41 @@ steps:
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_renderer && cargo test)
- (cd native/scenic_renderer && asdf cargo test)
- name: cargo clippy scenic_renderer
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_renderer && cargo clippy)
- (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 && cargo test)
- (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 && cargo clippy)
- (cd native/scenic_window && asdf cargo clippy)
- name: mix git_ops.check_message
image: harton.dev/james/asdf_container:latest