Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build for upcoming Ubuntu LTS 22.04 #166

Merged
merged 2 commits into from
Jun 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/cppcmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
config:
- {name: "ubuntu-20.04", os: "ubuntu-20.04", cmake_extra: "-DLSL_BUNDLED_PUGIXML=OFF"}
- {name: "ubuntu-18.04", os: "ubuntu-latest", docker: "ubuntu:18.04" }
- {name: "ubuntu-22.04", os: "ubuntu-latest", docker: "ubuntu:22.04" }
- {name: "windows-x64", os: "windows-2019", cmake_extra: "-T v140,host=x86"}
- {name: "windows-32", os: "windows-2019", cmake_extra: "-T v140,host=x86 -A Win32"}
- {name: "macOS-latest", os: "macOS-latest"}
Expand All @@ -46,13 +47,15 @@ jobs:
run: |
apt update
apt install -y --no-install-recommends g++ git python3-pip ninja-build file dpkg-dev lsb-release sudo curl
python3 -m pip install cmake
if [[ "$(apt search cmake | grep ^cmake/ | cut -d" " -f 2 | sort -V | tail -1 | cut -d. -f-2)" == 3.10 ]]
then python3 -m pip install cmake
else apt install -y --no-install-recommends cmake libpugixml-dev
fi
if: ${{ matrix.config.docker }}

- name: Configure CMake
run: |
if [[ "${{ matrix.config.os }}" == "ubuntu-20.04" ]]; then
sudo apt-get install libpugixml-dev
sudo apt-get install -y --no-install-recommends libpugixml-dev
fi
cmake --version
cmake -S . -B build \
Expand Down