Initial Circle CI Integration (#102)

CircleCI allow us to build each commit and especially commits from master branch. In the version dedicated to open source it can only works within Linux environment. Resource are also limited, but it offers 4 cores and 8 GB of RAM, which is sufficient to build TheIDE.

My implementation runs TheIDE and UMK makiles. In the future it can be extended for more advanced things such as running auto-test scripts.

Image cimg/base:2022.09 offers Clang 11, which is sufficient for our needs.

No more DDUMPS :)
This commit is contained in:
Zbigniew Rębacz 2022-09-30 01:02:17 +02:00 committed by GitHub
parent 099bd82dab
commit bcb86d8728
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

15
.circleci/config.yml Normal file
View file

@ -0,0 +1,15 @@
version: 2.1
jobs:
build:
docker:
- image: cimg/base:2022.09
resource_class: large
environment:
NUMBER_OF_CPUS: 4
steps:
- checkout
- run: sudo apt-get update
- run: sudo apt-get install g++ clang git make libgtk-3-dev libnotify-dev libbz2-dev libssl-dev xdotool
- run: make -f Makefile -j ${NUMBER_OF_CPUS}
- run: make -f umkMakefile.in -j ${NUMBER_OF_CPUS}

View file

@ -599,7 +599,7 @@ bool Gdb::Create(Host& host, const String& exefile, const String& cmdline, bool
#ifdef PLATFORM_POSIX
#ifndef PLATFORM_MACOS
system("setxkbmap -option grab:break_actions"); // to be able to recover capture in breakpoint
IGNORE_RESULT(system("setxkbmap -option grab:break_actions")); // to be able to recover capture in breakpoint
String xdotool_chk = ConfigFile("xdotool_chk");
if(!FileExists(xdotool_chk) && system("xdotool key XF86Ungrab")) {
Exclamation("[* xdotool] utility is not installed or does not work properly.&"