Skip to content

Commit

Permalink
Migrate Travis CI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
boronine committed May 3, 2023
1 parent 59539e0 commit 4133acb
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 26 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Compile and test

on:
- pull_request
- push

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Configure
run: cmake -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles' .
- name: Build
run: make VERBOSE=1
- name: Test
run: make VERBOSE=1 ARGS=--verbose test
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Makefile
CMakeCache.txt
*.cmake
*.a
CMakeFiles
/tests/test_hsluv
/Testing
/tests/test_hsluv
24 changes: 0 additions & 24 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/hsluv/hsluv-c.svg?branch=master)](https://travis-ci.org/hsluv/hsluv-c)
[![Build Status](https://github.com/hsluv/hsluv-c/actions/workflows/test.yml/badge.svg)](https://github.com/hsluv/hsluv-c/actions/workflows/test.yml)

# HSLuv-C: Human-friendly HSL

Expand Down

0 comments on commit 4133acb

Please sign in to comment.