mirror of
https://github.com/aristocratos/btop.git
synced 2024-06-17 01:45:34 +12:00
Change to only build if there are changes to source files or the build script itself
This commit is contained in:
parent
ef13446501
commit
acdefb7889
9
.github/workflows/continuous-build.yml
vendored
9
.github/workflows/continuous-build.yml
vendored
|
@ -2,6 +2,11 @@ name: Continuous Build Linux
|
|||
|
||||
on:
|
||||
push
|
||||
paths:
|
||||
- 'src/**'
|
||||
- 'include/**'
|
||||
- 'Makefile'
|
||||
- '.github/workflows/continuous-build.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -32,7 +37,7 @@ jobs:
|
|||
|
||||
- name: Compile i686
|
||||
run: |
|
||||
make CXX=i686-linux-gnu-g++-11 ARCH=i686 STATIC=true QUIET=true
|
||||
make CXX=i686-linux-gnu-g++-11 ARCH=i686 STATIC=true QUIET=true
|
||||
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
|
||||
mv bin/btop multiarch_bin/btop-i686-$GIT_HASH
|
||||
make distclean
|
||||
|
@ -46,7 +51,7 @@ jobs:
|
|||
|
||||
- name: Compile armel
|
||||
run: |
|
||||
make CXX=arm-linux-gnueabi-g++-11 ARCH=armel STATIC=true QUIET=true
|
||||
make CXX=arm-linux-gnueabi-g++-11 ARCH=armel STATIC=true QUIET=true
|
||||
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
|
||||
mv bin/btop multiarch_bin/btop-armel-$GIT_HASH
|
||||
make distclean
|
||||
|
|
Loading…
Reference in a new issue