Commit ab13b30f authored by nanahira's avatar nanahira

Update .gitlab-ci.yml

parent 20d81057
Pipeline #35137 passed with stage
in 28 seconds
...@@ -10,15 +10,13 @@ redtext: ...@@ -10,15 +10,13 @@ redtext:
tags: tags:
- linux - linux
image: git-registry.mycard.moe/nanahira/srvpro:lite image: git-registry.mycard.moe/nanahira/srvpro:lite
variables:
DATABASE_FILE: expansions/7cgl.cdb
script: script:
- apt update && apt -y install sqlite3 - apt update && apt -y install sqlite3
- mv /ygopro-server/ygopro . - mv /ygopro-server/ygopro .
- cd ygopro - cd ygopro
- rm -rf expansions - rm -rf expansions
- ln -s ../expansions . - ln -s ../expansions .
- sqlite3 $DATABASE_FILE "select id from datas where type != 0x11 and (type & 0x4000) = 0;" | xargs -I {} ./ygopro {} 2>&1 | tee ../redtext.txt - ls expansions/*.cdb | xargs -I '{}' sqlite3 {} "select id from datas where type != 0x11 and (type & 0x4000) = 0;" | xargs -I {} ./ygopro {} 2>&1 | tee ../redtext.txt
- cd .. - cd ..
# if there are any lines in redtext.txt fail the job # if there are any lines in redtext.txt fail the job
- exit $(wc -l < redtext.txt) - exit $(wc -l < redtext.txt)
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