diff --git a/.github/workflows/boxes.yml b/.github/workflows/boxes.yml new file mode 100644 index 0000000..51e6c54 --- /dev/null +++ b/.github/workflows/boxes.yml @@ -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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 512c7ad..0000000 --- a/.travis.yml +++ /dev/null @@ -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 diff --git a/README.md b/README.md index c465ca2..02e463e 100644 --- a/README.md +++ b/README.md @@ -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