File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,13 @@ jobs:
19
19
- name : Build with Maven
20
20
run : mvn -B package --file pom.xml
21
21
22
- - name : Setup e2e-linux env
22
+ - name : Setup and launch openbw
23
23
run : |
24
24
sudo apt-get update
25
25
sudo apt-get install cmake libsdl2-dev libsdl2-mixer-dev
26
-
27
-
26
+
28
27
git clone https://github.com/basil-ladder/openbw
29
- git clone https://github.com/basil-ladder/bwapi
28
+ git clone -b linux-client-support https://github.com/basil-ladder/bwapi
30
29
cd bwapi
31
30
mkdir build
32
31
cd build
37
36
unzip starcraft.zip patch_rt.mpq BROODAT.MPQ STARDAT.MPQ
38
37
mv patch_rt.mpq Patch_rt.mpq && mv BROODAT.MPQ BrooDat.mpq && mv STARDAT.MPQ StarDat.mpq
39
38
unzip starcraft.zip "maps/BroodWar/ICCup/ICCup Destination 1.1.scx"
40
-
39
+
41
40
BWAPI_CONFIG_AUTO_MENU__RACE=Terran BWAPI_CONFIG_AUTO_MENU__MAP="maps/BroodWar/ICCup/ICCup Destination 1.1.scx" ./bin/BWAPILauncher&
41
+ BWAPI_CONFIG_AUTO_MENU__RACE=Terran BWAPI_CONFIG_AUTO_MENU__MAP="maps/BroodWar/ICCup/ICCup Destination 1.1.scx" ./bin/BWAPILauncher&
42
+
43
+ - name : Build & Run test bots
44
+ run : |
45
+ mvn install -DskipTests
46
+ mvn -f it/bots/pom.xml package
47
+
48
+ java -jar it/bots/SittingDuck/target/SittingDuck-*-jar-with-dependencies.jar &
49
+ java -jar it/bots/jbwapibot/target/MarineHell-*-jar-with-dependencies.jar
You can’t perform that action at this time.
0 commit comments