mirror of
https://github.com/aristocratos/btop.git
synced 2024-09-30 00:57:37 +13:00
Add aarch64 to workflow
This commit is contained in:
parent
0c7357d405
commit
c4f8cf22cb
1 changed files with 10 additions and 3 deletions
13
.github/workflows/continuous-build.yml
vendored
13
.github/workflows/continuous-build.yml
vendored
|
@ -15,12 +15,19 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
apt update && \
|
apt update && \
|
||||||
apt install coreutils sed git build-essential gcc-11 g++-11 -y
|
apt install coreutils sed git build-essential gcc-11 g++-11 -y
|
||||||
- name: Compile
|
apt install g++-11-aarch64-linux-gnu -y
|
||||||
|
- name: Resolve git hash
|
||||||
run: |
|
run: |
|
||||||
make STATIC=true
|
|
||||||
git init
|
git init
|
||||||
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
|
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
|
||||||
mv bin/btop bin/btop-$GIT_HASH
|
- name: Compile x86_64
|
||||||
|
run: |
|
||||||
|
make CXX=g++-11 ARCH=x86_64 STATIC=true QUIET=true
|
||||||
|
mv bin/btop bin/btop-x86_64-$GIT_HASH
|
||||||
|
- name: Compile aarch64
|
||||||
|
run: |
|
||||||
|
make CXX=aarch64-linux-gnu-g++-11 ARCH=aarch64 STATIC=true QUIET=true
|
||||||
|
mv bin/btop bin/btop-aarch64-$GIT_HASH
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue