Skip to content

Set macos compiler version label to 13 #111

Set macos compiler version label to 13

Set macos compiler version label to 13 #111

Workflow file for this run

name: flann conan package
on:
push:
branches:
- master
- main
- stable/*
pull_request:
workflow_dispatch:
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
# for matrix check https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners
jobs:
cross-platform-build:
name: Cross platform 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/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
#- name: Windows-msvc2017
# os: windows-2016
# compiler: msvc-2017
# build-cversion: 15
# build-runtime: MD
# build-config: Release
- name: Windows-msvc2019
os: windows-2019
compiler: msvc-2019
build-cversion: 16
build-runtime: MD
build-config: Release
# GLIBC <= 2.27
#- name: Linux_gcc8
# os: ubuntu-18.04
# build-compiler: gcc
# build-cversion: 8
# build-config: Release
# build-os: Linux
# build-libcxx: libstdc++
# GLIBC >= 2.28
- name: Linux_gcc9
os: ubuntu-20.04
build-compiler: gcc
build-cversion: 9
build-config: Release
build-os: Linux
build-libcxx: libstdc++
# GLIBC >= 2.28
- name: Linux_gcc11
os: ubuntu-20.04
build-compiler: gcc
build-cversion: 10
build-config: Release
build-os: Linux
build-libcxx: libstdc++
- name: Linux_gcc11
os: ubuntu-22.04
build-cc: gcc
build-cxx: g++
build-compiler: gcc
build-cversion: 11
build-config: Release
build-os: Linux
build-libcxx: libstdc++
# - name: Macos_xcode10.3
# os: macOS-latest
# build-compiler: apple-clang
# build-cversion: "10.0"
# build-config: Release
# build-os: Macos
# build-xcode-version: 10.3
# build-libcxx: libc++
#- name: Macos_xcode12.4
# os: macOS-11
# build-compiler: apple-clang
# build-cversion: "12.0"
# build-config: Release
# build-os: Macos
# build-xcode-version: 12.4
# build-libcxx: libc++
#- name: Macos_xcode13.2.1
# os: macOS-11
# build-compiler: apple-clang
# build-cversion: "13"
# build-config: Release
# build-os: Macos
# build-xcode-version: 13.2.1
# build-libcxx: libc++
- name: Macos_xcode13.4
os: macos-12
build-compiler: apple-clang
build-cversion: 13
build-config: Release
build-os: Macos
build-xcode-version: 13.4
build-libcxx: libc++
steps:
- name: Checkout the source
uses: actions/checkout@v2
with:
submodules: recursive
- name: Select Xcode for Mac only
if: startsWith(runner.os, 'macOS')
run: |
sudo xcode-select -switch /Applications/Xcode_${{matrix.build-xcode-version}}.app
brew install libomp
- name: Setup python version
uses: actions/setup-python@v1
with:
python-version: "3.11"
- name: Setup gcc for Linux
if: startsWith(runner.os, 'Linux')
uses: egor-tensin/setup-gcc@v1
with:
version: ${{matrix.build-cversion}}
platform: x64
- name: Windows build
if: startsWith(runner.os, 'Windows')
uses: ./.github/conan_windows_build
with:
conan-visual-version: ${{matrix.build-cversion}}
conan-visual-runtime: ${{matrix.build-runtime}}
conan-build-type: ${{matrix.build-config}}
conan-user: ${{secrets.LKEB_ARTIFACTORY_USER}}
conan-password: ${{secrets.LKEB_ARTIFACTORY_PASSWORD}}
- name: Linux Mac build
if: "!startsWith(runner.os, 'Windows')"
uses: ./.github/conan_linuxmac_build
with:
conan-compiler: ${{matrix.build-compiler}}
conan-compiler-version: ${{matrix.build-cversion}}
conan-libcxx-version: ${{matrix.build-libcxx}}
conan-build-type: ${{matrix.build-config}}
conan-build-os: ${{matrix.build-os}}
conan-user: ${{secrets.LKEB_ARTIFACTORY_USER}}
conan-password: ${{secrets.LKEB_ARTIFACTORY_PASSWORD}}