From 77ae5ee13e33ae00890f330c0215d90bed57da71 Mon Sep 17 00:00:00 2001 From: Simon Jarbrant Date: Sat, 7 Dec 2019 11:27:11 +0100 Subject: [PATCH] Add CI action (#1) * Create ci.yml * Update README with CI status badge --- .github/workflows/ci.yml | 18 ++++++++++++++++++ README.md | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..bbc3aa3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI + +on: [push] + +env: + DEVELOPER_DIR: /Applications/Xcode_11.1.app + +jobs: + build: + + runs-on: macOS-latest + + steps: + - uses: actions/checkout@v1 + - name: Build + run: | + set -o pipefail + xcodebuild build -scheme Calcifer -configuration Debug -sdk macosx | xcpretty -c diff --git a/README.md b/README.md index 94baf6b..7cbb5fd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # Calcifer 🔥 +[![Build status](https://github.com/simba909/calcifer/workflows/CI/badge.svg)](https://github.com/simba909/calcifer/actions) + macOS menubar app for controlling external display brightness. Based on the great work in the [DDC.swift repo](https://github.com/reitermarkus/DDC.swift). ## Building from source