From 88bab8dedfa791bb2fd8dca8a0128e4401a23078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vinh=20Qu=E1=BB=91c=20Nguy=E1=BB=85n?= Date: Tue, 12 Dec 2023 16:11:57 -0800 Subject: [PATCH] Inspect node compiler (#476) * show glibc version of runner and final artifact * Update release.yml --------- Co-authored-by: Chris Li --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e6e85521..3c20cf96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,11 +18,21 @@ jobs: ref: ${{ github.event.inputs.tag }} - name: Setup Rust run: rustup show + + - name: Inspect node runner env + run: | + # Output our glibc version of the github runner + ldd --version + - name: Build run: | cargo build --locked --release --features turing-node,oak-node mkdir -p artifacts/ cp target/release/oak-collator artifacts/ + - name: Inspect glibc + run: | + # We current support glibc <= 2.31(Ubuntu 20 LTS). Expect all output of a smaller or equal glibc version. + objdump -T target/release/oak-collator | grep GLIBC | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -Vu - name: Build debian run: | cargo install cargo-deb