Skip to content

Solaris CI

Solaris CI #6

Workflow file for this run

###############################################################################
# _ _ _ _ _____ _
# | | | | | | | | | __ \(_)
# | | ___ | |__ _ __ | |_| |__ ___ | |__) |_ _ __ _ __ ___ _ __
# _ | |/ _ \| '_ \| '_ \ | __| '_ \ / _ \ | _ /| | '_ \| '_ \ / _ \ '__|
# | |__| | (_) | | | | | | | | |_| | | | __/ | | \ \| | |_) | |_) | __/ |
# \____/ \___/|_| |_|_| |_| \__|_| |_|\___| |_| \_\_| .__/| .__/ \___|_|
# | | | |
# |_| |_|
#
# Copyright (c) 2023-2024 Claudio André <dev at claudioandre.slmail.me>
#
# This program comes with ABSOLUTELY NO WARRANTY; express or implied.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, as expressed in version 2, seen at
# http://www.gnu.org/licenses/gpl-2.0.html
###############################################################################
# GitHub Actions CI configuration
# More info at https://github.com/openwall/john-packages
---
name: Solaris CI
"on":
workflow_dispatch:
inputs:
hash:
description: "The commit hash to be used"
required: false
default: "f3517213a576867423cd9de55e6f720b0339c6cd"
jobs:
test:
runs-on: ubuntu-latest
name: Solaris 11
env:
TARGET_ARCH: "SOLARIS"
EXTRA: "full;extra;CHECK"
BUILD_OPTS: ""
BASE: "Oracle Solaris"
RELEASE_COMMIT: ${{ github.event.inputs.hash }}
MAKE_CMD: gmake
steps:
- uses: actions/checkout@v4
- name: Build on Solaris
id: test
uses: vmactions/solaris-vm@v1
with:
envs: "TARGET_ARCH EXTRA BUILD_OPTS TEST BASE RELEASE_COMMIT MAKE_CMD"
usesh: true
copyback: false
prepare: |
pkgutil -y -i socat
pkgutil -y -i git
run: |
echo '--------------------------------'
echo " Solaris Environment"
echo '--------------------------------'
git clone --depth 10 https://github.com/openwall/john.git ~/tmp
cd ~/tmp
wget https://raw.githubusercontent.com/openwall/john-packages/main/scripts/ci_controller.sh \
-O .ci/ci_controller.sh
chmod +x .ci/ci_controller.sh
.ci/ci_controller.sh $TARGET_ARCH BUILD
.ci/ci_controller.sh $TARGET_ARCH TEST