File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Expand file tree Collapse file tree 1 file changed +21
-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,26 @@ jobs:
4646 sudo apt-get update
4747 sudo apt-get install --yes --no-install-recommends \
4848 cmake \
49- libprojectm-dev \
5049 libvisual-0.4-dev \
5150 pkg-config
5251
52+ - name : Checkout libprojectM Sources
53+ uses : actions/checkout@v4
54+ with :
55+ repository : projectM-visualizer/projectm
56+ path : projectm
57+ submodules : recursive
58+
59+ - name : Build/Install libprojectM
60+ run : |
61+ mkdir cmake-build-libprojectm
62+ cmake -G Ninja -S projectm -B cmake-build-libprojectm \
63+ -DBUILD_SHARED_LIBS=OFF \
64+ -DCMAKE_BUILD_TYPE=Release \
65+ -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install-libprojectm
66+ cmake --build cmake-build-libprojectm --parallel
67+ cmake --install "${{ github.workspace }}/cmake-build-libprojectm"
68+
5369 - name : Install build dependency Clang ${{ matrix.clang_major_version }}
5470 if : " ${{ contains(matrix.cxx, 'clang') }}"
5571 run : |-
6480 cmake_args=(
6581 -DCMAKE_C_COMPILER="${{ matrix.cc }}"
6682 -DCMAKE_CXX_COMPILER="${{ matrix.cxx }}"
83+ -DCMAKE_PREFIX_PATH="${{ github.workspace }}/install-libprojectm"
6784 -S ./
6885 -B build/
6986 )
You can’t perform that action at this time.
0 commit comments