Disservin
3cce4c4cf4
Add Apple Silicon Runners to CI
...
GitHub CI runners are available for macOS 14, these runners are using apple silicon chips (M1).
https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/
closes https://github.com/official-stockfish/Stockfish/pull/5025
No functional change
2024-02-03 16:55:10 +01:00
ppigazzini
0ff2ea6549
Update GitHub workflows
...
- Use the latest version of the actions
- Use commit hash for actions from little providers
- Update Intel SDE to 9.27
closes https://github.com/official-stockfish/Stockfish/pull/4900
No functional change
2023-12-04 11:27:28 +01:00
ppigazzini
796d9df643
Check compiler for docker builds in CI
...
closes https://github.com/official-stockfish/Stockfish/pull/4739
No functional change
2023-08-13 11:47:52 +02:00
ppigazzini
4c43e1e27c
Add new CPU archs in CI Tests workflow
...
Add CPU archs: armv8-dotprod, riscv64 and ppc64le.
The last two archs are built using QEMU multiarch docker container.
References:
https://docs.docker.com/build/building/multi-platform/
https://github.com/docker/setup-buildx-action
https://github.com/docker/setup-qemu-action
https://github.com/tonistiigi/binfmt
https://stackoverflow.com/questions/72444103/what-does-running-the-multiarch-qemu-user-static-does-before-building-a-containe
closes https://github.com/official-stockfish/Stockfish/pull/4718
No functional change
2023-08-06 21:17:33 +02:00
Joost VandeVondele
34d0c1b527
Switch to macos 13 for CI
...
allows for building x86-64-avx2 and x86-64-bmi2 binaries for mac
install coreutils
show hardware capabilities as seen by the compilers
move some tests from sse41 to avx2 as platforms support it
closes https://github.com/official-stockfish/Stockfish/pull/4692
No functional change
2023-07-16 22:27:13 +02:00
Joost VandeVondele
d70a905ce3
Deprecate the x86-64-modern arch
...
Explicitly describe the architecture as deprecated,
it remains available as its current alias x86-64-sse41-popcnt
CPUs that support just this instruction set are now years old,
any few years old Intel or AMD CPU supports x86-64-avx2. However,
naming things 'modern' doesn't age well, so instead use explicit names.
Adjust CI accordingly. Wiki, fishtest, downloader done as well.
closes https://github.com/official-stockfish/Stockfish/pull/4691
No functional change.
2023-07-16 17:47:25 +02:00
Joost VandeVondele
ee023d7fd7
Fix CI output
...
closes https://github.com/official-stockfish/Stockfish/pull/4669
No functional change
2023-07-11 22:53:15 +02:00
Joost VandeVondele
19e2a88504
Revise extract bench from git log in CI
...
order commits differently
closes https://github.com/official-stockfish/Stockfish/pull/4668
No functional change
2023-07-06 23:01:27 +02:00
ppigazzini
e87e103ca9
Remove leftover braces for if conditional in CI
...
closes https://github.com/official-stockfish/Stockfish/pull/4660
No functional change
2023-07-03 20:17:14 +02:00
ppigazzini
ca5d9a5ff0
Extract bench according to wiki instructions
...
- loop through the commits starting from the latest one
- read the bench value from the last match, if any, of the template
in the commit body text
closes https://github.com/official-stockfish/Stockfish/pull/4627
No functional change
2023-07-03 19:07:06 +02:00
disservin
8634717c64
Add bmi2 to CI generated binaries
...
verify bench for avx2 and bmi2 as well
closes https://github.com/official-stockfish/Stockfish/pull/4658
No functional change
2023-07-03 18:17:20 +02:00
ppigazzini
9a2d50eccc
Make posix and msys2 shells consistent in CI
...
In CI, it is typical for the process to halt immediately when an error
is encountered. However, with our `shell: bash {0}` configuration,
the process continues despite errors for posix shells.
This commit updates the behavior of posix and msys2 shells to ensure
consistency in terms of pipeline exit codes and stop conditions.
We adopt the most appropriate default behavior as recommended
by the GitHub documentation.
Update the code that searches for the bench value in the git log:
- to be compatible with the new shell settings
- to retry the value from the first line that contains
only the template and spaces/tabs/newlines
see also
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
https://github.com/msys2/setup-msys2/blob/main/main.js
closes https://github.com/official-stockfish/Stockfish/pull/4653
No functional change
2023-07-02 10:32:36 +02:00
peregrineshahin
14bfec2a98
Consistent bench extraction with fishtest.
...
Consistent with recent fishtest commit c0d174396f
closes https://github.com/official-stockfish/Stockfish/pull/4619
No functional change
2023-06-14 18:34:57 +02:00
ppigazzini
5fe1fa0210
GitHub Actions: install NDK once and clean up yaml
...
Use Ubuntu 22.04 as runner for NDK to avoid a qemu bug with `profile-build`
closes https://github.com/official-stockfish/Stockfish/pull/4280
No functional change
2022-12-12 08:17:52 +01:00
Joost VandeVondele
3a30b478d2
CI workflows, install git on windows
...
ensures the SF dev version is reported correctly
closes https://github.com/official-stockfish/Stockfish/pull/4272
No functional change
2022-12-09 22:58:22 +01:00
ppigazzini
aa603cfeeb
GitHub Action: upload ARM artifacts
...
And some clean up in other files.
closes https://github.com/official-stockfish/Stockfish/pull/4269
No functional change
2022-12-09 16:54:43 +01:00
ppigazzini
9fc203a3d0
Set the right PATH for ARM compiler and build tests in CI
...
Fix for the GitHub upgrade:
https://github.com/actions/runner-images/issues/5879
that broke our ARM workflows because it changed the value of
the ANDROID_NDK_HOME variable referenced in our PATH.
closes https://github.com/official-stockfish/Stockfish/pull/4267
No functional change
2022-12-08 20:36:52 +01:00
disservin
6c1df553fa
speedup CI
...
Github Actions allows us to use up to 20 workers.
This way we can launch multiple different checks
at the same time and optimize the overall time
the CI takes a bit.
closes https://github.com/official-stockfish/Stockfish/pull/4223
No functional change
2022-11-07 21:42:04 +01:00