Skip to content

Commit 88bab8d

Browse files
v9nchrisli30
andauthored
Inspect node compiler (#476)
* show glibc version of runner and final artifact * Update release.yml --------- Co-authored-by: Chris Li <chrisli30@users.noreply.github.com>
1 parent e430542 commit 88bab8d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,21 @@ jobs:
1818
ref: ${{ github.event.inputs.tag }}
1919
- name: Setup Rust
2020
run: rustup show
21+
22+
- name: Inspect node runner env
23+
run: |
24+
# Output our glibc version of the github runner
25+
ldd --version
26+
2127
- name: Build
2228
run: |
2329
cargo build --locked --release --features turing-node,oak-node
2430
mkdir -p artifacts/
2531
cp target/release/oak-collator artifacts/
32+
- name: Inspect glibc
33+
run: |
34+
# We current support glibc <= 2.31(Ubuntu 20 LTS). Expect all output of a smaller or equal glibc version.
35+
objdump -T target/release/oak-collator | grep GLIBC | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -Vu
2636
- name: Build debian
2737
run: |
2838
cargo install cargo-deb

0 commit comments

Comments
 (0)