mirror of
https://github.com/aristocratos/btop.git
synced 2024-09-30 07:01:35 +02:00
27 lines
569 B
YAML
27 lines
569 B
YAML
name: Continuous Build
|
|
|
|
on:
|
|
push
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
container: ubuntu:21.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install build tools
|
|
run: |
|
|
apt update && \
|
|
apt install coreutils sed git build-essential gcc-11 g++-11 -y
|
|
- name: Compile
|
|
run: |
|
|
make STATIC=true
|
|
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
|
|
mv bin/btop bin/btop-$GIT_HASH
|
|
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Btop
|
|
path: 'bin/btop-*' |