commit 0b2c887d1879a0f311c0608bfd4ec1607c5e8324 parent 8cc697288e096a98feb6d6f73d5c0c0d97a48118 Author: Rolf Eike Beer <eike@sf-mail.de> Date: Fri, 8 Jan 2021 16:56:35 +0100 CI: add a test job for Solaris [travisci skip] Diffstat:
A | .github/workflows/solaris.yml | | | 47 | +++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 47 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/solaris.yml b/.github/workflows/solaris.yml @@ -0,0 +1,47 @@ +name: C CI on Solaris + +on: + push: + branches: + - '*' + pull_request: + branches: [ master ] + +jobs: + build: + name: Solaris-${{ matrix.config.name }} + runs-on: macos-latest + env: + CFLAGS: ${{ matrix.config.cflags }} + NROFF: ${{ matrix.config.nroff }} + strategy: + fail-fast: false + matrix: + config: + - { + name: default, + nroff: nroff, + cflags: "" + } + - { + name: no_obsolete, + nroff: true, + cflags: "-DDEPRECATED_FUNCTIONS_REMOVED" + } + + steps: + - name: checkout + uses: actions/checkout@v2 + + - name: Test in solaris + id: test + uses: vmactions/solaris-vm@v0.0.2 + with: + envs: 'CFLAGS NROFF' + prepare: pkgutil -y -i libcheck_dev gcc4core pkgconfig + run: | + echo "gcc -O2 -pipe ${CFLAGS}" > conf-cc + echo "gcc -s" > conf-ld + make it man NROFF=${NROFF} + cd tests + make test