File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -66,15 +66,16 @@ jobs:
6666
6767
6868 Ubuntu :
69- name : ubuntu-${{ matrix.os-version }}-${{ matrix.build-config }}-${{ matrix.compiler.cc }}
70- runs-on : ubuntu-${{ matrix.os-version }}
69+ name : ubuntu-${{ matrix.os-version }}${{ matrix.cpu-arch }} -${{ matrix.build-config }}-${{ matrix.compiler.cc }}
70+ runs-on : ubuntu-${{ matrix.os-version }}.04
7171 env :
7272 CC : ${{ matrix.compiler.cc }}
7373 CXX : ${{ matrix.compiler.cxx }}
7474 strategy :
7575 fail-fast : false
7676 matrix :
77- os-version : [22.04, 24.04, 24.04-arm]
77+ os-version : [22, 24]
78+ cpu-arch : ["", "-arm"]
7879 build-config : [debug, release]
7980 compiler :
8081 - {
@@ -98,16 +99,16 @@ jobs:
9899 install : clang-18
99100 }
100101 exclude :
101- - os-version : 24.04
102+ - os-version : 24
102103 compiler :
103104 cc : gcc-12
104- - os-version : 22.04
105+ - os-version : 22
105106 compiler :
106107 cc : gcc-13
107- - os-version : 24.04
108+ - os-version : 24
108109 compiler :
109110 cc : clang-15
110- - os-version : 22.04
111+ - os-version : 22
111112 compiler :
112113 cc : clang-18
113114
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ message(STATUS "----------------------------------------------------------------
66
77include_directories ("${CMAKE_CURRENT_BINARY_DIR} " "${CMAKE_CURRENT_SOURCE_DIR} /jpeg" )
88
9- if (CMAKE_SIZEOF_VOID_P EQUAL 8)
9+ if (CMAKE_C_COMPILER_TARGET MATCHES "x86_64" AND CMAKE_SIZEOF_VOID_P EQUAL 8)
1010 if (WIN32 )
1111 set (CMAKE_ASM_NASM_COMPILER "${CMAKE_CURRENT_SOURCE_DIR} /yasm/win64/bin/yasm.exe" CACHE INTERNAL "" FORCE)
1212 set (CMAKE_ASM_NASM_FLAGS "${CMAKE_ASM_NASM_FLAGS} -DWIN64 -D__x86_64__ -D\" EXTN(name)=name\" " ) # target_compile_definitions does not work with nasm
You can’t perform that action at this time.
0 commit comments