Use MULTICALL=y at toybox test for faster CI (#10370)

This commit is contained in:
oech3
2026-03-07 17:54:59 +09:00
committed by GitHub
parent 3016496e37
commit ab0b026de6
2 changed files with 4 additions and 5 deletions
+2 -3
View File
@@ -1093,12 +1093,11 @@ jobs:
shell: bash
run: |
sudo apt-get -y update ; sudo apt-get -y install libselinux1-dev
- name: Build coreutils as multiple binaries
- name: Build coreutils
shell: bash
run: |
## Build individual uutil binaries
set -v
make
make MULTICALL=y && (cd target/debug && for binary in $(./coreutils --list);do ln -sf coreutils ${binary};done)
- name: Run toybox src
shell: bash
run: |
+2 -2
View File
@@ -1,4 +1,4 @@
# spell-checker:ignore (misc) testsuite runtest findstring (targets) busytest toybox distclean pkgs nextest ; (vars/env) BINDIR BUILDDIR CARGOFLAGS DESTDIR DOCSDIR INSTALLDIR INSTALLEES MULTICALL DATAROOTDIR TESTDIR manpages
# spell-checker:ignore (misc) testsuite runtest findstring (targets) busytest toybox distclean pkgs nextest ; (vars/env) BINDIR BUILDDIR CARGOFLAGS CFLAGS DESTDIR DOCSDIR INSTALLDIR INSTALLEES MULTICALL DATAROOTDIR TESTDIR manpages
# Config options
ifneq (,$(filter install, $(MAKECMDGOALS)))
@@ -170,7 +170,7 @@ nextest:
${CARGO} nextest run ${CARGOFLAGS} --features "$(TESTS) $(TEST_SPEC_FEATURE)" $(PROFILE_CMD) --no-default-features $(TEST_NO_FAIL_FAST)
test_toybox:
-(cd $(TOYBOX_SRC)/ && make tests)
-(cd $(TOYBOX_SRC)/ && CFLAGS="-pipe -O0 -s" make tests)
toybox-src:
if [ ! -e "$(TOYBOX_SRC)" ] ; then \