Skip to content

Commit

Permalink
Add a github action CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaqx0r committed Dec 23, 2020
1 parent a396557 commit a74d170
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: CI
on: [push,pull_request]
jobs:
strategy:
matrix:
compiler: [gcc, clang]
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install dependencies
run: sudo apt-get install -y libgl1-mesa-dev freeglut3-dev ${{ matrix.compiler }}
- name: build
run: scons
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
glsnake
-------

[![Travis Build Status](https://travis-ci.org/jaqx0r/glsnake.svg?branch=master)](https://travis-ci.org/jaqx0r/glsnake)
![ci](https://github.com/jaqx0r/glsnake/workflows/CI/badge.svg)

glsnake has been dubbed a "hardware accelerated executive stress toy" by its
fans. It merely provides a virtual Rubiks' Snake toy for the user to play
Expand Down

0 comments on commit a74d170

Please sign in to comment.