Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-2pick
Commits
0354dc5b
Commit
0354dc5b
authored
Jan 22, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test pack
parent
0d319928
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
appveyor.yml
appveyor.yml
+32
-0
No files found.
appveyor.yml
View file @
0354dc5b
...
...
@@ -34,12 +34,44 @@ build:
after_build
:
-
ps
:
move bin\release\ygopro.exe .
# redis
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/MicrosoftArchive/redis/releases/download/win-3.2.100/Redis-x64-3.2.100.zip ; exit 0"
-
7z x -y -oredis Redis-x64-3.2.100.zip
# nodejs
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://nodejs.org/dist/v10.15.0/node-v10.15.0-win-x64.zip ; exit 0"
-
7z -x -y node-v10.15.0-win-x64.zip
-
mv node-v10.15.0-win-x64 node
# srvpro
-
git clone https://github.com/purerosefallen/ygopro-server
-
cd ygopro-server
-
../node/npm install
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/purerosefallen/windbot/releases/download/latest/WindBot.7z ; exit 0"
-
rm -rf Bot.exe bot.conf
-
mv WindBot windbot_
-
mv windbot_ windbot
# Windows NTFS does not support case sensitive, so renaming the folder twice.
-
cp ../cards.cdb windbot/
-
mkdir ygopro
-
cp -rf ../ygopro.exe ygopro/
-
mv ../cards.cdb ygopro/
-
mv ../lflist.conf ygopro/
-
mv ../script ygopro/
-
cp -rf config_build config
-
cd ..
# start script
-
bash -c "echo '@echo off' >> run.bat ; echo 'start redis/redis-server.exe' >> run.bat ; echo 'cd ygopro-server/windbot' >> run.bat ; echo 'start WindBot.exe servermode=true serverport=2399' >> run.bat ; echo 'cd ..' >> run.bat ; echo '../node/node.exe ygopro-server.js' >> run.bat"
-
7z a -mx9 -xr!.git* ygopro-server-win.zip node redis ygopro-server run.bat
test
:
off
artifacts
:
-
path
:
ygopro.exe
name
:
ygopro server mode
-
path
:
ygopro-server-win.zip
name
:
Windows version of SRVPro
deploy
:
release
:
win
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment