Skip to content

Concurrent build support #21

@ghost

Description

Hi there

First off, I wanted to say that I LOVE this tool. It was the last missing piece to start adding cicd to my games and it's been super easy to use

We're planning to release our game to multiple platforms. I have every commit triggering the build server, and the server is building all platforms in parallel (for now I'm just testing for Windows + Linux, but there will be more later)

I get the following error when doing this

System.IO.IOException: The process cannot access the file 'C:\Users\Administrator\AppData\Local\Temp\2\gamemaker-rubber\107df35d-7b57-421b-a352-a1911c2eb0a4\GMCache\PlatformOptions.json' because it is being used by another process.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)

   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)

   at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)

   at GMAssetCompiler.GMOptions.WriteToJson(String pathname, GMAssets _assets)

   at GMAssetCompiler.Program.�(String[] �)

So it looks like rubber only supports 1 build at a time? I was wondering how hard it would be to fix this? If you point me in the right direction I could also try making a pull request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions