From 5f1ce2d3bbffb0fa38e69eded03ffc185183b3c6 Mon Sep 17 00:00:00 2001 From: Rebekah Date: Tue, 18 Jun 2024 20:13:43 -0400 Subject: [PATCH] Add .woodpecker.json Signed-off-by: Rebekah --- .woodpecker.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .woodpecker.json diff --git a/.woodpecker.json b/.woodpecker.json new file mode 100644 index 0000000..0ab4fda --- /dev/null +++ b/.woodpecker.json @@ -0,0 +1,35 @@ +{ + "steps": [ + { + "name": "Install development packages", + "image": "ubuntu", + "commands": [ + "apt update", + "apt install -y build-essential cmake libglew-dev libx11-dev libxext-dev libxfixes-dev" + ] + }, + { + "name": "Make build directory", + "image": "ubuntu", + "commands": [ + "mkdir build" + ] + }, + { + "name": "CMake build make-files", + "image": "ubuntu", + "commands": [ + "cd build", + "cmake -DCMAKE_BUILD_TYPE=Release ../" + ] + }, + { + "name": "Build Project", + "image": "ubuntu", + "commands": [ + "cd build", + "make" + ] + } + ] +} \ No newline at end of file