File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test Linux
2+
3+ on :
4+ - pull_request
5+
6+ jobs :
7+ e2e :
8+
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : Set up JDK 8
14+ uses : actions/setup-java@v2
15+ with :
16+ java-version : ' 8'
17+ distribution : ' temurin'
18+ cache : maven
19+ - name : Build with Maven
20+ run : mvn -B package --file pom.xml
21+
22+ - name : Setup e2e-linux env
23+ run : |
24+ sudo apt-get update
25+ sudo apt-get install cmake libsdl2-dev libsdl2-mixer-dev
26+
27+
28+ git clone https://github.com/basil-ladder/openbw
29+ git clone https://github.com/basil-ladder/bwapi
30+ cd bwapi
31+ mkdir build
32+ cd build
33+ cmake .. -DCMAKE_BUILD_TYPE=Release -DOPENBW_DIR=../../openbw -DOPENBW_ENABLE_UI=1
34+ make -j4
35+
36+ curl http://www.cs.mun.ca/~dchurchill/starcraftaicomp/files/Starcraft_1161.zip -o starcraft.zip
37+ unzip starcraft.zip patch_rt.mpq BROODAT.MPQ STARDAT.MPQ
38+ mv patch_rt.mpq Patch_rt.mpq && mv BROODAT.MPQ BrooDat.mpq && mv STARDAT.MPQ StarDat.mpq
39+ unzip starcraft.zip "maps/BroodWar/ICCup/ICCup Destination 1.1.scx"
40+
41+ BWAPI_CONFIG_AUTO_MENU__RACE=Terran BWAPI_CONFIG_AUTO_MENU__MAP="maps/BroodWar/ICCup/ICCup Destination 1.1.scx" ./bin/BWAPILauncher&
You can’t perform that action at this time.
0 commit comments