fixup! Ticket #4170: implement CI via GitHub Actions #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-solaris | |
on: [ push ] | |
jobs: | |
build-solaris: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build on Solaris | |
uses: vmactions/solaris-vm@v1 | |
with: | |
release: "11.4-gcc" # autoconf automake developer/gcc/gcc-c libtool gnu-make pkg-config | |
prepare: | | |
pkgutil -y -i aspell glib2 libx11 slang | |
# developer/test/check libssh2 | |
run: | | |
./autogen.sh | |
useradd -d "$(pwd)" test | |
chown test -R $(pwd) | |
su - test -c ' \ | |
./configure \ | |
--prefix="$(pwd)/install-prefix" \ | |
--enable-mclib \ | |
--enable-aspell ; \ | |
\ | |
make -j$(nproc) ; \ | |
# make check ; \ | |
make install ; \ | |
' | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: test-suite-logs-solaris | |
path: ./**/test-suite.log |