diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..aae7654 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + schedule: + - cron: '0 12 * * *' + +jobs: + build: + strategy: + matrix: + compiler: + - gcc + - clang + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: deps + run: sudo apt install -y libgl-dev libx11-dev + - name: build + run: make CC=${{ matrix.compiler }} diff --git a/README.md b/README.md index 9860739..d1e0a08 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,16 @@ screenfetch-c ============= -[![Build Status](https://drone.io/github.com/woodruffw/screenfetch-c/status.png)](https://drone.io/github.com/woodruffw/screenfetch-c/latest) +[![Build Status](https://img.shields.io/github/workflow/status/woodruffw/screenfetch-c/CI/master)](https://github.com/woodruffw/screenfetch-c/actions?query=workflow%3ACI) ## Current Version: 1.6 (release) screenfetch-c is an attempt to rewrite screenFetch, a popular shell script that displays system information and an ASCII logo, in the C language. -Like the original screenFetch, screenfetch-c is meant to be compatible with a number of systems, including *BSD, Solaris, GNU/Linux, OS X, and Windows. +Like the original screenFetch, screenfetch-c is meant to be compatible with a number of systems, including the BSDs, Solaris, GNU/Linux, OS X, and Windows. -## Installing screenfetch-c: +## Installing screenfetch-c ### Dependencies: screenfetch-c only relies on libraries that come on virtually every system.