From 8edf58963d6b7e79d8db3d37657b447e8f190ca7 Mon Sep 17 00:00:00 2001 From: Eran Ifrah Date: Sat, 28 Dec 2024 20:25:59 +0200 Subject: [PATCH] Added a job for building CodeLite without SFTP support Signed-off-by: Eran Ifrah --- .github/workflows/ubuntu.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index ec1b4252ac..249ca8276e 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -10,8 +10,8 @@ jobs: runs-on: ubuntu-24.04 steps: - # WxWidgets - - name: install dependencies for wxWidgets + # wxWidgets + - name: Install dependencies for wxWidgets run: | sudo apt-get update sudo apt-get install build-essential cmake git libedit-dev libgtk-3-dev libhunspell-dev libsqlite3-dev libssh-dev pkg-config xterm libmariadb-dev libpq-dev @@ -24,23 +24,23 @@ jobs: submodules: recursive path: wxWidgets - - name: build and install wxWidgets + - name: Build and install wxWidgets run: | mkdir -p wxWidgets/build-release cd wxWidgets/build-release ../configure --disable-debug_flag --with-gtk=3 --enable-stl make -j$(nproc) && sudo make install - # Codelite - - name: install Codelite's dependencies + # CodeLite + - name: Install CodeLite's dependencies run: sudo apt-get install build-essential cmake git libpcre2-dev libsqlite3-dev libssh-dev bison flex - - name: Checkout Codelite + - name: Checkout CodeLite uses: actions/checkout@v4 with: submodules: recursive - - name: build, test and install Codelite + - name: Build, test and install CodeLite run: | mkdir build-release cd build-release @@ -51,3 +51,10 @@ jobs: - name: codelite --version run: xvfb-run -a codelite --version || exit 0 # codelite --version returns -1 + + - name: Build CodeLite without SFTP support + run: | + mkdir build-release-no-sftp + cd build-release-no-sftp + cmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_SFTP=0 + make -j$(nproc)