1
0

test-32bit.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. name: 32-bit Build Test
  2. on:
  3. push:
  4. branches: [master]
  5. pull_request:
  6. branches: [master]
  7. workflow_dispatch:
  8. concurrency:
  9. group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
  10. cancel-in-progress: true
  11. jobs:
  12. test-win32:
  13. name: Windows 32-bit (MSVC x86)
  14. runs-on: windows-latest
  15. timeout-minutes: 10
  16. steps:
  17. - uses: actions/checkout@v4
  18. - name: Build (Win32)
  19. shell: cmd
  20. run: |
  21. call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86
  22. cl /std:c++14 /EHsc /W4 /WX /c /Fo:NUL test\test_32bit_build.cpp
  23. test-arm32:
  24. name: ARM 32-bit (cross-compile)
  25. runs-on: ubuntu-latest
  26. timeout-minutes: 10
  27. steps:
  28. - uses: actions/checkout@v4
  29. - name: Install cross compiler
  30. run: sudo apt-get update && sudo apt-get install -y g++-arm-linux-gnueabihf
  31. - name: Build (ARM 32-bit)
  32. run: arm-linux-gnueabihf-g++ -std=c++11 -Wall -Wextra -Wno-psabi -Werror -c -o /dev/null test/test_32bit_build.cpp