1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 11:09:54 +00:00

Update CI tasks.

This commit is contained in:
Calvin Rose 2019-05-28 14:02:45 -04:00
parent 486b80fa7b
commit 75818217a6
4 changed files with 8 additions and 9 deletions

View File

@ -1,12 +1,11 @@
image: freebsd/latest image: freebsd/latest
packages: packages:
- gmake - gmake
- gcc
tasks: tasks:
- build: | - build: |
cd janet cd janet
gmake CC=gcc gmake
gmake test CC=gcc gmake test
sudo gmake install CC=gcc sudo gmake install
sudo gmake test-install CC=gcc gmake test-install
gmake test-amalg CC=gcc gmake test-amalg

View File

@ -7,5 +7,5 @@ tasks:
gmake gmake
gmake test gmake test
doas gmake install doas gmake install
doas gmake test-install gmake test-install
gmake test-amalg gmake test-amalg

View File

@ -3,7 +3,7 @@ script:
- make - make
- make test - make test
- sudo make install - sudo make install
- sudo make test-install - make test-install
- make test-amalg - make test-amalg
- make build/janet-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.tar.gz - make build/janet-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.tar.gz
compiler: compiler:

View File

@ -322,7 +322,7 @@ clean:
-rm -rf build vgcore.* callgrind.* -rm -rf build vgcore.* callgrind.*
test-install: test-install:
cd test/install && rm -rf build && jpm build && jpm test && jpm install && jpm uninstall cd test/install && rm -rf build && jpm build && jpm test
build/embed_janet.o: build/janet.c $(JANET_HEADERS) build/embed_janet.o: build/janet.c $(JANET_HEADERS)
$(CC) $(CFLAGS) -c $< -o $@ $(CC) $(CFLAGS) -c $< -o $@