fixup! Ticket #4170: implement CI via GitHub Actions #7
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: | | |
pkg install --no-backup-be --no-refresh --accept -v \ | |
aspell check glib2 libssh2 libx11 | |
run: | | |
./autogen.sh | |
useradd -d "$(pwd)" test | |
chown test -R $(pwd) | |
su - test -c ' \ | |
\ | |
setenv PKG_CONFIG_PATH /usr/lib/64/pkgconfig ; \ | |
\ | |
./configure \ | |
--prefix="$(pwd)/install-prefix" \ | |
--with-screen=ncurses \ | |
--enable-mclib \ | |
--enable-aspell ; \ | |
\ | |
make -j $(psrinfo -p) ; \ | |
make check ; \ | |
make install ; \ | |
' | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: test-suite-logs-solaris | |
path: ./**/test-suite.log |