From ba0e1c52b5d0d011461ec495259dd6cca847e5d2 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 6 May 2022 18:30:20 +0200 Subject: [PATCH] style: `ci-test-package-cmake.yml` reformatted --- .github/workflows/ci-test-package-cmake.yml | 105 +++++++++++--------- 1 file changed, 57 insertions(+), 48 deletions(-) diff --git a/.github/workflows/ci-test-package-cmake.yml b/.github/workflows/ci-test-package-cmake.yml index 568083a7..68f02bd1 100644 --- a/.github/workflows/ci-test-package-cmake.yml +++ b/.github/workflows/ci-test-package-cmake.yml @@ -25,14 +25,14 @@ name: CMake Test Package CI on: push: paths-ignore: - - 'docs/**' - - 'example/**' - - 'test/**' + - "docs/**" + - "example/**" + - "test/**" pull_request: paths-ignore: - - 'docs/**' - - 'example/**' - - 'test/**' + - "docs/**" + - "example/**" + - "test/**" jobs: test_package: @@ -42,46 +42,55 @@ jobs: fail-fast: false matrix: config: - - { - name: "Windows MSVC 2019", - os: windows-latest, - compiler: { type: VISUAL, version: 16, cc: "", cxx: "" } - } - - { - name: "Ubuntu GCC 10.3.0", - os: ubuntu-20.04, - compiler: { type: GCC, version: 10, cc: "gcc-10", cxx: "g++-10" }, - lib: "libstdc++11" - } - - { - name: "Ubuntu GCC 11.1.0", - os: ubuntu-20.04, - compiler: { type: GCC, version: 11, cc: "gcc-11", cxx: "g++-11" }, - lib: "libstdc++11" - } - - { - name: "Ubuntu Clang 12.0.0 + libstdc++11", - os: ubuntu-20.04, - compiler: { type: CLANG, version: 12, cc: "clang-12", cxx: "clang++-12" }, - lib: "libstdc++11" - } - - { - name: "Ubuntu Clang 12.0.0 + libc++", - os: ubuntu-20.04, - compiler: { type: CLANG, version: 12, cc: "clang-12", cxx: "clang++-12" }, - lib: "libc++" - } - - { - name: "Ubuntu Clang 13.0.0 + libc++", - os: ubuntu-20.04, - compiler: { type: CLANG, version: 13, cc: "clang-13", cxx: "clang++-13" }, - lib: "libc++" - } - - { - name: "MacOS Apple Clang 13", - os: macos-11, - compiler: { type: APPLE_CLANG, version: "13.0", cc: "clang", cxx: "clang++" } - } + - { + name: "Windows MSVC 2019", + os: windows-latest, + compiler: { type: VISUAL, version: 16, cc: "", cxx: "" }, + } + - { + name: "Ubuntu GCC 10.3.0", + os: ubuntu-20.04, + compiler: { type: GCC, version: 10, cc: "gcc-10", cxx: "g++-10" }, + lib: "libstdc++11", + } + - { + name: "Ubuntu GCC 11.1.0", + os: ubuntu-20.04, + compiler: { type: GCC, version: 11, cc: "gcc-11", cxx: "g++-11" }, + lib: "libstdc++11", + } + - { + name: "Ubuntu Clang 12.0.0 + libstdc++11", + os: ubuntu-20.04, + compiler: + { type: CLANG, version: 12, cc: "clang-12", cxx: "clang++-12" }, + lib: "libstdc++11", + } + - { + name: "Ubuntu Clang 12.0.0 + libc++", + os: ubuntu-20.04, + compiler: + { type: CLANG, version: 12, cc: "clang-12", cxx: "clang++-12" }, + lib: "libc++", + } + - { + name: "Ubuntu Clang 13.0.0 + libc++", + os: ubuntu-20.04, + compiler: + { type: CLANG, version: 13, cc: "clang-13", cxx: "clang++-13" }, + lib: "libc++", + } + - { + name: "MacOS Apple Clang 13", + os: macos-11, + compiler: + { + type: APPLE_CLANG, + version: "13.0", + cc: "clang", + cxx: "clang++", + }, + } # In case a Conan docker image will be needed to provide a specific configuration we can use a Docker image as follows # - { # name: "Ubuntu GCC 10.2.0", @@ -89,7 +98,7 @@ jobs: # compiler: { type: GCC, version: 10, cc: "gcc-10", cxx: "g++-10" }, # docker_image: conanio/gcc10 # } - build_type: [ "Release", "Debug" ] + build_type: ["Release", "Debug"] env: CC: ${{ matrix.config.compiler.cc }} @@ -151,7 +160,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.8' + python-version: "3.8" - name: Install Conan shell: bash run: |