Skip to content

Commit

Permalink
add a Solaris VM test
Browse files Browse the repository at this point in the history
to Github Actions CI
  • Loading branch information
Cyan4973 committed Jan 29, 2024
1 parent 6082944 commit 5f18da5
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/solaris.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Run Solaris tests

# This test runs within a Solaris VM.
# It is very slow.
# Consequently, we only want to run it on demand.
# The trigger is the feature branch name.

on:
push:
branches:
- '*sun*'
- '*Sun*'
- '*solaris*'
- '*Solaris*'

jobs:
test:
runs-on: ubuntu-latest
name: solaris-vm test
env:
EX_TOKEN: "ex_value"
steps:
- uses: actions/checkout@v4
- name: Test in Solaris
id: test
uses: vmactions/[email protected]
with:
envs: 'EX_TOKEN'
usesh: true
prepare: |
pkgutil -y -i socat
release: "11.4-gcc"
run: |
if [ -n "test" ]; then
echo "false"
fi
if [ "test" ]; then
echo "test"
fi
pwd
ls -lah
whoami
env
psrinfo -vp
cat /etc/release
psrinfo -v
echo "::memstat" | mdb -k
gcc -v
CC=gcc CFLAGS="-Werror -O1" gmake -j check
pkg install cmake
gmake cmakebuild V=1

0 comments on commit 5f18da5

Please sign in to comment.