Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
firmianay committed May 19, 2021
1 parent 094e064 commit 1134e4b
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions .github/workflows/build_gdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,18 @@ jobs:
uses: actions/checkout@v2

- name: Install dependencies
run: sudo apk update && sudo apk add bash && sudo bash .github/build/install_deps.sh
run: sudo apk update && sudo apk add bash && sudo .github/build/install_deps.sh

- name: Install build compiler
run: sudo bash .github/build/install_compiler.sh x86_64
run: .github/build/install_compiler.sh x86_64

- name: Install dependencies workaround
run: sudo bash .github/build/install_compiler.sh i686
run: .github/build/install_compiler.sh i686

- name: Build gdb
id: build_gdb
run: |
export PATH="$PATH:/i686-linux-musl-cross/bin"
env
ls .github
ls .github/targets
.github/targets/build_gdb.sh x86
- name: Upload artifacts
Expand All @@ -47,15 +44,15 @@ jobs:
uses: actions/checkout@v2

- name: Install dependencies
run: sudo apk update && sudo apk add bash && sudo bash .github/build/install_deps.sh
run: sudo apk update && sudo apk add bash && sudo .github/build/install_deps.sh

- name: Install build compiler
run: .github/build/install_compiler.sh x86_64

- name: Build gdb
id: build_gdb
run: |
sudo bash .github/targets/build_gdb.sh x86_64
.github/targets/build_gdb.sh x86_64
- name: Upload artifacts
uses: actions/upload-artifact@v2
Expand All @@ -72,19 +69,19 @@ jobs:
uses: actions/checkout@v2

- name: Install dependencies
run: sudo apk update && sudo apk add bash && sudo bash .github/build/install_deps.sh
run: sudo apk update && sudo apk add bash && sudo .github/build/install_deps.sh

- name: Install build compiler
run: sudo .github/build/install_compiler.sh x86_64
run: .github/build/install_compiler.sh x86_64

- name: Install dependencies workaround
run: sudo bash .github/build/install_compiler.sh arm
run: .github/build/install_compiler.sh arm

- name: Build gdb
id: build_gdb
run: |
export PATH="$PATH:/arm-linux-musleabihf-cross/bin"
sudo bash .github/targets/build_gdb.sh armhf
.github/targets/build_gdb.sh armhf
- name: Upload artifacts
uses: actions/upload-artifact@v2
Expand All @@ -101,13 +98,13 @@ jobs:
uses: actions/checkout@v2

- name: Install dependencies
run: sudo apk update && sudo apk add bash && sudo bash .github/build/install_deps.sh
run: sudo apk update && sudo apk add bash && sudo .github/build/install_deps.sh

- name: Install build compiler
run: sudo bash .github/build/install_compiler.sh x86_64
run: .github/build/install_compiler.sh x86_64

- name: Install dependencies workaround
run: sudo bash .github/build/install_compiler.sh aarch64
run: .github/build/install_compiler.sh aarch64

- name: Patch headers
run: |
Expand All @@ -116,7 +113,7 @@ jobs:
id: build_gdb
run: |
export PATH="$PATH:/aarch64-linux-musl-cross/bin"
sudo bash .github/targets/build_gdb.sh aarch64
.github/targets/build_gdb.sh aarch64
- name: Upload artifacts
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 1134e4b

Please sign in to comment.