try to migrate from Travis CI to GitHub Actions
authornotaz <notasas@gmail.com>
Fri, 29 Oct 2021 20:57:05 +0000 (23:57 +0300)
committernotaz <notasas@gmail.com>
Fri, 29 Oct 2021 20:57:05 +0000 (23:57 +0300)
.github/workflows/ci-linux.yml [new file with mode: 0644]
.travis.yml [deleted file]
README.md

diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml
new file mode 100644 (file)
index 0000000..511aa56
--- /dev/null
@@ -0,0 +1,15 @@
+name: CI (Linux)
+on: [push, pull_request]
+jobs:
+  build-linux:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: Install dependencies
+      run: |
+        sudo apt-get update -qq
+        sudo apt-get install -y libsdl1.2-dev libasound2-dev libpng-dev libz-dev
+    - name: configure
+      run: ./configure
+    - name: make
+      run: make
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644 (file)
index 7c4eafb..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-language: cpp
-compiler:
-  - gcc
-  - clang
-before_install:
-  - sudo apt-get update -qq
-  - sudo apt-get install -y libsdl1.2-dev libasound2-dev libpng-dev libz-dev
-script: ./configure && make
index 9964410..be7093c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
 PCSX-ReARMed - yet another PCSX fork
 ====================================
 
-[![Build Status](https://travis-ci.org/notaz/pcsx_rearmed.svg?branch=master)](https://travis-ci.org/notaz/pcsx_rearmed)
+![CI (Linux)](https://github.com/notaz/pcsx_rearmed/workflows/CI%20(Linux)/badge.svg)
 
 *see [readme.txt](readme.txt) for more complete documentation*