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
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
5658 sudo apt-get install --yes --no-install-recommends -V \
5759 clang-${{ matrix.clang_major_version }}
5860
61+ - name : Checkout libprojectM Sources
62+ uses : actions/checkout@v4
63+ with :
64+ repository : projectM-visualizer/projectm
65+ path : projectm
66+ submodules : recursive
67+
68+ - name : Build/Install libprojectM
69+ run : |
70+ mkdir cmake-build-libprojectm
71+ cmake -G Ninja -S projectm -B cmake-build-libprojectm \
72+ -DCMAKE_C_COMPILER="${{ matrix.cc }}" \
73+ -DCMAKE_CXX_COMPILER="${{ matrix.cxx }}" \
74+ -DBUILD_SHARED_LIBS=OFF \
75+ -DCMAKE_BUILD_TYPE=Release \
76+ -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install-libprojectm
77+ cmake --build cmake-build-libprojectm --parallel
78+ cmake --install "${{ github.workspace }}/cmake-build-libprojectm"
79+
5980 - name : Checkout Git branch
6081 uses : actions/checkout@v4
6182
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