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

ci: all workflows support libxml2 #218

Closed
wants to merge 1 commit into from
Closed
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
120 changes: 0 additions & 120 deletions .github/actions/boost_clone/action.yml

This file was deleted.

132 changes: 0 additions & 132 deletions .github/actions/cmake_run/action.yml

This file was deleted.

112 changes: 0 additions & 112 deletions .github/actions/package_install/action.yml

This file was deleted.

9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -24,8 +24,8 @@ jobs:
matrix:
include:
- { name: "MSVC 14.3 - C++20", os: windows-2022, std: '20', cmake_args: -G "Visual Studio 17 2022" -A x64, github_release: true }
- { name: "GCC 13 - C++20", os: ubuntu-22.04, compiler: gcc, version: 13.1, std: '20', github_release: true, install: "ninja-build"}
- { name: "Clang 16 - C++20", os: ubuntu-22.04, compiler: clang, version: 16, std: 20, install: "libxml2-utils ninja-build" }
- { name: "GCC 13 - C++20", os: ubuntu-22.04, compiler: gcc, version: 13.1, std: '20', github_release: true, install: "openjdk-11-jdk ninja-build" }
- { name: "Clang 16 - C++20", os: ubuntu-22.04, compiler: clang, version: 16, std: 20, install: "openjdk-11-jdk ninja-build" }

name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
@@ -61,11 +61,13 @@ jobs:
update-ld-library-path: true

- name: Install packages
if: ${{ matrix.install }}
uses: alandefreitas/cpp-actions/package-install@v1.2.1
id: package-install
with:
apt-get: ${{ matrix.install }}
vcpkg: libxml2[tools]
cxx: ${{ steps.setup-cpp.outputs.cxx }}
cc: ${{ steps.setup-cpp.outputs.cc }}

- name: CMake Workflow (C++${{ matrix.std }})
uses: alandefreitas/cpp-actions/cmake-workflow@v1.2.1
@@ -74,6 +76,7 @@ jobs:
cxxstd: ${{ matrix.std }}
cxx: ${{ steps.setup-cpp.outputs.cxx }}
cc: ${{ steps.setup-cpp.outputs.cc }}
toolchain: ${{ steps.package-install.outputs.vcpkg-toolchain }}
generator: Ninja
install-prefix: .local
extra-args: ${{ format('-D LLVM_ROOT="{0}" -D Clang_ROOT="{0}" -D CMAKE_EXPORT_COMPILE_COMMANDS=ON', steps.llvm-install.outputs.llvm-dir || '/usr/local') }}