The CI passes on Linux but then failes on windows.
It failes right after downloading the image on sh command.
Fail msg:
failed to create containerd task: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory": unknown
This is the YAML file:
pipelines:
default:
- step:
name: Linux
image: rikorose/gcc-cmake:latest
script:
- cmake --version
- gcc --version
- cd code
- mkdir build
- cd build
- cmake -G "Unix Makefiles" -DUSE_LINUX=1 ..
- make
- cd ProgramExe
- ls
- ./run
- step:
name: Windows
image: mback2k/windows-buildbot-msys2:latest_1803
script:
- cmake --version
- gcc --version
- cd code
- mkdir build
- cd build
- cmake -G "Unix Makefiles" -DUSE_WIN64=1 ..
- make
- cd ProgramExe
- ls
- ./run.exe
Bitbucket pipelines doesn't support running windows images.
Thx! Answer very much appreciated!
I discovered this minor feature (of supporting Windows) Missing on forum.
Incredible to not have big signs on website clarifying this.
(Invested weeks in trying to make it work.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's mentioned on the page discussing limitations of Bitbucket Pipelines - https://confluence.atlassian.com/bitbucket/limitations-of-bitbucket-pipelines-827106051.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.