Skip to content

Conversation

@leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented Jun 15, 2023

What

Run publish-dry-run on windows separately for each feature set that needs testing.

Why

Recently the publish-dry-run for windows started failing. This has actually been a long running issue brson/wasm-opt-rs#116 where repeated builds can't remove a file on windows between each build.

This only recently became an issue for us because in #672 we made wasm-opt part of an optional feature, and that was the first time we ever had a windows build (the publish-dry-run job) where multiple builds occurred on the same instance. It was our first feature in soroban-cli leading to the first multi-build run.

A fix has been merged to cargo in rust-lang/cargo#11442.

In 2-3 months a version of cargo should ship that has the fix.

Until then we can simply run our windows builds with each feature set getting its own isolated and fresh instance.

Also

This change also includes fixes for soroban-spec-tools and soroban-spec-typescript that had broken publishing.

@leighmcculloch leighmcculloch changed the title Experiment with fixing windows builds Reenable Windows builds with fix for publish-dry-run Jun 16, 2023
@leighmcculloch leighmcculloch force-pushed the supereminently-semifitting branch from b34fe8c to efd3514 Compare June 17, 2023 03:04
@leighmcculloch leighmcculloch marked this pull request as ready for review June 17, 2023 16:04
@leighmcculloch leighmcculloch enabled auto-merge (squash) June 17, 2023 16:04
@leighmcculloch leighmcculloch merged commit 5ac40db into main Jun 17, 2023
@leighmcculloch leighmcculloch deleted the supereminently-semifitting branch June 17, 2023 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants