btop/.github/workflows/continuous-build-macos.yml
2022-10-23 19:41:12 +02:00

35 lines
691 B
YAML

name: Continuous Build MacOS
on:
push:
branches:
- main
tags-ignore:
- '*.*'
paths:
- 'src/**'
- '!src/linux/**'
- '!src/freebsd/**'
- 'include/**'
- 'Makefile'
- '.github/workflows/*'
jobs:
build-osx:
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- name: Compile
run: |
make CXX=g++-11 ARCH=x86_64 STATIC=true STRIP=true
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
mv bin/btop bin/btop-x86_64-BigSur-$GIT_HASH
ls -alh bin
- uses: actions/upload-artifact@v3
with:
name: btop-x86_64-macos-BigSur
path: 'bin/*'