ci-solaris.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. name: ci-solaris
  2. on:
  3. workflow_call:
  4. jobs:
  5. build-solaris:
  6. runs-on: ubuntu-latest
  7. timeout-minutes: 15
  8. steps:
  9. - uses: actions/checkout@v4
  10. - name: Build on Solaris
  11. uses: vmactions/solaris-vm@v1
  12. with:
  13. release: "11.4-gcc" # autoconf automake developer/gcc/gcc-c libtool pkg-config
  14. prepare: |
  15. pkg install --no-backup-be --no-refresh --accept -v \
  16. aspell check glib2 libssh2 libx11
  17. run: |
  18. ./autogen.sh
  19. useradd -d "$(pwd)" test
  20. chown -R test $(pwd)
  21. su - test -c ' \
  22. export PKG_CONFIG_PATH=/usr/lib/64/pkgconfig && \
  23. \
  24. ./configure \
  25. --prefix="$(pwd)/install-prefix" \
  26. --with-screen=ncurses \
  27. --enable-mclib \
  28. --enable-aspell \
  29. --enable-werror \
  30. && \
  31. \
  32. make && \
  33. make check && \
  34. make install \
  35. '
  36. - uses: actions/upload-artifact@v4
  37. if: failure()
  38. with:
  39. name: test-suite-logs-solaris
  40. path: ./**/test-suite.log