Description
Main and latest released version are the same commit on this repo at the moment (this is often the case), and platform support does not usually change between commits.
And yet, I get very odd results across versions of my library where random platforms are suddenly failing the build:
In this particular example, iOS is red on main but green on 2.3.0, even though these are literally the same commit (b48a03d)
Repro
This happens essentially anytime the build system is run, whether I land a commit or release a new version. The build system results are seemingly random.
Expected Behavior
Anytime the build system is run against this repo, I get non-deterministic failures. Sometimes a particular swift version and platform combination will fail, sometimes it will not. The GitHub actions associated with the repo build the project for all these platforms and more, and while I do not necessarily expect the SPM build system to mirror my configuration exactly, I do expect its failures to be predictable. A given Swift Version/Platform combination should not suddenly disappear on a commit and randomly reappear in the next commit. The same commit built twice should produce the same results.
Description
Main and latest released version are the same commit on this repo at the moment (this is often the case), and platform support does not usually change between commits.
And yet, I get very odd results across versions of my library where random platforms are suddenly failing the build:
In this particular example, iOS is red on
mainbut green on2.3.0, even though these are literally the same commit (b48a03d)Repro
This happens essentially anytime the build system is run, whether I land a commit or release a new version. The build system results are seemingly random.
Expected Behavior
Anytime the build system is run against this repo, I get non-deterministic failures. Sometimes a particular swift version and platform combination will fail, sometimes it will not. The GitHub actions associated with the repo build the project for all these platforms and more, and while I do not necessarily expect the SPM build system to mirror my configuration exactly, I do expect its failures to be predictable. A given Swift Version/Platform combination should not suddenly disappear on a commit and randomly reappear in the next commit. The same commit built twice should produce the same results.