forked from digarok/gsplus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gitlab-ci integration for cmake - all platforms
- Loading branch information
Showing
3 changed files
with
99 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,10 @@ | |
# relatively straightforward to modify for something like yum | ||
|
||
|
||
# system prep | ||
# Build tools | ||
sudo apt-get -y update | ||
sudo apt-get -y upgrade | ||
sudo apt-get -y install git | ||
sudo apt-get -y install g++ | ||
sudo apt-get -y install git g++ cmake re2c | ||
sudo apt-get -y install libpcap0.8-dev | ||
sudo apt-get -y install libfreetype6-dev | ||
|
||
|
@@ -27,8 +26,9 @@ sudo apt-get -y install libsdl2-dev | |
sudo apt-get -y install libsdl2-image-dev | ||
|
||
|
||
# Example build to test out our system | ||
cd gsplus/src | ||
ln -s vars_x86linux_sdl2 vars | ||
make clean ; make | ||
|
||
# Clone & Build. | ||
git clone [email protected]:digarok/gsplus.git | ||
mkdir build ; cd build | ||
cmake .. | ||
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,12 +14,10 @@ xcode-select --install | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | ||
|
||
# Use brew to install dependencies. | ||
brew install sdl2 | ||
brew install sdl2_image | ||
brew install freetype | ||
brew install sdl2 sdl2_image freetype re2c cmake | ||
|
||
# Build. | ||
# Clone & Build. | ||
git clone [email protected]:digarok/gsplus.git | ||
cd gsplus/src | ||
ln -s vars_osx_sdl2 vars | ||
make clean ; make | ||
mkdir build ; cd build | ||
cmake .. | ||
make |