add user defined units options #1083
Workflow file for this run
This file contains 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: CMAKE tests | |
on: | |
push: | |
branches: | |
- main | |
- v* | |
pull_request: | |
branches: | |
- main | |
jobs: | |
cmake-config-2004: | |
name: CMake config check 3.4-3.11 | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: update certificates | |
run: | | |
sudo apt-get install ca-certificates | |
- name: Check CMake 3.4 | |
with: | |
cmake-version: "3.4" | |
uses: ./.github/actions/quick_cmake | |
- name: Check CMake 3.5 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.5" | |
if: success() || failure() | |
- name: Check CMake 3.6 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.6" | |
if: success() || failure() | |
- name: Check CMake 3.7 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.7" | |
if: success() || failure() | |
- name: Check CMake 3.8 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.8" | |
if: success() || failure() | |
- name: Check CMake 3.9 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.9" | |
if: success() || failure() | |
- name: Check CMake 3.10 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.10" | |
if: success() || failure() | |
- name: Check CMake 3.11 (full) | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.11" | |
if: success() || failure() | |
cmake-config-2204: | |
name: CMake config check 3.12+ | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check CMake 3.12 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.12" | |
if: success() || failure() | |
- name: Check CMake 3.13 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.13" | |
if: success() || failure() | |
- name: Check CMake 3.14 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.14" | |
if: success() || failure() | |
- name: Check CMake 3.15 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.15" | |
if: success() || failure() | |
- name: Check CMake 3.16 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.16" | |
if: success() || failure() | |
- name: Check CMake 3.17 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.17" | |
if: success() || failure() | |
- name: Check CMake 3.18 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.18" | |
if: success() || failure() | |
- name: Check CMake 3.19 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.19" | |
if: success() || failure() | |
- name: Check CMake 3.20 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.20" | |
if: success() || failure() | |
- name: Check CMake 3.21 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.21" | |
if: success() || failure() | |
- name: Check CMake 3.22 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.22" | |
if: success() || failure() | |
- name: Check CMake 3.23 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.23" | |
if: success() || failure() | |
- name: Check CMake 3.24 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.24" | |
if: success() || failure() | |
- name: Check CMake 3.25 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.25" | |
if: success() || failure() | |
- name: Check CMake 3.26 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.26" | |
if: success() || failure() | |
- name: Check CMake 3.27 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.27" | |
if: success() || failure() | |
- name: Check CMake 3.28 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.28" | |
if: success() || failure() | |
- name: Check CMake 3.29 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.29" | |
if: success() || failure() | |
- name: Check CMake 3.30 | |
uses: ./.github/actions/quick_cmake | |
with: | |
cmake-version: "3.30" | |
if: success() || failure() |