Skip to content

Commit 4133acb

Browse files
committed
Migrate Travis CI to GitHub Actions
1 parent 59539e0 commit 4133acb

File tree

4 files changed

+21
-26
lines changed

4 files changed

+21
-26
lines changed

.github/workflows/test.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Compile and test
2+
3+
on:
4+
- pull_request
5+
- push
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- name: Configure
13+
run: cmake -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles' .
14+
- name: Build
15+
run: make VERBOSE=1
16+
- name: Test
17+
run: make VERBOSE=1 ARGS=--verbose test

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
Makefile
22
CMakeCache.txt
33
*.cmake
4+
*.a
45
CMakeFiles
5-
/tests/test_hsluv
6+
/Testing
7+
/tests/test_hsluv

.travis.yml

-24
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/hsluv/hsluv-c.svg?branch=master)](https://travis-ci.org/hsluv/hsluv-c)
1+
[![Build Status](https://github.com/hsluv/hsluv-c/actions/workflows/test.yml/badge.svg)](https://github.com/hsluv/hsluv-c/actions/workflows/test.yml)
22

33
# HSLuv-C: Human-friendly HSL
44

0 commit comments

Comments
 (0)