Add linux-x64 compile target
This commit is contained in:
3
ci/linux-x64/Dockerfile
Normal file
3
ci/linux-x64/Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM debian:latest
|
||||
RUN apt update && apt upgrade -y && apt install -y git cmake build-essential libx11-dev libgtk-3-dev python3 python3-pip
|
||||
RUN ln -s /usr/bin/python3 /usr/bin/python
|
18
ci/linux-x64/docker-compose.yml
Normal file
18
ci/linux-x64/docker-compose.yml
Normal file
@ -0,0 +1,18 @@
|
||||
services:
|
||||
dawn-linux64:
|
||||
build: .
|
||||
volumes:
|
||||
- ./../../:/Dawn
|
||||
working_dir: /Dawn
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- |
|
||||
ln -s /usr/bin/python3 /usr/bin/python
|
||||
if [ ! -d ./lib/glfw ]; then
|
||||
git submodule update --init
|
||||
fi
|
||||
mkdir -p ./build/linux-x64
|
||||
cd ./build/linux-x64
|
||||
cmake ../.. -DDAWN_BUILD_SYSTEM=linux -DGLFW_BUILD_X11=ON -DGLFW_BUILD_WAYLAND=OFF
|
||||
make
|
Reference in New Issue
Block a user