-
Notifications
You must be signed in to change notification settings - Fork 7
39 lines (32 loc) · 1016 Bytes
/
ubuntu.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI_Linux
on:
push:
branches: [ main ]
pull_request:
branches: [ main, task0, task00, task1, task01, task2, task02, task3, task03, task5, task05, task6, task06, task7, task07, task8, task08, task9, task09]
env:
BUILD_TYPE: Debug
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install glfw
run: |
sudo apt install -y \
libwayland-dev libxkbcommon-dev wayland-protocols extra-cmake-modules \
libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev
sudo apt install -y libegl1-mesa-dev
git submodule update --init -- external/glfw
cmake -S external/glfw -B external/glfwbuild
cd external/glfwbuild
cmake --build . --config Release
cmake --install . --prefix ../glfwlib
- name: install eigen
run: |
git submodule update --init -- external/eigen
- name: build
run: |
cmake -S . -B build
cd build
cmake --build .