buildsys: automatically select correct PKG_CONFIG_PATH
on Solaris
#10
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: 15 | |
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 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 ' \ | |
\ | |
./configure \ | |
--prefix="$(pwd)/install-prefix" \ | |
--with-screen=ncurses \ | |
--enable-mclib \ | |
--enable-aspell && \ | |
\ | |
make && \ | |
make check && \ | |
make install \ | |
' | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: test-suite-logs-solaris | |
path: ./**/test-suite.log |