2024-04-13 20:02:04 +00:00
|
|
|
# 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:
|
2024-06-03 05:16:23 +00:00
|
|
|
- uses: actions/checkout@v4.1.6
|
2024-04-13 20:02:04 +00:00
|
|
|
- name: Test in Solaris
|
|
|
|
id: test
|
2024-10-02 02:04:03 +00:00
|
|
|
uses: vmactions/solaris-vm@960d7483ffd6ac03397964cf6423a2f41332c9c8 #v1.0.9
|
2024-04-13 20:02:04 +00:00
|
|
|
with:
|
|
|
|
usesh: true
|
|
|
|
prepare: |
|
|
|
|
pkg install bash libtool automake gnu-m4 tree wget gcc autoconf //solaris/text/gawk pkg://solaris/text/gnu-diffutils pkg://solaris/text/gnu-grep pkg://solaris/text/gnu-sed
|
|
|
|
run: |
|
2024-06-03 12:08:15 +00:00
|
|
|
set -e
|
2024-04-13 20:02:04 +00:00
|
|
|
export LC_ALL=C LANG=C
|
|
|
|
uname -a
|
2024-06-03 14:07:11 +00:00
|
|
|
./autogen.sh --no-po4a
|
2024-04-13 20:02:04 +00:00
|
|
|
./configure --enable-werror
|
|
|
|
make
|
|
|
|
make check VERBOSE=1
|