linux32.yml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. # Copyright (C) Dan Fandrich
  2. #
  3. # SPDX-License-Identifier: curl
  4. name: Linux 32-bit
  5. on:
  6. push:
  7. branches:
  8. - master
  9. - '*/ci'
  10. paths-ignore:
  11. - '**/*.md'
  12. - '**/CMakeLists.txt'
  13. - '.azure-pipelines.yml'
  14. - '.circleci/**'
  15. - '.cirrus.yml'
  16. - 'appveyor.*'
  17. - 'CMake/**'
  18. - 'packages/**'
  19. - 'plan9/**'
  20. - 'projects/**'
  21. - 'winbuild/**'
  22. pull_request:
  23. branches:
  24. - master
  25. paths-ignore:
  26. - '**/*.md'
  27. - '**/CMakeLists.txt'
  28. - '.azure-pipelines.yml'
  29. - '.circleci/**'
  30. - '.cirrus.yml'
  31. - 'appveyor.*'
  32. - 'CMake/**'
  33. - 'packages/**'
  34. - 'plan9/**'
  35. - 'projects/**'
  36. - 'winbuild/**'
  37. concurrency:
  38. group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
  39. cancel-in-progress: true
  40. permissions: {}
  41. env:
  42. MAKEFLAGS: -j 3
  43. jobs:
  44. linux-i686:
  45. name: ${{ matrix.build.name }}
  46. runs-on: 'ubuntu-22.04'
  47. timeout-minutes: 90
  48. strategy:
  49. fail-fast: false
  50. matrix:
  51. build:
  52. - name: Linux i686
  53. install_packages: gcc-11-i686-linux-gnu libssl-dev:i386 zlib1g-dev:i386 libpsl-dev:i386 libbrotli-dev:i386 libzstd-dev:i386
  54. configure: --enable-debug --enable-websockets --with-openssl --host=i686-linux-gnu CC=i686-linux-gnu-gcc-11 PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig CPPFLAGS=-I/usr/include/i386-linux-gnu LDFLAGS=-L/usr/lib/i386-linux-gnu
  55. steps:
  56. - run: |
  57. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  58. sudo dpkg --add-architecture i386
  59. sudo apt-get update -y
  60. sudo apt-get install -y --no-install-suggests --no-install-recommends libtool autoconf automake pkg-config stunnel4 ${{ matrix.build.install_packages }}
  61. sudo python3 -m pip install impacket
  62. name: 'install prereqs'
  63. - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
  64. - run: autoreconf -fi
  65. name: 'autoreconf'
  66. - run: ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }}
  67. name: 'configure'
  68. - run: make V=1
  69. name: 'make'
  70. - run: ./src/curl -V
  71. name: 'check curl -V output'
  72. - run: make V=1 examples
  73. name: 'make examples'
  74. - run: make V=1 -C tests
  75. name: 'make tests'
  76. - run: make V=1 test-ci
  77. name: 'run tests'
  78. env:
  79. TFLAGS: "${{ matrix.build.tflags }}"