b1923a490c
* split pipeline * add dedicated doc build step * parallel builds * fix permissions * rm push trigger * mv gcc ubuntu * add windows build * always build the docs * doc alignment * checkout recursive * depend on builds for documentation * set standard via cmake * update libCZI to main * pretty_function win32 * version history update * disable windows release build missing dependencies for doc generation trigger ci on push to main adapt doc-gen job require only doxygen
34 lines
927 B
YAML
34 lines
927 B
YAML
name: build-ubuntu
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
configuration: [Debug, Release]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
- name: setup
|
|
run: |
|
|
sudo apt update
|
|
sudo apt -y install libopencv-dev libglfw3 libglfw3-dev libxkbcommon-dev libxinerama-dev libxcursor-dev libxi-dev doxygen graphviz
|
|
|
|
- name: Configure Ubuntu
|
|
run: cmake -B ${{github.workspace}}/build/gcc-${{ matrix.configuration }} -S . -DCMAKE_BUILD_TYPE=${{ matrix.configuration }}
|
|
|
|
- name: Build Ubuntu
|
|
run: cmake --build ${{github.workspace}}/build/gcc-${{ matrix.configuration }} --config ${{ matrix.configuration }} -- -j 10
|
|
|
|
- name: Test Ubuntu
|
|
run: |
|
|
cd ${{github.workspace}}/build/gcc-${{ matrix.configuration }}
|
|
ctest -C ${{ matrix.configuration }}
|
|
|