test #76
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
# SPDX-License-Identifier: 0BSD | |
name: Solaris | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
solaris-test: | |
runs-on: ubuntu-latest | |
name: Test xz on Solaris | |
steps: | |
- uses: actions/[email protected] | |
- name: Test in Solaris | |
id: test | |
uses: vmactions/solaris-vm@548f790d1bc2b9342a76cbb47ddbb85875605559 #v1.0.2 | |
with: | |
usesh: true | |
prepare: | | |
pkg install bash libtool automake gnu-m4 tree wget gcc autoconf | |
run: | | |
export LC_ALL=C LANG=C | |
printf "Dumping system information\n" | |
for cmd in 'freebsd-version' 'cat /etc/release' 'uname -a' 'cc --version' \ | |
'gcc --version' 'clang --version' 'ld --version' \ | |
'autoconf --version' 'automake --version' 'libtool --version' \ | |
'gettext --version' ; do | |
printf "Running cmd: %s\n" ${cmd} | |
${cmd} || true | |
done | |
printf "\n\n" | |
./autogen.sh | |
./configure --enable-werror | |
make | |
make check VERBOSE=1 |