commit 97cf92e5f624f1f2ed99fcccab268004e2a9ab66
parent 8fc34552ca5b27bd5bbf48e90e0578de1f5f1f00
Author: Matt Demanett <matt@demanett.net>
Date: Sun, 19 Jul 2020 22:04:46 -0400
Attempt to make it easier to find build errors in mac autobuild.
Diffstat:
2 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/.github/actions/build_osx/Dockerfile b/.github/actions/build_osx/Dockerfile
@@ -2,8 +2,8 @@
FROM debian
RUN apt-get update && \
- apt-get upgrade -yy && \
- apt-get install -yy \
+ apt-get upgrade -yy -qq && \
+ apt-get install -yy -qq \
automake \
bison \
curl \
@@ -26,10 +26,10 @@ RUN apt-get update && \
libgl1-mesa-dev \
libglu1-mesa-dev \
jq \
- rsync
+ rsync > /dev/null
ENV OSXCROSS_SDK_VERSION 10.11
-RUN SDK_VERSION=$OSXCROSS_SDK_VERSION \
+RUN ((SDK_VERSION=$OSXCROSS_SDK_VERSION \
mkdir /opt/osxcross && \
cd /opt && \
git clone https://github.com/tpoechtrager/osxcross.git && \
@@ -40,7 +40,7 @@ RUN SDK_VERSION=$OSXCROSS_SDK_VERSION \
curl -L -o ./tarballs/MacOSX${OSXCROSS_SDK_VERSION}.sdk.tar.xz \
https://github.com/apriorit/osxcross-sdks/raw/master/MacOSX${OSXCROSS_SDK_VERSION}.sdk.tar.xz && \
yes | PORTABLE=true ./build.sh && \
- ./build_compiler_rt.sh
+ ./build_compiler_rt.sh) &> /tmp/build.out) || cat /tmp/build.out
ENV PATH $PATH:/opt/osxcross/target/bin
diff --git a/.github/actions/build_osx/entrypoint.sh b/.github/actions/build_osx/entrypoint.sh
@@ -2,6 +2,18 @@
set -eu
+echo
+echo
+echo
+echo
+echo
+echo Actual build starts now....
+echo
+echo
+echo
+echo
+echo
+
export RACK_DIR=${GITHUB_WORKSPACE}/Rack-SDK
export RACK_USER_DIR=${GITHUB_WORKSPACE}
@@ -10,7 +22,7 @@ export CXX=x86_64-apple-darwin15-clang++
export STRIP=x86_64-apple-darwin15-strip
curl -L https://vcvrack.com/downloads/Rack-SDK-${RACK_SDK_VERSION}.zip -o rack-sdk.zip
-unzip -o rack-sdk.zip
+unzip -q -o rack-sdk.zip
rm rack-sdk.zip
make dist