]> jfr.im git - irc/quakenet/newserv.git/commitdiff
BUILD: remove travis files + update README.md with new badge retropc-patch-5 82/head
authorChris Porter <redacted>
Sat, 11 Apr 2020 22:25:08 +0000 (23:25 +0100)
committerChris Porter <redacted>
Sat, 11 Apr 2020 22:26:13 +0000 (23:26 +0100)
.github/workflows/ccpp.yml [new file with mode: 0644]
.travis.yml [deleted file]
README.md

diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml
new file mode 100644 (file)
index 0000000..4fd4112
--- /dev/null
@@ -0,0 +1,23 @@
+name: C/C++ CI
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+jobs:
+  build:
+
+    runs-on: ubuntu-18.04
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: Install dependencies
+      run: sudo apt-get install git gcc make python2.7 python-minimal flex bison liblua5.1-0-dev libmariadb-client-lgpl-dev libpq-dev libpcre3-dev zlib1g-dev
+    - name: configure
+      run: ./configure -R -v
+    - name: make
+      run: make
+    - name: make install
+      run: make install
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644 (file)
index edb40f9..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-dist: bionic
-language: c
-addons:
-  apt:
-    packages:
-      git
-      gcc
-      make
-      python2.7
-      python-minimal
-      flex
-      bison
-      liblua5.1-0-dev
-      libmariadb-dev
-      libpq-dev
-      libpcre3-dev
-      zlib1g-dev
-script:
-  - ./configure -R -v && make && make install
index b99647a135839d28a50ab3c177cacd3985101f19..bc2f600982fa5262acc7e86fcbe547a998479a5d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
 newserv
 =======
 
-[![Build Status](https://travis-ci.org/quakenet/newserv.png?branch=master)](https://travis-ci.org/quakenet/newserv)
+![C/C++ CI](https://github.com/quakenet/newserv/workflows/C/C++%20CI/badge.svg)
 
 Introduction
 ------------