mirror of
https://github.com/guezoloic/t3dsr.git
synced 2026-01-25 10:34:23 +00:00
fix: add cl to excule list for ubuntu-arm
This commit is contained in:
19
.github/workflows/cmake-multi-platform.yml
vendored
19
.github/workflows/cmake-multi-platform.yml
vendored
@@ -52,6 +52,8 @@ jobs:
|
|||||||
c_compiler: clang
|
c_compiler: clang
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
c_compiler: cl
|
c_compiler: cl
|
||||||
|
- os: ubuntu-24.04-arm
|
||||||
|
c_compiler: cl
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -66,18 +68,13 @@ jobs:
|
|||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
|
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
|
||||||
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
||||||
run: |
|
run: >
|
||||||
GEN=""
|
|
||||||
if [[ "${{ runner.os }}" == "Windows" ]]; then
|
|
||||||
GEN="-A ${{ matrix.vs_arch }}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
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_C_COMPILER=${{ matrix.c_compiler }}
|
||||||
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
|
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
|
||||||
$GEN \
|
-S ${{ github.workspace }}
|
||||||
-S "${{ github.workspace }}"
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
|
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
|
||||||
|
|||||||
Reference in New Issue
Block a user