From 6079282f34e72884c3464ac019657da200786bac Mon Sep 17 00:00:00 2001 From: Julia Pfitzer <44316623+jupfi@users.noreply.github.com> Date: Mon, 5 Feb 2024 10:29:47 +0100 Subject: [PATCH] Create c-cpp.yml --- .github/workflows/c-cpp.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..6ab9b6d --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,28 @@ +name: C/C++ CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + + # Install LimeSuite + - name: Install LimeSuite dependencies + run: sudo apt-get update -y && sudo apt-get install -y limesuite liblimesuite-dev + + # Install H5c++ + - name: Install HDF5 dependencies + run: sudo apt-get update -y && sudo apt-get install -y libhdf5-dev + + - uses: actions/checkout@v3 + - name: configure + run: ./configure + - name: make + run: make