ci: Ninja apt package installed and set as a default CMake generator
This commit is contained in:
1 parent
36c88f6e02
commit
9bcc8464cc
2 files changed
+15
-6
No files matched your search
@@ -36,13 +36,15 @@ on:
|
||||
- 'src/**'
|
||||
- 'example/**'
|
||||
|
||||
env:
|
||||
CC: gcc-10
|
||||
CXX: g++-10
|
||||
CMAKE_GENERATOR: Ninja
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
name: Sphinx
|
||||
runs-on: ubuntu-20.04
|
||||
env:
|
||||
CC: gcc-10
|
||||
CXX: g++-10
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Cache Conan data
|
||||
@@ -56,6 +58,9 @@ jobs:
|
||||
${{ runner.os }}-build-${{ env.cache-name }}-
|
||||
${{ runner.os }}-build-
|
||||
${{ runner.os }}-
|
||||
- name: Install Ninja
|
||||
run: |
|
||||
sudo apt install -y ninja-build
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
@@ -78,7 +83,7 @@ jobs:
|
||||
- name: Configure CMake
|
||||
run: |
|
||||
cd build
|
||||
cmake .. -G Ninja
|
||||
cmake ..
|
||||
- name: Generate documentation
|
||||
run: |
|
||||
cd build
|
||||
|
||||
Reference in new issue
Block a user