Skip to content

Commit 6aaf34c

Browse files
committed
ci: restore and update CI workflow for Linux build on ubuntu-22.04, don't set ninja generator
1 parent 0cc22e1 commit 6aaf34c

File tree

1 file changed

+23
-34
lines changed

1 file changed

+23
-34
lines changed

.github/workflows/ci.yaml

+23-34
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,29 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6-
# build-linux:
7-
# name: ubuntu-22.04-release
8-
# runs-on: ubuntu-22.04
9-
# env:
10-
# CMAKE_GENERATOR: Ninja
11-
# DEBIAN_FRONTEND: noninteractive
12-
# defaults:
13-
# run:
14-
# shell: bash -e -o pipefail {0}
15-
# steps:
16-
# - name: install dependencies
17-
# run: |
18-
# sudo apt update
19-
# sudo apt install -y \
20-
# build-essential \
21-
# clang-format \
22-
# cmake \
23-
# ninja-build
24-
# - name: checkout repository
25-
# uses: actions/checkout@v4
26-
# - name: configure
27-
# run: |
28-
# cmake -S . -B build \
29-
# -DCMAKE_BUILD_TYPE=Release
30-
# - name: build
31-
# run: |
32-
# cmake --build build
33-
# - name: test
34-
# run: |
35-
# cd build
36-
# ctest --output-on-failure
37-
# - name: install
38-
# run: |
39-
# sudo cmake --install build
6+
build-linux:
7+
name: ubuntu-22.04-release
8+
runs-on: ubuntu-22.04
9+
defaults:
10+
run:
11+
shell: bash -e -o pipefail {0}
12+
steps:
13+
- name: checkout repository
14+
uses: actions/checkout@v4
15+
- name: configure
16+
run: |
17+
cmake -S . -B build \
18+
-DCMAKE_BUILD_TYPE=Release
19+
- name: build
20+
run: |
21+
cmake --build build
22+
- name: test
23+
run: |
24+
cd build
25+
ctest --output-on-failure
26+
- name: install
27+
run: |
28+
sudo cmake --install build
4029
build-windows:
4130
name: windows-2022-release
4231
runs-on: windows-2022

0 commit comments

Comments
 (0)