Skip to content

Commit

Permalink
Test via tt
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Chaplashkin committed May 15, 2024
1 parent 6e2e70a commit cb12f29
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test_on_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ jobs:
with:
tarantool-version: '${{ matrix.tarantool }}'

- name: Add the repository
run: curl -L https://tarantool.io/GcTQaQl/release/2/installer.sh | bash

- name: Install requirements for community
run: |
sudo apt-get -y install tt
cmake -S . -B build
make -C build bootstrap
Expand Down
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES .rocks)
add_custom_command(
OUTPUT ${PROJECT_SOURCE_DIR}/.rocks
DEPENDS ${PROJECT_NAME}-scm-1.rockspec
COMMAND tarantoolctl rocks make ./${PROJECT_NAME}-scm-1.rockspec
COMMAND tarantoolctl rocks install http 1.1.0
COMMAND tarantoolctl rocks install luacheck 0.25.0
COMMAND tarantoolctl rocks install luacov 0.13.0
COMMAND tt rocks make ./${PROJECT_NAME}-scm-1.rockspec
COMMAND tt rocks install http 1.1.0
COMMAND tt rocks install luacheck 0.25.0
COMMAND tt rocks install luacov 0.13.0
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
)

Expand All @@ -51,7 +51,7 @@ add_custom_target(bootstrap DEPENDS ${PROJECT_SOURCE_DIR}/.rocks)
add_custom_command(
OUTPUT ${PROJECT_SOURCE_DIR}/.rocks/bin/ldoc
DEPENDS bootstrap
COMMAND tarantoolctl rocks install ldoc --server=http://rocks.moonscript.org
COMMAND tt rocks install ldoc --server=http://rocks.moonscript.org
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
)

Expand Down

0 comments on commit cb12f29

Please sign in to comment.