Skip to content

mondeja/solaris-vm-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

solaris-vm-action

Tests

Run your workflow in a SunOS 11.4 virtual machine using VirtualBox.

Usage

name: Run Solaris tests
on:
  push:
    branches:
      - master
    tags:
      - v*
  pull_request:
  workflow_dispatch:

jobs:
  sunos-tests:
    name: Solaris (SunOS) tests
    runs-on: macos-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/cache@v2
        with:
          key: sol-11_4
          path: |
            sol-11_4.ova
      - uses: mondeja/solaris-vm-action@v1
        with:
          run: |
            sh build.sh
            sh test.sh

The optional actions/cache step saves ~3 min for subsequents runs of the action under the same branch, but takes 3.5GB of your cache storage when each repository has a limit of 5GB (see Cache Limits).

Arguments

  • run (required): Commands to run, in multiple lines.
  • prepare: Optional preparation commands to run in the Solaris VM before main execution.
  • cpus (1): Number of CPUs for the virtual machine.
  • memory (4096): RAM memory size for the virtual machine.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages