image: registry.gitlab.com/kurator1/kurator/archlinux-kurator build-linux: stage: build script: - cmake -B build-linux/ . - cmake --build build-linux/ artifacts: paths: - build-linux/ build-windows: stage: build script: - x86_64-w64-mingw32-cmake -B build-windows/ . - cmake --build build-windows/ artifacts: paths: - build-windows/ test-linux: stage: test needs: ["build-linux"] script: - ctest --test-dir build-linux/ --output-junit linux.xml artifacts: reports: junit: build-linux/linux.xml test-windows: stage: test needs: ["build-windows"] before_script: - x86_64-w64-mingw32-wine hostname script: - ctest --test-dir build-windows/ --output-junit windows.xml artifacts: reports: junit: build-windows/windows.xml