From 8a74f6a72031f0e0426a534ba9359f9d288610a1 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Mon, 21 Feb 2022 19:42:35 -0800 Subject: [PATCH] Run tests with GitHub Actions (#1) --- .github/workflows/c-cpp.yml | 19 +++++++++++++++++++ Readme.md | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 .github/workflows/c-cpp.yml diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..66153fd --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,19 @@ +name: C/C++ CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: make + run: make + - name: make test + run: make test diff --git a/Readme.md b/Readme.md index 7c5e7f1..d62a066 100644 --- a/Readme.md +++ b/Readme.md @@ -1,5 +1,7 @@

Shawnigan Lake

+![example workflow](https://github.com/samsonjs/lake/actions/workflows/c-cpp.yml/badge.svg) + Lake Scheme ===========