}
for phase in "${PHASES[@]}"; do
+ opts=()
case $phase in
+ CONFIGUREFAST)
+ opts+=(
+ --disable-poman
+ --disable-asciidoc
+ --disable-gtk-doc
+ )
+ # fallthrough
+ ;&
CONFIGURE)
- opts=(
+ opts+=(
--disable-use-tty-group
--disable-makeinstall-chown
--enable-all-programs
CC="$CC" CXX="$CXX" CFLAGS="${CFLAGS[@]}" CXXFLAGS="${CXXFLAGS[@]}" LDFLAGS="${LDFLAGS[@]}" ./configure "${opts[@]}"
;;
MAKE)
- make -j"$(nproc)"
- make -j"$(nproc)" check-programs
+ make -j"$(nproc)" V=1
+ make -j"$(nproc)" V=1 check-programs
untracked_files="$(git ls-files --others --exclude-standard)"
if [ -n "$untracked_files" ]; then
- name: Ubuntu setup
run: sudo -E .github/workflows/cibuild-setup-ubuntu.sh
- name: Configure
- run: .github/workflows/cibuild.sh CONFIGURE
+ run: .github/workflows/cibuild.sh CONFIGUREFAST
- name: Code checks
run: .github/workflows/cibuild.sh CODECHECK
- name: Configure & Make
- name: Ubuntu setup
run: sudo -E .github/workflows/cibuild-setup-ubuntu.sh
- name: Configure & Make
- run: .github/workflows/cibuild.sh CONFIGURE MAKE
+ run: .github/workflows/cibuild.sh CONFIGUREFAST MAKE
- name: Check
run: sudo -E .github/workflows/cibuild.sh CHECK
- name: Coveralls
- name: Ubuntu setup
run: .github/workflows/cibuild-setup-ubuntu.sh
- name: Configure
- run: .github/workflows/cibuild.sh CONFIGURE
+ run: .github/workflows/cibuild.sh CONFIGUREFAST
- name: Code checks
run: .github/workflows/cibuild.sh CODECHECK
- name: Configure & Make
.github/workflows/cibuild-setup-ubuntu.sh
git config --global --add safe.directory "$PWD"
# Configure & Make
- .github/workflows/cibuild.sh CONFIGURE MAKE
+ .github/workflows/cibuild.sh CONFIGUREFAST MAKE
# Check
.github/workflows/cibuild.sh CHECK
- name: Configure
run: |
source .github/workflows/openwrt-sdk-env.sh ~/${{ env.OPENWRT_SDK }}
- .github/workflows/cibuild.sh CONFIGURE
+ .github/workflows/cibuild.sh CONFIGUREFAST
- name: Make
run: |
source .github/workflows/openwrt-sdk-env.sh ~/${{ env.OPENWRT_SDK }}