Switch from Travis CI to GitHub Actions

This commit is contained in:
Thomas Jensen 2021-04-17 21:12:19 +02:00
parent e86c101ad8
commit b3ece70317
No known key found for this signature in database
GPG Key ID: A4ACEE270D0FB7DB
3 changed files with 18 additions and 18 deletions

17
.github/workflows/boxes.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: add-packages
run: |
sudo apt-get update -y
sudo apt-get install -y git flex bison libunistring-dev libpcre2-dev diffutils vim-common
- name: make
run: make
- name: make test
run: make test

View File

@ -1,17 +0,0 @@
# Travis CI Build Configuration file for boxes
language: c
script: make && make test
sudo: false
addons:
apt:
packages:
- flex
- bison
- libunistring-dev
- libpcre2-dev
- diffutils
- vim-common

View File

@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/ascii-boxes/boxes.svg?branch=master)](https://travis-ci.org/ascii-boxes/boxes) [![Build Status](https://github.com/ascii-boxes/boxes/actions/workflows/boxes.yml/badge.svg)](https://github.com/ascii-boxes/boxes/actions/workflows/boxes.yml)
# boxes # boxes