Skip to content

Commit

Permalink
migrate to github actions from travis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
cofyc committed Dec 13, 2021
1 parent ffd9c23 commit fc4615b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: ci

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
pull:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
compiler:
- gcc
- clang
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Run with the compiler ${{ matrix.compiler }}
run: |
sudo apt-get install -y $compiler
CC=$compiler make test
env:
compiler: ${{ matrix.compiler }}
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

0 comments on commit fc4615b

Please sign in to comment.