avx512.yml 827 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Build and run tests using the AVX-512 instruction set
  2. name: avx512
  3. on:
  4. push:
  5. branches: arch
  6. pull_request:
  7. branches: arch
  8. jobs:
  9. run:
  10. name: Build and test
  11. runs-on: ubuntu-latest
  12. env:
  13. SDE_URL: https://downloadmirror.intel.com/813591
  14. SDE_NAME: sde-external-9.33.0-2024-01-07-lin
  15. steps:
  16. - name: Get source
  17. uses: actions/checkout@v3
  18. - name: Configure CMake
  19. run: >
  20. CC=gcc cmake -B ${{github.workspace}}/build
  21. -DCMAKE_BUILD_TYPE=Debug
  22. -DBASH_PLATFORM=BASH_AVX512
  23. - name: Build
  24. run: cmake --build ${{github.workspace}}/build
  25. - name: Download SDE
  26. run: |
  27. curl --output sde.tar.xz $SDE_URL/$SDE_NAME.tar.xz
  28. tar -xf sde.tar.xz
  29. - name: Run tests
  30. run:
  31. $SDE_NAME/sde64 -spr -- build/test/testbee2