File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CMake Build
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v3
15+ with :
16+ submodules : true
17+ - name : Install system dependencies
18+ run : |
19+ sudo apt-get update
20+ sudo apt-get install -y \
21+ libvulkan-dev \
22+ libxinerama-dev \
23+ libxcursor-dev \
24+ xorg-dev \
25+ libglu1-mesa-dev \
26+ pkg-config
27+ - name : Bootstrap vcpkg
28+ run : ./vcpkg/bootstrap-vcpkg.sh
29+ - name : Configure CMake
30+ run : cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake
31+ - name : Build
32+ run : cmake --build build --config Release
You can’t perform that action at this time.
0 commit comments