Move mingw tests from appveyor to github actions#2838
Conversation
|
Good ! With Appveyor CI now down to < 10mn, it should no longer be the iteration bottleneck. |
.github/workflows/dev-long-tests.yml
Outdated
| sh -c "${{matrix.script}}" | ||
| IF ("${{matrix.artifact}}" -eq "true") | ||
| { | ||
| ECHO Creating artifacts |
There was a problem hiding this comment.
OK, so that's something I overlooked regarding this topic.
On top of Windows tests, Appveyor was also used to create the Windows binary packages at release time.
It's my understanding that you transferred this responsibility to Github Actions.
How does it work ?
In which cases are artifact created, and how to access them ?
For example, I note that, in this PR, there is a script section called "upload artifacts", but it's empty (runtime 0s).
There was a problem hiding this comment.
I think a direct translation from the AppVeyor release artifact process doesn't work, since it seems like AppVeyor will just display any artifacts in the \artifacts folder, whereas I think GH Actions works a bit differently.
There's some documentation here: https://github.com/actions/upload-artifact on how to upload the artifact, it seems you just need an extra step that points to the artifact/directory you'd like to upload.
There was a problem hiding this comment.
Ah sorry I thought I'd gotten it working, I've reverted those tests back to appveyor for now and will try to get them working on GH in a followup.
There was a problem hiding this comment.
The code looks correct to me,
but just to be on the safe side, have you also been able to test that the artifacts are still generated on Appveyor ?
There was a problem hiding this comment.
There was a problem hiding this comment.
Hm, there are some appveyor failures now, but they don't look related to these changes, investigating.
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com>
The variable `litLengthSum` is only used by an `assert()`, so when asserts are disabled the compiler doesn't see any usage and warns. This issue is already fixed upstream by PR #2838 [0]. It was reported by the Kernel test robot in [1]. Another approach would be to change zstd's disabled `assert()` definition to use the argument in a disabled branch, instead of ignoring the argument. I've avoided this approach because there are some small changes necessary to get zstd to build, and I would want to thoroughly re-test for performance, since that is slightly changing the code in every function in zstd. It seems like a trivial change, but some functions are pretty sensitive to small changes. However, I think it is a valid approach that I would like to see upstream take, so I've opened Issue #2868 to attempt this upstream. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ [2] facebook/zstd#2868 Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com>
The variable `litLengthSum` is only used by an `assert()`, so when asserts are disabled the compiler doesn't see any usage and warns. This issue is already fixed upstream by PR #2838 [0]. It was reported by the Kernel test robot in [1]. Another approach would be to change zstd's disabled `assert()` definition to use the argument in a disabled branch, instead of ignoring the argument. I've avoided this approach because there are some small changes necessary to get zstd to build, and I would want to thoroughly re-test for performance, since that is slightly changing the code in every function in zstd. It seems like a trivial change, but some functions are pretty sensitive to small changes. However, I think it is a valid approach that I would like to see upstream take, so I've opened Issue #2868 to attempt this upstream. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ [2] facebook/zstd#2868 Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com> Signed-off-by: Forenche <prahul2003@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com> Signed-off-by: Forenche <prahul2003@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
The variable `litLengthSum` is only used by an `assert()`, so when asserts are disabled the compiler doesn't see any usage and warns. This issue is already fixed upstream by PR #2838 [0]. It was reported by the Kernel test robot in [1]. Another approach would be to change zstd's disabled `assert()` definition to use the argument in a disabled branch, instead of ignoring the argument. I've avoided this approach because there are some small changes necessary to get zstd to build, and I would want to thoroughly re-test for performance, since that is slightly changing the code in every function in zstd. It seems like a trivial change, but some functions are pretty sensitive to small changes. However, I think it is a valid approach that I would like to see upstream take, so I've opened Issue #2868 to attempt this upstream. Lastly, I've chosen not to use __maybe_unused because all code in lib/zstd/ must eventually be upstreamed. Upstream zstd can't use __maybe_unused because it isn't portable across all compilers. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ [2] facebook/zstd#2868 Link: https://lore.kernel.org/r/20211117014949.1169186-2-nickrterrell@gmail.com/ Link: https://lore.kernel.org/r/20211117201459.1194876-2-nickrterrell@gmail.com/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com> Signed-off-by: Forenche <prahul2003@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com> Signed-off-by: Carlos Jimenez (JavaShin-X) <javashin1986@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com> Signed-off-by: Carlos Jimenez (JavaShin-X) <javashin1986@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com> Signed-off-by: Carlos Jimenez (JavaShin-X) <javashin1986@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com> Signed-off-by: Forenche <prahul2003@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Change-Id: I68acd04fc709a97ffb65f7f87ffc28d454d354d9 [@ElectroPerf - Backport to 4.19] Signed-off-by: Kunmun <kunmun.devroms@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Change-Id: I68acd04fc709a97ffb65f7f87ffc28d454d354d9 [@ElectroPerf - Backport to 4.19] Signed-off-by: Kunmun <kunmun.devroms@gmail.com> Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com> Signed-off-by: Carlos Jimenez (JavaShin-X) <javashin1986@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Change-Id: I68acd04fc709a97ffb65f7f87ffc28d454d354d9 [@ElectroPerf - Backport to 4.19] Signed-off-by: Kunmun <kunmun.devroms@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Change-Id: I68acd04fc709a97ffb65f7f87ffc28d454d354d9 [@ElectroPerf - Backport to 4.19] Signed-off-by: Kunmun <kunmun.devroms@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Change-Id: I68acd04fc709a97ffb65f7f87ffc28d454d354d9 [@ElectroPerf - Backport to 4.19] Signed-off-by: Kunmun <kunmun.devroms@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Change-Id: I68acd04fc709a97ffb65f7f87ffc28d454d354d9 [@ElectroPerf - Backport to 4.19] Signed-off-by: Kunmun <kunmun.devroms@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Change-Id: I68acd04fc709a97ffb65f7f87ffc28d454d354d9 [@ElectroPerf - Backport to 4.19] Signed-off-by: Kunmun <kunmun.devroms@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nick Terrell <terrelln@fb.com> [cyberknight777: backport to 4.14] Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Backport the fix from upstream PR #2838 [0]. Found by the Kernel test robot in [1]. [0] facebook/zstd#2838 [1] https://lore.kernel.org/linux-mm/202111120312.833wII4i-lkp@intel.com/T/ Reported-by: kernel test robot <lkp@intel.com> Change-Id: I68acd04fc709a97ffb65f7f87ffc28d454d354d9 [@ElectroPerf - Backport to 4.19] Signed-off-by: Kunmun <kunmun.devroms@gmail.com> Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
Moved mingw tests to github actions which allows them to run in parallel. The change of environment surfaced a warning error that's been suppressed.