mirror of
https://github.com/serge1/ELFIO.git
synced 2024-12-27 12:17:28 +00:00
Remove C compiler settings
This commit is contained in:
parent
05a0f3dcd1
commit
6a94d4d108
13
.github/workflows/c-cpp.yml
vendored
13
.github/workflows/c-cpp.yml
vendored
@ -15,16 +15,16 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, ubuntu-20.04, windows-latest]
|
os: [ubuntu-latest, ubuntu-20.04, windows-latest]
|
||||||
build_type: [Release, Debug]
|
build_type: [Release, Debug]
|
||||||
c_compiler: [gcc, clang, cl]
|
cpp_compiler: [g++, clang++, cl]
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
c_compiler: gcc
|
cpp_compiler: g++
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
c_compiler: clang
|
cpp_compiler: clang++
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
c_compiler: cl
|
cpp_compiler: cl
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-20.04
|
||||||
c_compiler: cl
|
cpp_compiler: cl
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -34,13 +34,12 @@ jobs:
|
|||||||
id: strings
|
id: strings
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "build-output-dir=${{ github.workspace }}/build/${{ matrix.build_type }}/${{ matrix.c_compiler }}" >> "$GITHUB_OUTPUT"
|
echo "build-output-dir=${{ github.workspace }}/build/${{ matrix.build_type }}/${{ matrix.cpp_compiler }}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: >
|
run: >
|
||||||
cmake -B ${{ steps.strings.outputs.build-output-dir }}
|
cmake -B ${{ steps.strings.outputs.build-output-dir }}
|
||||||
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
|
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
|
||||||
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
|
|
||||||
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
|
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
|
||||||
-DELFIO_BUILD_EXAMPLES=YES -DELFIO_BUILD_TESTS=YES
|
-DELFIO_BUILD_EXAMPLES=YES -DELFIO_BUILD_TESTS=YES
|
||||||
-S ${{ github.workspace }}
|
-S ${{ github.workspace }}
|
||||||
|
Loading…
Reference in New Issue
Block a user