From b13a09391bbece42ceea20aa6cb53407ffadf551 Mon Sep 17 00:00:00 2001 From: James McDermott Date: Mon, 2 Dec 2019 22:15:53 +0000 Subject: [PATCH] Create ccpp.yml --- .github/workflows/ccpp.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ccpp.yml diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml new file mode 100644 index 0000000..0b099cf --- /dev/null +++ b/.github/workflows/ccpp.yml @@ -0,0 +1,27 @@ +name: C/C++ CI + +on: + push: + branches: + - master + - 'third-year-project' + + pull_request: + branches: + - master + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: enable cUnit install script + run: chmod +x code/tests/install_CUnit && cd code/tests + - name: install cUnit + run: ./install_CUnit + - name: make tests + run: make + - name: run prompt tests + run: ./testPrompt