From f7e99c091406c86c9f8ebc0069a24d12ed540216 Mon Sep 17 00:00:00 2001 From: Matteo Bettini Date: Wed, 20 Sep 2023 22:10:21 +0100 Subject: [PATCH] amend Signed-off-by: Matteo Bettini --- .github/unittest/install_smacv2.sh | 3 +++ .github/unittest/install_vmas.sh | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/.github/unittest/install_smacv2.sh b/.github/unittest/install_smacv2.sh index 01baf023..fd57cf0a 100644 --- a/.github/unittest/install_smacv2.sh +++ b/.github/unittest/install_smacv2.sh @@ -17,3 +17,6 @@ unzip SMAC_Maps.zip mkdir "${map_dir}/SMAC_Maps" mv *.SC2Map "${map_dir}/SMAC_Maps" printf "StarCraft II and SMAC are installed." + +pip install numpy==1.23.0 +pip install git+https://github.com/oxwhirl/smacv2.git diff --git a/.github/unittest/install_vmas.sh b/.github/unittest/install_vmas.sh index 3e297b0c..d98b5de1 100644 --- a/.github/unittest/install_vmas.sh +++ b/.github/unittest/install_vmas.sh @@ -1,2 +1,7 @@ python -m pip install vmas +apt-get install -y python-opengl +apt-get install -y xvbf +apt-get install -y x11-utils +export DISPLAY=':99.0' +Xvfb :99 -screen 0 1400x900x24 > /dev/null 2>&1 &