Commit 2b3088cf authored by Tang Xinwei's avatar Tang Xinwei

Do not check prescript cards

parent 1945db64
...@@ -5,26 +5,26 @@ stages: ...@@ -5,26 +5,26 @@ stages:
variables: variables:
GIT_DEPTH: "1" GIT_DEPTH: "1"
redtext: # redtext:
stage: pack # stage: pack
dependencies: [] # dependencies: []
tags: # tags:
- linux # - linux
image: git-registry.mycard.moe/nanahira/srvpro:lite # image: git-registry.mycard.moe/nanahira/srvpro:lite
variables: # variables:
DATABASE_FILE: expansions/test-release.cdb # DATABASE_FILE: expansions/test-release.cdb
script: # script:
- apt update && apt -y install sqlite3 # - apt update && apt -y install sqlite3
- mv /ygopro-server/ygopro . # - mv /ygopro-server/ygopro .
- mkdir dist # - mkdir dist
- cd ygopro # - cd ygopro
- mkdir -p expansions # - mkdir -p expansions
- mv ../script expansions/ # - mv ../script expansions/
- mv ../*.cdb expansions # - mv ../*.cdb expansions
- echo "# Result of redtext test of commit $CI_COMMIT_SHA" # - echo "# Result of redtext test of commit $CI_COMMIT_SHA"
- echo "select id from datas where type != 0x10 and (type & 0x4000) = 0;" | sqlite3 $DATABASE_FILE | xargs -I {} ./ygopro {} 2>&1 | tee ../dist/redtext.txt # - echo "select id from datas where type != 0x10 and (type & 0x4000) = 0;" | sqlite3 $DATABASE_FILE | xargs -I {} ./ygopro {} 2>&1 | tee ../dist/redtext.txt
- cd .. # - cd ..
- exit $(cat dist/redtext.txt | wc -l) # - exit $(cat dist/redtext.txt | wc -l)
pack: pack:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment