-
Notifications
You must be signed in to change notification settings - Fork 15
46 lines (41 loc) · 1.08 KB
/
build.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
40
41
42
43
44
45
name: CI
on:
push:
branches: [ "master", "develop" ]
pull_request:
branches: [ "master", "develop" ]
jobs:
build-ubuntu-20:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Install Deps
run: sudo apt update && sudo apt install freeglut3-dev libx11-dev clang
- name: Build
run: ./make.sh
build-ubuntu-22:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Install Deps
run: sudo apt update && sudo apt install freeglut3-dev libx11-dev clang-15
- name: Build
run: ./make.sh
build-windows:
runs-on: windows-latest
steps:
- name: Set up MinGW
uses: egor-tensin/setup-mingw@v2
with:
platform: x64
version: 12.2.0
- uses: actions/checkout@v3
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Build
shell: bash
run: ./make.sh