From 1c32053ecbf78c256189eb683183f8211665b157 Mon Sep 17 00:00:00 2001 From: takeshix Date: Tue, 21 Jul 2020 11:58:43 +0200 Subject: [PATCH] Added strace x86_64 workflow --- .github/workflows/build-strace-x86_64.yml | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/build-strace-x86_64.yml diff --git a/.github/workflows/build-strace-x86_64.yml b/.github/workflows/build-strace-x86_64.yml new file mode 100644 index 0000000..ecf4da5 --- /dev/null +++ b/.github/workflows/build-strace-x86_64.yml @@ -0,0 +1,31 @@ +name: strace x86_64 +on: + workflow_dispatch +jobs: + build: + name: Build strace x86_64 + runs-on: ubuntu-latest + container: muslcc/x86_64:x86_64-linux-musl + steps: + + - name: Build strace + run: | + apk update && apk add git make gawk autoconf automake coreutils + git clone https://github.com/strace/strace + cd strace + git checkout v5.7 + ./bootstrap + export LDFLAGS='-static -pthread' + ./configure + make CFLAGS="-w" -j4 + + - name: List build dir + run: | + pwd + ls -la + + - name: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: strace-5.7 + path: /__w/workflow-test/workflow-test/strace/strace