Skip to content

fixed: build errors with ENABLE_SFTP=1 #6

fixed: build errors with ENABLE_SFTP=1

fixed: build errors with ENABLE_SFTP=1 #6

Workflow file for this run

name: ubuntu
on:
workflow_dispatch:
push:
pull_request:
jobs:
linux:
runs-on: ubuntu-latest
steps:
# WxWidgets
- name: install dependencies for wxWidgets
run: sudo apt-get install build-essential clang-format-12 cmake git libedit-dev libgtk-3-dev libhunspell-dev libsqlite3-dev libssh-dev pkg-config xterm
- name: Checkout WxWidgets
uses: actions/checkout@v4
with:
repository: wxWidgets/wxWidgets
path: wxWidgets
ref: 3.2
submodules: recursive
- 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
run: sudo apt-get install build-essential cmake git libpcre2-dev libsqlite3-dev libssh-dev
- name: Checkout Codelite
uses: actions/checkout@v4
with:
submodules: recursive
- name: build and install Codelite
run: |
mkdir build-release
cd build-release
cmake -DCMAKE_BUILD_TYPE=Release .. -DCOPY_WX_LIBS=1
make -j$(nproc)
sudo make install
- name: codelite --version
run: xvfb-run -a codelite --version || exit 0 # codelite --version returns -1