mirror of
https://github.com/aristocratos/btop.git
synced 2024-09-29 22:51:35 +02:00
Store built binaries in 'multiarch_bin'
This commit is contained in:
parent
0b00228598
commit
2e058b171a
7
.github/workflows/continuous-build.yml
vendored
7
.github/workflows/continuous-build.yml
vendored
@ -20,17 +20,18 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git init
|
git init
|
||||||
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
|
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
|
||||||
|
mkdir multiarch_bin
|
||||||
- name: Compile x86_64
|
- name: Compile x86_64
|
||||||
run: |
|
run: |
|
||||||
make CXX=g++-11 ARCH=x86_64 STATIC=true QUIET=true
|
make CXX=g++-11 ARCH=x86_64 STATIC=true QUIET=true
|
||||||
mv bin/btop bin/btop-x86_64-$GIT_HASH
|
mv bin/btop multiarch_bin/btop-x86_64-$GIT_HASH
|
||||||
make distclean
|
make distclean
|
||||||
- name: Compile aarch64
|
- name: Compile aarch64
|
||||||
run: |
|
run: |
|
||||||
make CXX=aarch64-linux-gnu-g++-11 ARCH=aarch64 STATIC=true QUIET=true
|
make CXX=aarch64-linux-gnu-g++-11 ARCH=aarch64 STATIC=true QUIET=true
|
||||||
mv bin/btop bin/btop-aarch64-$GIT_HASH
|
mv bin/btop multiarch_bin/btop-aarch64-$GIT_HASH
|
||||||
make distclean
|
make distclean
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: btop
|
name: btop
|
||||||
path: 'bin/btop-*'
|
path: 'multiarch_bin/btop-*'
|
Loading…
Reference in New Issue
Block a user