From 576da97b106fa20b21a0ee1c951bc3244b991ce3 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Thu, 7 May 2020 00:00:22 +0200 Subject: [PATCH] Remove Boost compilation for the GitHub workflows These are now built into the image since building the minimal version of Boost we need took minutes on the CI machines even though it should only a few seconds. --- .github/workflows/build.yml | 95 ------------------------------------- 1 file changed, 95 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b92ec4ea..20e7321a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,52 +38,6 @@ jobs: run: | export ARCHIVE_NAME=yabridge-$(git describe --always)-ubuntu-18.04.tar.gz echo ::set-env "name=ARCHIVE_NAME::$ARCHIVE_NAME" - - name: Compile Boost - run: | - set -e - - cd /tmp - wget --quiet --max-redirect 3 "$BOOST_URL" - echo "$BOOST_CHECKSUM" | sha256sum -c - tar -xf "boost_${BOOST_VERSION}.tar.gz" - rm "boost_${BOOST_VERSION}.tar.gz" - - cd boost_${BOOST_VERSION} - ./bootstrap.sh --with-toolset=gcc --with-icu --with-python= - - # 32-bit build - ./b2 \ - variant=release \ - debug-symbols=off \ - threading=multi \ - runtime-link=shared \ - link=shared,static \ - toolset=gcc \ - address-model=32 \ - cflags="${CPPFLAGS} ${CFLAGS} -m32 -fPIC -O3" \ - cxxflags="${CPPFLAGS} ${CXXFLAGS} -m32 -std=c++14 -fPIC -O3" \ - linkflags="${LDFLAGS} -m32" \ - --with-filesystem \ - --libdir=/usr/local/lib/i386-linux-gnu \ - -j $(nproc) \ - \ - install - - # 64-bit build - ./b2 \ - variant=release \ - debug-symbols=off \ - threading=multi \ - runtime-link=shared \ - link=shared,static \ - toolset=gcc \ - address-model=64 \ - cflags="${CPPFLAGS} ${CFLAGS} -fPIC -O3" \ - cxxflags="${CPPFLAGS} ${CXXFLAGS} -std=c++14 -fPIC -O3" \ - --with-filesystem \ - -j $(nproc) \ - \ - install - name: Build the binaries run: | # Wine won't create a Wine prefix in ~/.wine because /github/home is @@ -127,55 +81,6 @@ jobs: run: | export ARCHIVE_NAME=yabridge-$(git describe --always).tar.gz echo ::set-env "name=ARCHIVE_NAME::$ARCHIVE_NAME" - # TODO: Maybe we should move this to the Docker image. Compiling and - # copying took only a few seconds on my machine, but the disk IO - # is killing GitHub Actions. - - name: Compile Boost - run: | - set -e - - cd /tmp - wget --quiet --max-redirect 3 "$BOOST_URL" - echo "$BOOST_CHECKSUM" | sha256sum -c - tar -xf "boost_${BOOST_VERSION}.tar.gz" - rm "boost_${BOOST_VERSION}.tar.gz" - - cd boost_${BOOST_VERSION} - ./bootstrap.sh --with-toolset=gcc --with-icu --with-python= - - # 32-bit build - ./b2 \ - variant=release \ - debug-symbols=off \ - threading=multi \ - runtime-link=shared \ - link=shared,static \ - toolset=gcc \ - address-model=32 \ - cflags="${CPPFLAGS} ${CFLAGS} -m32 -fPIC -O3" \ - cxxflags="${CPPFLAGS} ${CXXFLAGS} -m32 -std=c++14 -fPIC -O3" \ - linkflags="${LDFLAGS} -m32" \ - --with-filesystem \ - --libdir=/usr/local/lib/i386-linux-gnu \ - -j $(nproc) \ - \ - install - - # 64-bit build - ./b2 \ - variant=release \ - debug-symbols=off \ - threading=multi \ - runtime-link=shared \ - link=shared,static \ - toolset=gcc \ - address-model=64 \ - cflags="${CPPFLAGS} ${CFLAGS} -fPIC -O3" \ - cxxflags="${CPPFLAGS} ${CXXFLAGS} -std=c++14 -fPIC -O3" \ - --with-filesystem \ - -j $(nproc) \ - \ - install - name: Build the binaries run: | # Wine won't create a Wine prefix in ~/.wine because /github/home is