mirror of
https://github.com/rui314/mold.git
synced 2026-11-07 09:16:04 -10:00
Run the Mach-O CI on mold's packages
The Mach-O shell tests are now the mold package's macho-integration test. The executable is built with the Mach-O targets alone, and only the Mach-O crates' unit tests run on the macOS runner.
This commit is contained in:
1 parent
b0302fbcaf
commit
227af62689
1 file changed
+6
-3
@@ -38,9 +38,12 @@ jobs:
|
||||
# default timeout, as mold's CI gives its slow configurations more:
|
||||
# here the simulator's tests are slow, lldb's above all, whose lldb
|
||||
# session alone takes ten seconds on a Mac, and the first of which
|
||||
# ran past a minute on the hosted runners.
|
||||
- run: cargo test --workspace --lib --bins
|
||||
- run: cargo test -p mold-macho-cli --test integration -- --timeout 120
|
||||
# ran past a minute on the hosted runners. The executable is built
|
||||
# without the ELF targets, which these tests don't use.
|
||||
- run: cargo test --locked -p mold-macho -p mold-macho-tests --lib
|
||||
- run: |
|
||||
cargo test --locked -p mold --no-default-features --features macho-arm64,macho-x86_64 \
|
||||
--test macho-integration -- --timeout 120
|
||||
|
||||
# The harness reports only which tests failed; each test's log
|
||||
# and its output directory are kept under the target directory.
|
||||
|
||||
Reference in new issue
Block a user