From 1134e4bc604ceb9108bac445489c8be96784ccf2 Mon Sep 17 00:00:00 2001 From: firmianay Date: Wed, 19 May 2021 19:50:58 +0800 Subject: [PATCH] fix --- .github/workflows/build_gdb.yml | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build_gdb.yml b/.github/workflows/build_gdb.yml index 6746914..e2799f6 100644 --- a/.github/workflows/build_gdb.yml +++ b/.github/workflows/build_gdb.yml @@ -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 @@ -47,7 +44,7 @@ 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 @@ -55,7 +52,7 @@ jobs: - 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 @@ -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 @@ -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: | @@ -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