Skip to content

Commit

Permalink
Add CI job to buils using minimum required CMake version
Browse files Browse the repository at this point in the history
Signed-off-by: Björn Svensson <[email protected]>
  • Loading branch information
bjosv committed Sep 2, 2024
1 parent 39c564d commit 674567b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,24 @@ jobs:
mkdir build && cd build
cmake .. -G Ninja
cmake --build .
cmake-minimum-required:
name: CMake 3.0.0 (min. required)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup CMake
uses: jwlawson/actions-setup-cmake@802fa1a2c4e212495c05bf94dba2704a92a472be # v2.0.2
with:
cmake-version: 3.0.0
- name: Install packages
uses: awalsh128/cache-apt-pkgs-action@a6c3917cc929dd0345bfb2d3feaf9101823370ad # v1.4.2
with:
packages: libevent-dev libuv1-dev libev-dev libglib2.0-dev
version: 1.0
- name: Build using CMake
run: |
cmake --version
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_SSL=ON -DENABLE_IPV6_TESTS=ON
ninja -v

0 comments on commit 674567b

Please sign in to comment.