Skip to content

Commit e648a1f

Browse files
committed
Update Github Actions CI configuration
Update Makefile and Github Actions CI configuration. Remove old Travis CI configuration.
1 parent 4bf7112 commit e648a1f

File tree

3 files changed

+7
-22
lines changed

3 files changed

+7
-22
lines changed

.github/workflows/c-cpp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v4
16-
- name: configure
17-
run: ./configure
1816
- name: make
1917
run: make
18+
- name: make check
19+
run: make check

.travis.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ DEPS = lug/lug.hpp lug/detail.hpp lug/error.hpp lug/unicode.hpp lug/utf8.hpp
3737
# distribution files
3838
DISTFILES = README.md LICENSE.md Makefile lug.sln runtests.sh doc/ lug/ msvs/ samples/ tests/ tools/
3939

40-
all: options samples test
40+
all: options samples tests
4141

4242
.cpp.o:
4343
@echo CXX $<
@@ -57,7 +57,9 @@ $(TESTS_BIN): $(TESTS_OBJ)
5757
@echo LD $@
5858
@$(CXX) -o $@ $@.o $(LDFLAGS)
5959

60-
test: $(TESTS_BIN)
60+
tests: $(TESTS_BIN)
61+
62+
check: tests
6163
@sh runtests.sh "tests" $(TESTS_BIN)
6264

6365
lint:
@@ -123,4 +125,4 @@ uninstall:
123125
@rm -f $(DESTDIR)$(PREFIX)/include/lug/utf8.hpp
124126
@rmdir $(DESTDIR)$(PREFIX)/include/lug
125127

126-
.PHONY: all samples test lint tools unicode options clean dist install uninstall
128+
.PHONY: all samples tests check lint tools unicode options clean dist install uninstall

0 commit comments

Comments
 (0)