File tree Expand file tree Collapse file tree 1 file changed +26
-4
lines changed Expand file tree Collapse file tree 1 file changed +26
-4
lines changed Original file line number Diff line number Diff line change 1919 include :
2020 - cc : gcc-12
2121 cxx : g++-12
22- clang_major_version : null
23- clang_repo_suffix : null
22+ clang_major_version : ' '
23+ clang_repo_suffix : ' '
2424 runs-on : ubuntu-22.04
2525 - cc : clang-17
2626 cxx : clang++-17
3030 - cc : clang-18
3131 cxx : clang++-18
3232 clang_major_version : 18
33- clang_repo_suffix :
33+ clang_repo_suffix : ' '
3434 runs-on : ubuntu-22.04
3535 steps :
3636 - name : Add Clang/LLVM repositories
@@ -46,10 +46,31 @@ jobs:
4646 sudo apt-get update
4747 sudo apt-get install --yes --no-install-recommends \
4848 cmake \
49- libprojectm-dev \
49+ build-essential \
50+ libgl1-mesa-dev \
51+ mesa-common-dev \
5052 libvisual-0.4-dev \
5153 pkg-config
5254
55+ - name : Checkout libprojectM Sources
56+ uses : actions/checkout@v4
57+ with :
58+ repository : projectM-visualizer/projectm
59+ path : projectm
60+ submodules : recursive
61+
62+ - name : Build/Install libprojectM
63+ run : |
64+ mkdir cmake-build-libprojectm
65+ cmake -G Ninja -S projectm -B cmake-build-libprojectm \
66+ -DCMAKE_C_COMPILER="${{ matrix.cc }}" \
67+ -DCMAKE_CXX_COMPILER="${{ matrix.cxx }}" \
68+ -DBUILD_SHARED_LIBS=OFF \
69+ -DCMAKE_BUILD_TYPE=Release \
70+ -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install-libprojectm
71+ cmake --build cmake-build-libprojectm --parallel
72+ cmake --install "${{ github.workspace }}/cmake-build-libprojectm"
73+
5374 - name : Install build dependency Clang ${{ matrix.clang_major_version }}
5475 if : " ${{ contains(matrix.cxx, 'clang') }}"
5576 run : |-
6485 cmake_args=(
6586 -DCMAKE_C_COMPILER="${{ matrix.cc }}"
6687 -DCMAKE_CXX_COMPILER="${{ matrix.cxx }}"
88+ -DCMAKE_PREFIX_PATH="${{ github.workspace }}/install-libprojectm"
6789 -S ./
6890 -B build/
6991 )
You can’t perform that action at this time.
0 commit comments