From 3332e86562d9381c5fcf6a6f5205240f5e9d4f39 Mon Sep 17 00:00:00 2001 From: Andrey Listopadov Date: Sat, 26 Aug 2023 19:40:29 +0000 Subject: Move everything to a single file Now the library is fully self-contained and doesn't require any special flags to be used. Macros are now shipped inside the library itself and can be required by user code by requiring the same module name as the library. --- .gitlab-ci.yml | 67 ---------------------------------------------------------- 1 file changed, 67 deletions(-) delete mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index cac89e5..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,67 +0,0 @@ ---- - -stages: - - test - -variables: - GIT_SUBMODULE_STRATEGY: recursive - fennel_ver: 1.2.1 - fenneldoc_ver: v1.0.0 - -.install_fennel: &fennel |- - cd "$HOME" - git clone -q --depth=1 --branch="$fennel_ver" https://git.sr.ht/~technomancy/fennel - cd fennel || exit -1 - make install - cd "$CI_PROJECT_DIR" - -.install_fenneldoc: &fenneldoc |- - cd "$HOME" - git clone -q --depth=1 --branch="$fenneldoc_ver" \ - --recursive https://gitlab.com/andreyorst/fenneldoc.git - cd fenneldoc || exit -1 - make install - cd "$CI_PROJECT_DIR" - -Lua: - image: alpine:edge - stage: test - before_script: - - > - apk add -q - lua5.2 lua5.3 lua5.3-dev lua5.4 luarocks5.3 - git make gcc musl-dev - - luarocks-5.3 install luafilesystem - - export LUA=lua5.3 - - *fennel - - luarocks-5.3 install luacov - - luarocks-5.3 install luacov-cobertura - - luarocks-5.3 install luacov-console - - *fenneldoc - - (cd itable && make) - - (cd lazy-seq && make) - script: - - LUAEXECUTABLES="lua5.2 lua5.3 lua5.4" make testall >/dev/null - - make luacov-console # doesn't use --correlate, more accurate - - make luacov # produces Cobertura XML - artifacts: - reports: - coverage_report: - coverage_format: cobertura - path: coverage/cobertura-coverage.xml - coverage: '/Total.*\s(\d+.\d+%)$/' - -# Luajit actually is an impostor in Alpine, as the package actually -# uses Moonjit implementation, which is different from what I'm -# working with, so Fedora 36 image is used, which as of this moment -# has latest Luajit available -Luajit: - image: fedora:36 - stage: test - before_script: - - dnf install -y -q lua luajit git make - - *fennel - - (cd itable && make) - - (cd lazy-seq && make) - script: - - LUA=luajit make test -- cgit v1.2.3