Skip to content

Commit eaaa3cb

Browse files
authored
attempt to fix ci ftbfs ring due to glibc (#156)
no idea why this fixes it if anyone has speculation i'm interested in why but not interested enough to burn time past the solve, since this doesn't happen locally and it fixes the issue
1 parent 5ff8834 commit eaaa3cb

File tree

5 files changed

+30
-2
lines changed

5 files changed

+30
-2
lines changed

.github/workflows/cargo-build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ jobs:
2323
cargobuild:
2424
name: cargo build
2525
runs-on: ubuntu-latest-8-cores
26+
env:
27+
# This envvar is here to prevent `ring` from failing due to a
28+
# glibc linking error. I don't know why this fixes it and I can't
29+
# be bothered to dig in right now.
30+
#
31+
# Remove this when it no longer FTBFS on `ring` in CI.
32+
CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true
2633
steps:
2734
- uses: actions/checkout@v4
2835
- uses: actions-rust-lang/setup-rust-toolchain@v1

.github/workflows/cargo-clippy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ jobs:
2222
cargoclippy:
2323
name: cargo clippy
2424
runs-on: ubuntu-latest
25+
env:
26+
# This envvar is here to prevent `ring` from failing due to a
27+
# glibc linking error. I don't know why this fixes it and I can't
28+
# be bothered to dig in right now.
29+
#
30+
# Remove this when it no longer FTBFS on `ring` in CI.
31+
CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true
2532
steps:
2633
- uses: actions/checkout@v4
2734
- uses: actions-rust-lang/setup-rust-toolchain@v1

.github/workflows/cargo-fmt.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ jobs:
2323
cargofmt:
2424
name: cargo fmt
2525
runs-on: ubuntu-latest
26+
env:
27+
# This envvar is here to prevent `ring` from failing due to a
28+
# glibc linking error. I don't know why this fixes it and I can't
29+
# be bothered to dig in right now.
30+
#
31+
# Remove this when it no longer FTBFS on `ring` in CI.
32+
CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true
2633
steps:
2734
- uses: actions/checkout@v4
2835
- uses: actions-rust-lang/setup-rust-toolchain@v1

.github/workflows/cargo-test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ jobs:
2020
cargotest:
2121
name: cargo test
2222
runs-on: ubuntu-latest
23+
env:
24+
# This envvar is here to prevent `ring` from failing due to a
25+
# glibc linking error. I don't know why this fixes it and I can't
26+
# be bothered to dig in right now.
27+
#
28+
# Remove this when it no longer FTBFS on `ring` in CI.
29+
CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true
2330
steps:
2431
- uses: actions/checkout@v4
2532
- uses: actions-rust-lang/setup-rust-toolchain@v1

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ panic = "abort"
88

99
[workspace]
1010
members = [
11-
"bambulabs",
12-
"moonraker"
11+
"bambulabs",
12+
"moonraker"
1313
]
1414

1515
[features]

0 commit comments

Comments
 (0)