guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 56/86: Tweak test build to run faster, and adapt CI


From: Andy Wingo
Subject: [Guile-commits] 56/86: Tweak test build to run faster, and adapt CI
Date: Wed, 3 Apr 2019 11:39:00 -0400 (EDT)

wingo pushed a commit to branch lightening
in repository guile.

commit 787305eae54e393cb7c87f6ab687c32c8c00fd37
Author: Andy Wingo <address@hidden>
Date:   Tue Mar 26 12:32:08 2019 +0100

    Tweak test build to run faster, and adapt CI
---
 .gitlab-ci.yml | 11 -----------
 tests/Makefile |  4 ++--
 2 files changed, 2 insertions(+), 13 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 899c337..384befa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,17 +3,6 @@
 # see https://hub.docker.com/_/gcc/
 image: gcc
 
-build:
-  stage: build
-  before_script: 
-    - apt update && apt -y install make
-  script: 
-    - make -C tests
-  cache:
-    paths:
-      - "tests/*.o"
-      - "tests/test-*"
-
 test:
   stage: test
   script:
diff --git a/tests/Makefile b/tests/Makefile
index 0257f58..d5295ac 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -14,10 +14,10 @@ check: all
        @echo "Success."
 
 jit.o: ../jit.h ../jit/*.c
-       $(CC) $(CFLAGS) $(CPPFLAGS) -flto -I.. -o jit.o -c ../jit/jit.c
+       $(CC) $(CFLAGS) $(CPPFLAGS) -I.. -o jit.o -c ../jit/jit.c
 
 test-%: %.c jit.o test.h
-       $(CC) $(CFLAGS) $(CPPFLAGS) -flto -I.. -o $@ jit.o $<
+       $(CC) $(CFLAGS) $(CPPFLAGS) -I.. -o $@ jit.o $<
 
 clean:
        rm -f $(addprefix test-,$(TESTS))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]