mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-24 15:18:44 +00:00
Adding TGUI to the dependencies of the CI
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user