From 17c9e910c8a70f192fe0ae1894d1510af4e7987d Mon Sep 17 00:00:00 2001 From: Niklaus Schiess Date: Fri, 16 Apr 2021 16:03:16 +0200 Subject: [PATCH] Updated GDB build --- .github/workflows/build-gdb.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/build-gdb.yml b/.github/workflows/build-gdb.yml index 19eb88b..44771b4 100644 --- a/.github/workflows/build-gdb.yml +++ b/.github/workflows/build-gdb.yml @@ -53,9 +53,26 @@ jobs: - name: Install dependencies run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh + - name: Install build compiler + run: /bin/sh -c "cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross" + env: + ARCH: x86_64-linux-musl + HOST: http://musl.cc/ + TEMP: /tmp + USER: 0 + + - name: Install dependencies workaround + run: /bin/sh -c "cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross" + env: + ARCH: x86_64-linux-musl + HOST: http://musl.cc/ + TEMP: /tmp + USER: 0 + - name: Build GDB id: build_gdb run: | + export PATH="$PATH:/x86_64-linux-musl-cross/bin" $GITHUB_WORKSPACE/build/targets/build_gdb.sh x86_64 - name: Upload artifacts