Added strace x86_64 workflow
This commit is contained in:
parent
33ac2a622a
commit
1c32053ecb
1 changed files with 31 additions and 0 deletions
31
.github/workflows/build-strace-x86_64.yml
vendored
Normal file
31
.github/workflows/build-strace-x86_64.yml
vendored
Normal file
|
@ -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
|
Loading…
Reference in a new issue