pr_crictl: avoid building enclave-tls related packages
@@ -30,6 +30,7 @@ jobs:
fi;
echo "rune_test=$rune_test" >> $GITHUB_ENV
+ # FIXME: Don't run make package to build shelter, inclavared and enclave-tls due to bug
- name: Build and install packages
run: docker exec $rune_test bash -c 'trap "error_handler $?" ERR;
error_handler() { local err=$?; printf "Cleaning up with exit code $err ...\n"; exit $err; };
@@ -40,6 +41,9 @@ jobs:
cp /root/v${{ env.RUNE_VERSION }}.tar.gz /root/rpmbuild/SOURCES/;
echo "${{ env.RUNE_VERSION }}" > VERSION;
find ./ -path "*dist/Makefile" | xargs -I files sed -i "16 d" files;
+ sed -i "s/shelter//g" Makefile;
+ sed -i "s/inclavared//g" Makefile;
+ sed -i "s/enclave-tls//g" Makefile;
make package RPMBUILD_DIR=/root/rpmbuild RELEASE_TARBALL_FILE=/root/rpmbuild/SOURCES/v${{ env.RUNE_VERSION }}.tar.gz RELEASE_TARBALL_EXIST=y -j${{ env.CPU_NUM }};
rpm -ivh rune-${{ env.RUNE_VERSION }}-1.el8.x86_64.rpm;
rpm -ivh shim-rune-${{ env.RUNE_VERSION }}-1.el8.x86_64.rpm'
