Skip to content

fix: proper handling of .group sections in partial link mode #2404

fix: proper handling of .group sections in partial link mode

fix: proper handling of .group sections in partial link mode #2404

Workflow file for this run

name: Run external tests
on:
push:
branches:
- main
pull_request:
branches:
- "**"
permissions: {}
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-D warnings"
jobs:
external-tests:
name: Run mold tests
runs-on: ubuntu-24.04
timeout-minutes: 10
container:
image: "ubuntu:25.04"
steps:
- run: |
apt-get update && apt-get -y install gcc g++ clang lld curl bubblewrap git zstd qemu-user gdb dwarfdump perl wget xz-utils \
binutils-aarch64-linux-gnu binutils-riscv64-linux-gnu binutils-loongarch64-linux-gnu \
gcc-aarch64-linux-gnu gcc-riscv64-linux-gnu gcc-loongarch64-linux-gnu \
g++-aarch64-linux-gnu g++-riscv64-linux-gnu g++-loongarch64-linux-gnu \
&& mkdir /sde && wget -O- -q https://downloadmirror.intel.com/859732/sde-external-9.58.0-2025-06-16-lin.tar.xz | tar -C /sde --strip-components=1 --xz -xf - && ln -s /sde/sde64 /usr/bin
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
id: rust-toolchain
- uses: Swatinem/rust-cache@v2
- name: Check regressions
run: WILD_TEST_CROSS=all cargo test --features mold_tests external_test_suites/mold -- --skip expect_failure
- name: Check tests that should fail still fail
run: WILD_TEST_CROSS=all cargo test --features mold_tests expect_failure