Bläddra i källkod

Github Actions CI build added (#174).

main
offa 4 år sedan
förälder
incheckning
3f7e3e51ea
2 ändrade filer med 37 tillägg och 0 borttagningar
  1. +36
    -0
      .github/workflows/ci.yml
  2. +1
    -0
      README.md

+ 36
- 0
.github/workflows/ci.yml Visa fil

@@ -0,0 +1,36 @@
name: ci

on: [push, pull_request]

jobs:
build_linux:
runs-on: ubuntu-20.04
strategy:
matrix:
compiler:
- gcc-10
- gcc-9
- gcc-8
- gcc-7
- clang-11
- clang-10
- clang-9
- clang-8
- clang-7
container:
image: "registry.gitlab.com/offa/docker-images/${{ matrix.compiler }}:stable"
name: "${{ matrix.compiler }}"
steps:
- uses: actions/checkout@master
- name: Build
run: script/ci_build.sh

build_conan:
runs-on: ubuntu-20.04
name: "Conan ${{ matrix.compiler }}"
steps:
- uses: actions/checkout@master
- name: Build
env:
CONAN_GCC_VERSIONS: 9
run: script/conan_build.sh

+ 1
- 0
README.md Visa fil

@@ -1,5 +1,6 @@
# Scope Guard

[![CI](https://github.com/offa/scope-guard/workflows/ci/badge.svg)](https://github.com/offa/scope-guard/actions)
[![Build Status](https://travis-ci.org/offa/scope-guard.svg?branch=master)](https://travis-ci.org/offa/scope-guard)
[![GitHub release](https://img.shields.io/github/release/offa/scope-guard.svg)](https://github.com/offa/scope-guard/releases)
[![License](https://img.shields.io/badge/license-MIT-yellow.svg)](LICENSE)

Laddar…
Avbryt
Spara