Skip to content

Commit

Permalink
Switch to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
toroidal-code committed Feb 18, 2024
1 parent 803c153 commit 09f5984
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 54 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build and Test

on:
push:
branches:
- main
- develop
pull_request:
branches:
- main

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install CMake
uses: lukka/get-cmake@latest

- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "16"

- name: Configure CMake
run: cmake -Bbuild -DBUILD_TESTS=YES

- name: Build
run: cmake --build build --config Release

- name: Test
run: ctest --test-dir build
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# C++Spec
[![version](https://img.shields.io/badge/version-v0.0.0-blue.svg)]()
[![Travis](https://img.shields.io/travis/toroidal-code/cppspec/develop.svg)](https://travis-ci.org/toroidal-code/cppspec) 
[![AppVeyor](https://img.shields.io/appveyor/ci/toroidal-code/cppspec/develop.svg?label=msvcc)](https://ci.appveyor.com/project/toroidal-code/cppspec) 
[![GitHub Action](https://github.com/toroidal-code/cppspec/actions/workflows/test.yml/badge.svg)]() 
[![GitHub release](https://img.shields.io/github/release/toroidal-code/cppspec.svg)](https://github.com/toroidal-code/cppspec/releases/latest) 
[![Github Releases](https://img.shields.io/github/downloads/toroidal-code/cppspec/latest/total.svg)]() 
[![Documentation Status](https://readthedocs.org/projects/cppspec/badge/?version=latest)](http://cppspec.readthedocs.org/en/latest/?badge=latest)
Expand Down
15 changes: 0 additions & 15 deletions appveyor.yml

This file was deleted.

0 comments on commit 09f5984

Please sign in to comment.