Add DAP Run-In-Terminal Capability Flags and Update Build Configurations #24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ubuntu | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - 'CMakeLists.txt' | |
| - 'dap/**' | |
| - 'dbgcli/**' | |
| - 'tests/**' | |
| - '.github/workflows/ubuntu.yml' | |
| pull_request: | |
| paths: | |
| - 'CMakeLists.txt' | |
| - 'dap/**' | |
| - 'dbgcli/**' | |
| - 'tests/**' | |
| - '.github/workflows/ubuntu.yml' | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # wxWidgets | |
| - name: Install dependencies for wxWidgets | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install build-essential cmake gettext git libedit-dev libgtk-3-dev libhunspell-dev libsqlite3-dev libssh-dev pkg-config xterm libmariadb-dev libpq-dev | |
| - name: Checkout WxWidgets | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: wxWidgets/wxWidgets | |
| ref: ${{matrix.wx-version}} | |
| submodules: recursive | |
| path: 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 | |
| echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib >> $GITHUB_ENV | |
| # wxdap | |
| - name: Checkout wxdap | |
| uses: actions/checkout@v4 | |
| - name: build wxdap | |
| run: | | |
| mkdir build-release | |
| cd build-release | |
| cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=1 | |
| cmake --build . -j $(nproc) | |
| - name: test | |
| run: | | |
| cd build-release | |
| ctest --output-on-failure |