X-Git-Url: http://nitlanguage.org diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 19cbcd5..398ed14 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,7 @@ services: variables: NEO4J_AUTH: none + POSTGRES_HOST_AUTH_METHOD: trust cache: paths: @@ -88,7 +89,7 @@ nitunit_some: dependencies: - build_tools script: - - git diff --name-only origin/master..HEAD -- "*.nit" "*.res" "README.*" | grep -v "^tests/" > list0.txt || true + - git diff --name-only origin/master..HEAD -- "*.nit" "*.res" "README.*" | grep -v "^tests/\|contrib/" > list0.txt || true - xargs nitls -pP < list0.txt > list.txt - test -s list.txt || exit 0 - xargs nitunit < list.txt @@ -333,6 +334,20 @@ bench_fast: - benchmarks/*.gnu when: always +nitunit_manual: + stage: more_test + dependencies: + - build_tools + script: + - nitunit doc/manual/*.nit + - junit2html nitunit.xml + artifacts: + paths: + - nitunit.xml* + when: always + reports: + junit: + - nitunit.xml # MORE TOOLS ######################################################## @@ -441,3 +456,16 @@ bench_old: - benchmarks/bench_old.sh allow_failure: true # time is unreliable. manual check required services: [] + +build_tools_windows: + stage: build + before_script: + - date + after_script: + - date + tags: + - windows + script: + - $project_dir = "$CI_PROJECT_DIR" -replace "\\", "\\\" + - $converted_project_dir = $(c:\msys64\usr\bin\bash -l -c "cygpath -u $project_dir") + - c:\msys64\usr\bin\env MSYSTEM=MINGW64 c:\msys64\usr\bin\bash -l -c "cd $converted_project_dir; make"