Skip to content

Commit

Permalink
New CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Sep 27, 2021
1 parent b75f805 commit 9488fa4
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/macos-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Macos-CI

on: [push, pull_request]

jobs:
macos-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Use cmake
run: |
mkdir build
cd build
cmake ..
cmake --build .
ctest . --output-on-failure
3 changes: 2 additions & 1 deletion .github/workflows/ubuntu-ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Ubuntu-CI

on: push
on: [push, pull_request]



jobs:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/vs-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: VS-CI

on: [push, pull_request]

jobs:
ci:
name: windows-vs
runs-on: windows-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Configure
run: |
cmake -B build
- name: Build Debug
run: cmake --build build --config Debug --verbose
- name: Build Release
run: cmake --build build --config Release --verbose
- name: Run Release tests
run: |
cd build
ctest -C Release -LE explicitonly --output-on-failure
- name: Run Debug tests
run: |
cd build
ctest -C Debug -LE explicitonly --output-on-failure
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Copyright (c) 2012 Louis Dionne
#
cmake_minimum_required(VERSION 2.8.7)
cmake_minimum_required(VERSION 3.0)
set (CMAKE_CXX_STANDARD 11) # for constexpr specifier and other goodies

if (NOT CMAKE_BUILD_TYPE)
Expand Down

0 comments on commit 9488fa4

Please sign in to comment.