Updated GDB build
This commit is contained in:
parent
edcac69d3f
commit
17c9e910c8
1 changed files with 17 additions and 0 deletions
17
.github/workflows/build-gdb.yml
vendored
17
.github/workflows/build-gdb.yml
vendored
|
@ -53,9 +53,26 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
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
|
- name: Build GDB
|
||||||
id: build_gdb
|
id: build_gdb
|
||||||
run: |
|
run: |
|
||||||
|
export PATH="$PATH:/x86_64-linux-musl-cross/bin"
|
||||||
$GITHUB_WORKSPACE/build/targets/build_gdb.sh x86_64
|
$GITHUB_WORKSPACE/build/targets/build_gdb.sh x86_64
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
|
|
Loading…
Reference in a new issue