feature add i686
Some checks failed
build-crpc / build (Debug, mingw-w64-x86_64.toolchain.cmake) (push) Waiting to run
build-crpc / build (Debug, mingw-w64-xi686.toolchain.cmake) (push) Waiting to run
build-crpc / build (Release, host.toolchain.cmake) (push) Waiting to run
build-crpc / build (Release, mingw-w64-x86_64.toolchain.cmake) (push) Waiting to run
build-crpc / build (Release, mingw-w64-xi686.toolchain.cmake) (push) Waiting to run
build-crpc / build (Debug, host.toolchain.cmake) (push) Failing after 56s
Some checks failed
build-crpc / build (Debug, mingw-w64-x86_64.toolchain.cmake) (push) Waiting to run
build-crpc / build (Debug, mingw-w64-xi686.toolchain.cmake) (push) Waiting to run
build-crpc / build (Release, host.toolchain.cmake) (push) Waiting to run
build-crpc / build (Release, mingw-w64-x86_64.toolchain.cmake) (push) Waiting to run
build-crpc / build (Release, mingw-w64-xi686.toolchain.cmake) (push) Waiting to run
build-crpc / build (Debug, host.toolchain.cmake) (push) Failing after 56s
This commit is contained in:
parent
075c3df7a3
commit
0372b7f3df
@ -11,13 +11,17 @@ jobs:
|
||||
- Release
|
||||
toolchain:
|
||||
- mingw-w64-x86_64.toolchain.cmake
|
||||
- mingw-w64-xi686.toolchain.cmake
|
||||
- host.toolchain.cmake
|
||||
steps:
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
# uuid-dev is required by antlr4
|
||||
apt-get update -y
|
||||
apt-get install -y \
|
||||
cmake make g++ libssl-dev pkg-config autoconf libtool libantlr4-runtime-dev default-jre-headless
|
||||
cmake make g++ libssl-dev pkg-config autoconf libtool libantlr4-runtime-dev default-jre-headless mingw-w64 && \
|
||||
uuid-dev
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- name: Generate Lexer and Parser
|
||||
run: |
|
||||
|
17
toolchains/mingw-w64-i686.toolchain.cmake
Normal file
17
toolchains/mingw-w64-i686.toolchain.cmake
Normal file
@ -0,0 +1,17 @@
|
||||
set(CMAKE_SYSTEM_NAME Windows)
|
||||
set(TOOLCHAIN_PREFIX i686-w64-mingw32)
|
||||
set(CMAKE_CROSSCOMPILING TRUE)
|
||||
|
||||
# cross compilers to use for C, C++ and Fortran
|
||||
set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc)
|
||||
set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++)
|
||||
set(CMAKE_Fortran_COMPILER ${TOOLCHAIN_PREFIX}-gfortran)
|
||||
set(CMAKE_RC_COMPILER ${TOOLCHAIN_PREFIX}-windres)
|
||||
|
||||
# target environment on the build host system
|
||||
set(CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX})
|
||||
|
||||
# modify default behavior of FIND_XXX() commands
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
Loading…
Reference in New Issue
Block a user