Commit c5deea90 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳 Committed by Linus Jahn

ci: Add Windows mingw x86_64 builds

parent 87447c89
Pipeline #3307 passed with stages
in 14 minutes and 23 seconds
......@@ -61,6 +61,17 @@ click-xenial:
- "*.click"
expire_in: 1 week
windows-mxe:
stage: deploy
image: kaidan/windows-mxe
script:
- utils/build-windows-mxe.sh
- mv build/bin/kaidan.exe kaidan.exe
artifacts:
paths:
- "kaidan.exe"
expire_in: 1 week
variables:
GIT_SUBMODULE_STRATEGY: recursive
BUILD_SYSTEM: cmake
......
......@@ -207,10 +207,15 @@ rgb2xyz(Triplet* in_out)
static double
y2l(double y)
{
/* FIXME: cbrt can't be used in mingw */
#ifndef _WIN32
if(y <= epsilon)
return y * kappa;
else
return 116.0 * cbrt(y) - 16.0;
#else
return y * kappa;
#endif
}
static double
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment