Skip to content

Commit 09f5984

Browse files
committed
Switch to Github Actions
1 parent 803c153 commit 09f5984

File tree

4 files changed

+40
-54
lines changed

4 files changed

+40
-54
lines changed

.github/workflows/test.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Build and Test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
8+
pull_request:
9+
branches:
10+
- main
11+
12+
jobs:
13+
build:
14+
runs-on: ${{ matrix.os }}
15+
16+
strategy:
17+
matrix:
18+
os: [ubuntu-latest, macos-latest, windows-latest]
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v4
23+
24+
- name: Install CMake
25+
uses: lukka/get-cmake@latest
26+
27+
- name: Install LLVM and Clang
28+
uses: KyleMayes/install-llvm-action@v1
29+
with:
30+
version: "16"
31+
32+
- name: Configure CMake
33+
run: cmake -Bbuild -DBUILD_TESTS=YES
34+
35+
- name: Build
36+
run: cmake --build build --config Release
37+
38+
- name: Test
39+
run: ctest --test-dir build

.travis.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# C++Spec
22
[![version](https://img.shields.io/badge/version-v0.0.0-blue.svg)]()
3-
[![Travis](https://img.shields.io/travis/toroidal-code/cppspec/develop.svg)](https://travis-ci.org/toroidal-code/cppspec) 
4-
[![AppVeyor](https://img.shields.io/appveyor/ci/toroidal-code/cppspec/develop.svg?label=msvcc)](https://ci.appveyor.com/project/toroidal-code/cppspec) 
3+
[![GitHub Action](https://github.com/toroidal-code/cppspec/actions/workflows/test.yml/badge.svg)]() 
54
[![GitHub release](https://img.shields.io/github/release/toroidal-code/cppspec.svg)](https://github.com/toroidal-code/cppspec/releases/latest) 
65
[![Github Releases](https://img.shields.io/github/downloads/toroidal-code/cppspec/latest/total.svg)]() 
76
[![Documentation Status](https://readthedocs.org/projects/cppspec/badge/?version=latest)](http://cppspec.readthedocs.org/en/latest/?badge=latest)

appveyor.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)