mirror of
https://github.com/nqrduck/LimeDriver.git
synced 2024-11-25 03:22:25 +00:00
Kumi
40245eabe9
Added a step to the continuous integration workflow to upload compiled build artifacts. This permits easier access to builds for further testing and validation post-CI process.
34 lines
No EOL
770 B
YAML
34 lines
No EOL
770 B
YAML
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++
|
|
|
|
- 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
|
|
|
|
- name: Upload build artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: build
|
|
path: build |