Update cmake-single-platform.yml

This commit is contained in:
levinsv 2024-02-04 11:08:21 +05:00 committed by GitHub
parent e3fc21020c
commit 1de9cc1ce0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,28 +11,24 @@ on:
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
CXXFLAGS: "-DNO_WXJSON_GIT"
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
runs-on: ubuntu-22.10
steps:
- uses: actions/checkout@v3
- name: Install libxslt-dev libxml2-utils postgresql-client
- name: Install libxslt-dev libxml2-dev libpq-dev postgresql-server-dev-all
run: |
sudo apt-get update
sudo apt-get install -y libxslt-dev libxml2-utils postgresql-client
sudo apt-get install libxslt-dev libxml2-dev libpq-dev postgresql-server-dev-all
- name: Install wxWidgets
run: |
sudo apt-get update
sudo apt-get install libwxgtk3.2-dev
- name: Display versions of tools and libraries
continue-on-error: true
run: uname -a; wx-config --list; wx-config --cxxflags; wx-config --libs; g++ --version | grep g++
sudo apt-get install libwxbase3.2-0-unofficial libwxbase3.2unofficial-dev libwxgtk3.2-0-unofficial libwxgtk3.2unofficial-dev wx3.2-headers wx-common libwxgtk-media3.2-0-unofficial libwxgtk-media3.2unofficial-dev libwxgtk-webview3.2-0-unofficial libwxgtk-webview3.2unofficial-dev libwxgtk-webview3.2-0-unofficial-dbg libwxbase3.2-0-unofficial-dbg libwxgtk3.2-0-unofficial-dbg libwxgtk-media3.2-0-unofficial-dbg wx3.2-i18n
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type