Skip to content

appveyor.yml: reorder tests to return relevant feedback earlier - #849

Merged
vszakats merged 1 commit into
libssh2:masterfrom
vszakats:appveyor-reord
Mar 16, 2023
Merged

vszakats merged 1 commit into
libssh2:masterfrom
vszakats:appveyor-reord

Conversation

@vszakats

Copy link
Copy Markdown
Member
  • build x64 first

    x64 is the more interesting target. Most type conversion issues are revealed here. Also more commonly used by now.

  • test VS 2013 earlier

  • test WinCNG earlier

  • delete reference to no longer used VS 2008

After this patch we end up starting with all Shared builds (2015, 2013, OpenSSL, WinCNG), then continue with Static ones. Shared/Static makes a minor if any difference in builds/tests compared to different VS versions of TLS backends.

--

CI run times:

Preparation + build takes:
8 x VS2015 4.5 mins -> total: 36
8 x VS2013 2 mins -> total: 16
Total: 52 mins

with our 30 tests, it increases to:
8 x VS2015 8-10 mins -> total: 72
8 x VS2013 6- 9 mins -> total: 60
Total: 132 mins

Without tests: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46475315
With tests: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46480549

- build x64 first

  x64 is the more interesting target. Most type conversion issues are
  revealed here. Also more commonly used by now.

- test VS 2013 earlier

- test WinCNG earlier

- delete reference to no longer used VS 2008

After this patch we end up starting with all Shared builds (2015, 2013,
OpenSSL, WinCNG), then continue with Static ones. Shared/Static makes
a minor if any difference in builds/tests compared to different VS
versions of TLS backends.

--

CI run times:

Preparation + build takes:
8 x VS2015 4.5 mins -> total: 36
8 x VS2013 2   mins -> total: 16
Total: 52 mins

with our 30 tests, it increases to:
8 x VS2015 8-10 mins -> total: 72
8 x VS2013 6- 9 mins -> total: 60
Total: 132 mins

Without tests: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46475315
With    tests: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46480549
@vszakats

Copy link
Copy Markdown
Member Author

Tested as part of #846.

@vszakats
vszakats merged commit d0714c3 into libssh2:master Mar 16, 2023
@vszakats
vszakats deleted the appveyor-reord branch March 16, 2023 11:43
@vszakats vszakats mentioned this pull request Mar 16, 2023
6 tasks done
agreppin pushed a commit to agreppin/libssh2 that referenced this pull request Jul 14, 2024
…sh2#849)

- build x64 first

  x64 is the more interesting target. Most type conversion issues are
  revealed here. Also more commonly used by now.

- test VS 2013 earlier

- test WinCNG earlier

- delete reference to no longer used VS 2008

After this patch we end up starting with all Shared builds (2015, 2013,
OpenSSL, WinCNG), then continue with Static ones. Shared/Static makes
a minor if any difference in builds/tests compared to different VS
versions of TLS backends.

--

CI run times:

Preparation + build takes:
8 x VS2015 4.5 mins -> total: 36
8 x VS2013 2   mins -> total: 16
Total: 52 mins

with our 30 tests, it increases to:
8 x VS2015 8-10 mins -> total: 72
8 x VS2013 6- 9 mins -> total: 60
Total: 132 mins

Without tests: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46475315
With    tests: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46480549
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.

1 participant