name: GDB ARMHF on: workflow_dispatch jobs: build: name: Build GDB ARMHF runs-on: ubuntu-latest container: muslcc/x86_64:armel-linux-musleabihf steps: - name: Install dependencies run: apk update && apk add bash git perl make cmake flex bison automake autoconf libtool qemu-arm qemu-aarch64 file texinfo zip - name: Install build compiler run: /bin/sh -c "apk update && apk upgrade && apk add --no-cache curl rsync sudo util-linux && 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: https://more.musl.cc/9.2.1/x86_64-linux-musl TEMP: /tmp USER: 0 - name: Checkout uses: actions/checkout@v2 - name: Build GDB id: build_gdb run: $GITHUB_WORKSPACE/build/targets/build_gdb.sh armhf - name: List build directory run: ls -la /build - name: List build artifacts run: ls -la /output - name: Upload artifacts uses: actions/upload-artifact@v2 with: name: ${{ steps.build_gdb.outputs.PACKAGED_NAME }} path: ${{ steps.build_gdb.outputs.PACKAGED_NAME_PATH }}