-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
44 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.git | ||
bin | ||
Build/bin | ||
Build/projects | ||
Libraries/TiltedHooks | ||
Libraries/TiltedReverse | ||
Libraries/TiltedUI | ||
.githooks/* | ||
.github/* | ||
.xmake/* | ||
Services/* | ||
build/* | ||
vsxmake/* | ||
Tools/* |
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 |
---|---|---|
@@ -1,22 +1,13 @@ | ||
FROM alpine:latest | ||
FROM ubuntu:latest | ||
|
||
ARG make_jobs=8 | ||
ARG premake_version=5.0.0-alpha14 | ||
ARG protobuf_version=3.9.1 | ||
RUN apt update && \ | ||
apt-get install software-properties-common unzip -y && \ | ||
add-apt-repository -y ppa:ubuntu-toolchain-r/test && \ | ||
apt update && \ | ||
apt install gcc-11 g++-11 curl -y && \ | ||
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 110 --slave /usr/bin/g++ g++ /usr/bin/g++-11 --slave /usr/bin/gcov gcov /usr/bin/gcov-11 | ||
|
||
RUN apk add --no-cache --update autoconf automake build-base libtool openssl-dev linux-headers && \ | ||
cd /tmp && \ | ||
wget https://github.com/premake/premake-core/releases/download/v${premake_version}/premake-${premake_version}-src.zip && \ | ||
unzip -q premake-*.zip && \ | ||
cd premake-*/build/gmake.unix/ && \ | ||
make config=release -j $make_jobs && \ | ||
mv ../../bin/release/premake5 /usr/local/bin && \ | ||
cd /tmp && \ | ||
wget https://github.com/protocolbuffers/protobuf/releases/download/v${protobuf_version}/protobuf-cpp-${protobuf_version}.zip && \ | ||
unzip protobuf-cpp-*.zip && \ | ||
cd protobuf-* && \ | ||
./autogen.sh && \ | ||
./configure --disable-tests && \ | ||
make -j $make_jobs && \ | ||
make install && \ | ||
rm -rf /tmp/* | ||
RUN curl -fsSL https://xmake.io/shget.text > getxmake.sh && \ | ||
chmod +x getxmake.sh && \ | ||
bash ./getxmake.sh && \ | ||
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 110 --slave /usr/bin/g++ g++ /usr/bin/g++-11 --slave /usr/bin/gcov gcov /usr/bin/gcov-11 |
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