create mingw docker image
This commit is contained in:
parent
916bdb7358
commit
0679c0a5fe
@ -11,8 +11,25 @@ cache:
|
||||
paths:
|
||||
- .conan/
|
||||
|
||||
conan:
|
||||
conan_linux:
|
||||
stage: build
|
||||
before_script:
|
||||
- conan profile new default --detect --force # Generates default profile detecting GCC and sets old ABI
|
||||
- conan profile update settings.compiler.libcxx=libstdc++11 default # Sets libcxx to C++11 ABI
|
||||
- mkdir -p build # create build folder
|
||||
- CONAN_SYSREQUIRES_MODE=enabled CONAN_SYSREQUIRES_SUDO=0 conan install . --build=missing -g cmake -if build
|
||||
script:
|
||||
- cmake -S . -B build -D WinBuild=OFF #cmake project
|
||||
- cd build
|
||||
- make -j4 #build
|
||||
artifacts:
|
||||
paths:
|
||||
- build/bin/
|
||||
expire_in: 1 days
|
||||
|
||||
conan_windows:
|
||||
stage: build
|
||||
image: luki42/dynuiprefresher_build:latest
|
||||
before_script:
|
||||
- conan profile new default --detect --force # Generates default profile detecting GCC and sets old ABI
|
||||
- conan profile update settings.compiler.libcxx=libstdc++11 default # Sets libcxx to C++11 ABI
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM gcc:latest
|
||||
FROM mwaeckerlin/mingw:latest
|
||||
|
||||
COPY ./build.sh /tmp/
|
||||
|
||||
|
@ -10,8 +10,6 @@ git checkout conansupport
|
||||
|
||||
conan profile new default --detect --force # Generates default profile detecting GCC and sets old ABI
|
||||
conan profile update settings.compiler.libcxx=libstdc++11 default # Sets libcxx to C++11 ABI
|
||||
conan remote add bintray https://api.bintray.com/conan/lheili/LibConfig --force
|
||||
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan --force
|
||||
mkdir -p build # create build folder
|
||||
CONAN_SYSREQUIRES_MODE=enabled CONAN_SYSREQUIRES_SUDO=0 conan install . --build=missing
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user