2021-10-05 10:42:36 +02:00
|
|
|
name: Continuous Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
2021-10-05 12:33:41 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: ubuntu:21.04
|
2021-10-05 10:42:36 +02:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-10-05 12:33:41 +02:00
|
|
|
- name: Install g++, make
|
2021-10-05 10:42:36 +02:00
|
|
|
run: |
|
2021-10-05 12:33:41 +02:00
|
|
|
apt update && \
|
|
|
|
apt install coreutils sed git build-essential gcc-11 g++-11 -y
|
2021-10-05 10:42:36 +02:00
|
|
|
- name: Build
|
2021-10-05 12:33:41 +02:00
|
|
|
run: make
|
|
|
|
|
2021-10-05 10:42:36 +02:00
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: Upload built binary
|
|
|
|
path: 'bin/btop'
|