The CI passes on Linux but then failes on windows.
It failes right after downloading the image on sh command.
Fail msg:
Error
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