We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3308fed + 91c069b commit 5a3a7dbCopy full SHA for 5a3a7db
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,32 @@
1
+name: CMake Build
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
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
0 commit comments