- name: Build RPMs
run: |
[ -r /opt/rh/devtoolset-8/enable ] && source /opt/rh/devtoolset-8/enable || :
- ./configure
make rpm
working-directory: freeradius
[ -r /opt/rh/devtoolset-8/enable ] && source /opt/rh/devtoolset-8/enable || :
echo "top_srcdir:=$(pwd)" > Make.inc
echo "BUILD_DIR:=build" >> Make.inc
+ ./configure --without-openssl
make -j `nproc` eapol_test
mv scripts/ci/eapol_test/eapol_test ../rpms
working-directory: freeradius
# the debian packages.
#
ifneq "$(MAKECMDGOALS)" "deb"
+ifneq "$(MAKECMDGOALS)" "rpm"
ifeq "$(findstring crossbuild,$(MAKECMDGOALS))" ""
$(if $(wildcard Make.inc),,$(error Missing 'Make.inc' Run './configure [options]' and retry))
include Make.inc
endif
endif
+endif
#
# 'configure' was not run? Get the version number from the file.
# Don't try to do a local build.
#
ifneq "$(MAKECMDGOALS)" "deb"
+ifneq "$(MAKECMDGOALS)" "rpm"
ifeq "$(findstring crossbuild,$(MAKECMDGOALS))" ""
#
# Include all of the autoconf definitions into the Make variable space
include scripts/boiler.mk
endif
endif
+endif
#
# The $(R) is a magic variable not defined anywhere in this source.