forked from facebookresearch/nle
-
Notifications
You must be signed in to change notification settings - Fork 15
38 lines (38 loc) · 935 Bytes
/
cmake.yml
File metadata and controls
38 lines (38 loc) · 935 Bytes
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
---
name: CMake Check
on:
push:
branches: [main]
paths:
- '.github/workflows/cmake.yml'
- 'CMakeLists.txt'
- 'src/**/*.c'
- 'include/nle/**/*.h'
- 'win/rl/**/*.cc'
pull_request:
paths:
- '.github/workflows/cmake.yml'
- 'CMakeLists.txt'
- 'src/**/*.c'
- 'include/nle/**/*.h'
- 'win/rl/**/*.cc'
jobs:
check_cc:
name: cmake-check
runs-on: ubuntu-latest
steps:
- name: Install non-python build dependencies
run: |
sudo apt-get update && sudo apt-get install -yq \
apt-transport-https \
bison \
build-essential \
flex \
libbz2-dev \
ninja-build \
software-properties-common
- uses: actions/checkout@v4
- name: Check CMake configure
run: cmake -B build -G Ninja
- name: CMake build
run: cmake --build build