diff --git a/Jenkinsfile b/Jenkinsfile index 95208eb..fdc281c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,14 +16,18 @@ pipeline { } } - stage('Build Windows') { - steps { - sh ''' - mkdir -p build/windows - x86_64-w64-mingw32-g++ main.cpp -o build/windows/test_app.exe - ''' - } + stage('Build Windows') { + steps { + sh ''' + mkdir -p build/windows + x86_64-w64-mingw32-g++ main.cpp \ + -static \ + -static-libgcc \ + -static-libstdc++ \ + -o build/windows/test_app.exe + ''' } +} stage('Run Linux') { steps {