Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ build: # build data.table sources as tar.gz archive
tags:
- macosx

test-rel-lin: # most comprehensive tests, force all suggests, also integration tests, using gcc -O3
test-rel-lin: # most comprehensive tests, force all suggests, also integration tests, using gcc -O3 -flto
<<: *test-lin
image: registry.gitlab.com/jangorecki/dockerfiles/r-builder
variables: # unlike CRAN
Expand All @@ -102,8 +102,8 @@ test-rel-lin: # most comprehensive tests, force all suggests, also integration
TEST_DATA_TABLE_WITH_OTHER_PACKAGES: "TRUE"
before_script:
- mkdir -p ~/.R
- echo 'CFLAGS=-g -O3 -fopenmp -Wall -pedantic -fstack-protector-strong -D_FORTIFY_SOURCE=2' > ~/.R/Makevars
- echo 'CXXFLAGS=-g -O3 -fopenmp -Wall -pedantic -fstack-protector-strong -D_FORTIFY_SOURCE=2' >> ~/.R/Makevars
- echo 'CFLAGS=-g -O3 -flto -fopenmp -Wall -pedantic -fstack-protector-strong -D_FORTIFY_SOURCE=2' > ~/.R/Makevars
- echo 'CXXFLAGS=-g -O3 -flto -fopenmp -Wall -pedantic -fstack-protector-strong -D_FORTIFY_SOURCE=2' >> ~/.R/Makevars
script:
- Rscript -e 'source("ci.R"); install.packages(dcf.dependencies(c("DESCRIPTION","inst/tests/tests-DESCRIPTION"), which="all"))'
- *copy-src
Expand All @@ -112,6 +112,7 @@ test-rel-lin: # most comprehensive tests, force all suggests, also integration
- cd bus/$CI_BUILD_NAME
- R CMD check $(ls -1t data.table_*.tar.gz | head -n 1)
- *cleanup-src
- ! grep "warning:" data.table.Rcheck/00install.out

test-rel-vanilla-lin: # minimal installation, no suggested deps, no vignettes or manuals, measure memory, using gcc -O0 -fno-openmp
<<: *test-lin
Expand Down