Skip to content

Commit

Permalink
.github, README.md: move from Travis CI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
0intro committed Apr 5, 2022
1 parent c847824 commit 00215dd
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 30 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/c.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: C

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Dependencies
run: |
sudo dpkg --add-architecture i386
sudo apt-get clean && sudo apt-get update
- name: make clean
working-directory: ./src
run: make clean

- name: make
working-directory: ./src
run: make
22 changes: 22 additions & 0 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Coverity Scan

on:
push:
branches: [ main ]

jobs:
coverity:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Dependencies
run: |
sudo dpkg --add-architecture i386
sudo apt-get clean && sudo apt-get update
- uses: vapier/coverity-scan-action@v1
with:
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
working-directory: ./src
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/9fans/vx32.svg?branch=master)](https://travis-ci.org/9fans/vx32)
[![Build Status](https://github.com/9fans/vx32/workflows/C/badge.svg)](https://github.com/9fans/vx32/actions/workflows/c.yml)
[![Coverity Scan Build Status](https://scan.coverity.com/projects/9fans-vx32/badge.svg)](https://scan.coverity.com/projects/9fans-vx32)

vx32
Expand Down

0 comments on commit 00215dd

Please sign in to comment.