mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-06-19 00:06:42 +02:00
Switch from Travis CI to GitHub Actions
This commit is contained in:
parent
e86c101ad8
commit
b3ece70317
17
.github/workflows/boxes.yml
vendored
Normal file
17
.github/workflows/boxes.yml
vendored
Normal 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
|
17
.travis.yml
17
.travis.yml
@ -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
|
|
@ -1,4 +1,4 @@
|
|||||||
[](https://travis-ci.org/ascii-boxes/boxes)
|
[](https://github.com/ascii-boxes/boxes/actions/workflows/boxes.yml)
|
||||||
|
|
||||||
# boxes
|
# boxes
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user