From 865a396ed9aca0e12cc7bd7ce05e53e08064d590 Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Wed, 23 Oct 2024 10:42:09 -0400 Subject: [PATCH 1/8] ok lets blind debug this --- .github/workflows/cargo-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cargo-test.yml b/.github/workflows/cargo-test.yml index 0f02b08..fb88ff3 100644 --- a/.github/workflows/cargo-test.yml +++ b/.github/workflows/cargo-test.yml @@ -28,6 +28,7 @@ jobs: - name: Install dependencies run: | sudo apt-get update + sudo apt full-upgrade -y sudo apt-get install -y \ libudev-dev shell: bash From 0fe637eb27a7a91f00ef4912f9999a6848e6c12a Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Wed, 23 Oct 2024 10:46:39 -0400 Subject: [PATCH 2/8] more --- .github/workflows/cargo-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cargo-test.yml b/.github/workflows/cargo-test.yml index fb88ff3..5b2369c 100644 --- a/.github/workflows/cargo-test.yml +++ b/.github/workflows/cargo-test.yml @@ -20,6 +20,8 @@ jobs: cargotest: name: cargo test runs-on: ubuntu-latest + env: + CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 From 1521556c329a158d9be3bd175896a7b540c6d839 Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Wed, 23 Oct 2024 10:52:24 -0400 Subject: [PATCH 3/8] now try build --- .github/workflows/cargo-build.yml | 1 + .github/workflows/cargo-test.yml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cargo-build.yml b/.github/workflows/cargo-build.yml index 7d210a4..c8001a1 100644 --- a/.github/workflows/cargo-build.yml +++ b/.github/workflows/cargo-build.yml @@ -17,6 +17,7 @@ on: - .github/workflows/cargo-build.yml - rust-toolchain.toml - "openapi/*.json" + permissions: read-all name: cargo build jobs: diff --git a/.github/workflows/cargo-test.yml b/.github/workflows/cargo-test.yml index 5b2369c..5edbf47 100644 --- a/.github/workflows/cargo-test.yml +++ b/.github/workflows/cargo-test.yml @@ -30,7 +30,6 @@ jobs: - name: Install dependencies run: | sudo apt-get update - sudo apt full-upgrade -y sudo apt-get install -y \ libudev-dev shell: bash From 0c134cd83a4d343e97beb1553fa3e162c8f19fdf Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Wed, 23 Oct 2024 10:54:11 -0400 Subject: [PATCH 4/8] .... --- .github/workflows/cargo-build.yml | 1 - .github/workflows/cargo-test.yml | 2 -- 2 files changed, 3 deletions(-) diff --git a/.github/workflows/cargo-build.yml b/.github/workflows/cargo-build.yml index c8001a1..7d210a4 100644 --- a/.github/workflows/cargo-build.yml +++ b/.github/workflows/cargo-build.yml @@ -17,7 +17,6 @@ on: - .github/workflows/cargo-build.yml - rust-toolchain.toml - "openapi/*.json" - permissions: read-all name: cargo build jobs: diff --git a/.github/workflows/cargo-test.yml b/.github/workflows/cargo-test.yml index 5edbf47..0f02b08 100644 --- a/.github/workflows/cargo-test.yml +++ b/.github/workflows/cargo-test.yml @@ -20,8 +20,6 @@ jobs: cargotest: name: cargo test runs-on: ubuntu-latest - env: - CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 From 5bd1fcc140c7775e2dd626918f5edc2f54ba56cc Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Wed, 23 Oct 2024 10:55:05 -0400 Subject: [PATCH 5/8] :frysquint: --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9825239..945cc45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ panic = "abort" [workspace] members = [ - "bambulabs", - "moonraker" + "bambulabs", + "moonraker" ] [features] From 0e5cd4cf857cb98a1ea2e80af1a97743e6a44e7c Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Wed, 23 Oct 2024 10:56:57 -0400 Subject: [PATCH 6/8] what about this --- .github/workflows/cargo-build.yml | 2 ++ .github/workflows/cargo-clippy.yml | 2 ++ .github/workflows/cargo-test.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/cargo-build.yml b/.github/workflows/cargo-build.yml index 7d210a4..ad6eb54 100644 --- a/.github/workflows/cargo-build.yml +++ b/.github/workflows/cargo-build.yml @@ -23,6 +23,8 @@ jobs: cargobuild: name: cargo build runs-on: ubuntu-latest-8-cores + env: + _ZOO_LOAD_BEARING_ENV_VAR: true steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 diff --git a/.github/workflows/cargo-clippy.yml b/.github/workflows/cargo-clippy.yml index acc0a11..1e8bd17 100644 --- a/.github/workflows/cargo-clippy.yml +++ b/.github/workflows/cargo-clippy.yml @@ -22,6 +22,8 @@ jobs: cargoclippy: name: cargo clippy runs-on: ubuntu-latest + env: + _ZOO_LOAD_BEARING_ENV_VAR: true steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 diff --git a/.github/workflows/cargo-test.yml b/.github/workflows/cargo-test.yml index 0f02b08..95bcbf5 100644 --- a/.github/workflows/cargo-test.yml +++ b/.github/workflows/cargo-test.yml @@ -20,6 +20,8 @@ jobs: cargotest: name: cargo test runs-on: ubuntu-latest + env: + _ZOO_LOAD_BEARING_ENV_VAR: true steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 From 901b58efb1822740e3819b599eabffc9dfc7b12f Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Wed, 23 Oct 2024 10:59:16 -0400 Subject: [PATCH 7/8] ... --- .github/workflows/cargo-build.yml | 2 +- .github/workflows/cargo-clippy.yml | 2 +- .github/workflows/cargo-fmt.yml | 2 ++ .github/workflows/cargo-test.yml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cargo-build.yml b/.github/workflows/cargo-build.yml index ad6eb54..a3821b1 100644 --- a/.github/workflows/cargo-build.yml +++ b/.github/workflows/cargo-build.yml @@ -24,7 +24,7 @@ jobs: name: cargo build runs-on: ubuntu-latest-8-cores env: - _ZOO_LOAD_BEARING_ENV_VAR: true + CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 diff --git a/.github/workflows/cargo-clippy.yml b/.github/workflows/cargo-clippy.yml index 1e8bd17..bd6bbdd 100644 --- a/.github/workflows/cargo-clippy.yml +++ b/.github/workflows/cargo-clippy.yml @@ -23,7 +23,7 @@ jobs: name: cargo clippy runs-on: ubuntu-latest env: - _ZOO_LOAD_BEARING_ENV_VAR: true + CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 diff --git a/.github/workflows/cargo-fmt.yml b/.github/workflows/cargo-fmt.yml index 6e59cfb..f4aa82c 100644 --- a/.github/workflows/cargo-fmt.yml +++ b/.github/workflows/cargo-fmt.yml @@ -23,6 +23,8 @@ jobs: cargofmt: name: cargo fmt runs-on: ubuntu-latest + env: + CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 diff --git a/.github/workflows/cargo-test.yml b/.github/workflows/cargo-test.yml index 95bcbf5..5edbf47 100644 --- a/.github/workflows/cargo-test.yml +++ b/.github/workflows/cargo-test.yml @@ -21,7 +21,7 @@ jobs: name: cargo test runs-on: ubuntu-latest env: - _ZOO_LOAD_BEARING_ENV_VAR: true + CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 From 5cc1e1dfa5e7c274760ab45830643e6d0615df2c Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Wed, 23 Oct 2024 11:03:20 -0400 Subject: [PATCH 8/8] tombstone --- .github/workflows/cargo-build.yml | 5 +++++ .github/workflows/cargo-clippy.yml | 5 +++++ .github/workflows/cargo-fmt.yml | 5 +++++ .github/workflows/cargo-test.yml | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/.github/workflows/cargo-build.yml b/.github/workflows/cargo-build.yml index a3821b1..9a49f6e 100644 --- a/.github/workflows/cargo-build.yml +++ b/.github/workflows/cargo-build.yml @@ -24,6 +24,11 @@ jobs: name: cargo build runs-on: ubuntu-latest-8-cores env: + # This envvar is here to prevent `ring` from failing due to a + # glibc linking error. I don't know why this fixes it and I can't + # be bothered to dig in right now. + # + # Remove this when it no longer FTBFS on `ring` in CI. CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/cargo-clippy.yml b/.github/workflows/cargo-clippy.yml index bd6bbdd..a3fe8d6 100644 --- a/.github/workflows/cargo-clippy.yml +++ b/.github/workflows/cargo-clippy.yml @@ -23,6 +23,11 @@ jobs: name: cargo clippy runs-on: ubuntu-latest env: + # This envvar is here to prevent `ring` from failing due to a + # glibc linking error. I don't know why this fixes it and I can't + # be bothered to dig in right now. + # + # Remove this when it no longer FTBFS on `ring` in CI. CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/cargo-fmt.yml b/.github/workflows/cargo-fmt.yml index f4aa82c..45de4bc 100644 --- a/.github/workflows/cargo-fmt.yml +++ b/.github/workflows/cargo-fmt.yml @@ -24,6 +24,11 @@ jobs: name: cargo fmt runs-on: ubuntu-latest env: + # This envvar is here to prevent `ring` from failing due to a + # glibc linking error. I don't know why this fixes it and I can't + # be bothered to dig in right now. + # + # Remove this when it no longer FTBFS on `ring` in CI. CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/cargo-test.yml b/.github/workflows/cargo-test.yml index 5edbf47..991b570 100644 --- a/.github/workflows/cargo-test.yml +++ b/.github/workflows/cargo-test.yml @@ -21,6 +21,11 @@ jobs: name: cargo test runs-on: ubuntu-latest env: + # This envvar is here to prevent `ring` from failing due to a + # glibc linking error. I don't know why this fixes it and I can't + # be bothered to dig in right now. + # + # Remove this when it no longer FTBFS on `ring` in CI. CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true steps: - uses: actions/checkout@v4