limedriver/.github/workflows/c-cpp.yml

29 lines
644 B
YAML
Raw Normal View History

2024-02-05 09:29:47 +00:00
name: C/C++ CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up build requirements
run: sudo apt-get update -y && sudo apt-get install -y cmake g++
2024-02-05 09:29:47 +00:00
- name: Install LimeSuite dependencies
run: sudo apt-get update -y && sudo apt-get install -y limesuite liblimesuite-dev
- name: Install HDF5 dependencies
run: sudo apt-get update -y && sudo apt-get install -y libhdf5-dev
- name: Check out code
uses: actions/checkout@v3
- name: Build
run: cmake -S . -B build && cmake --build build