Adding TGUI to the dependencies of the CI

This commit is contained in:
AnonymusRaccoon
2020-02-14 18:27:42 +01:00
parent 9d614a6e0a
commit c8e91cb3f4
2 changed files with 14 additions and 0 deletions
+8
View File
@@ -14,6 +14,14 @@ jobs:
- name: Install the SFML.
run: sudo apt-get update &&
sudo apt-get install --yes libsfml-dev
- name: Install TGUI.
run: |
git clone https://github.com/texus/TGUI -b 0.8 /tmp/tgui
cd /tmp/tgui
mkdir build
cd build
cmake ..
make -j 4 && sudo make install
- name: Build Makefile with CMake
run: mkdir -p build && cd build && cmake ..
- name: Build with Makefile
+6
View File
@@ -16,6 +16,12 @@ jobs:
Invoke-WebRequest -Uri https://www.sfml-dev.org/files/SFML-2.5.1-windows-gcc-7.3.0-mingw-64-bit.zip -OutFile sfml.zip
Expand-Archive sfml.zip -DestinationPath . -Force
Move-Item -Path SFML-2.5.1 -Destination build
- name: Install TGUI.
run: |
Invoke-WebRequest -Uri https://github.com/texus/TGUI/releases/download/v0.8.6/TGUI-0.8.6-mingw-7.3.0-64bit-for-SFML-2.5.1.zip -OutFile tgui.zip
Expand-Archive tgui.zip -DestinationPath . -Force
Move-Item -Path TGUI-0.8/lib/lib* -Destination build/lib
Move-Item -Path TGUI-0.8/include/* -Destination build/include
- name: Build Makefile with CMake
run: |
Set-Location build