Skip to content

azjezz/setup-hhvm

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup HHVM

azejzz/setup-hhvm give your a cross platform interface to set up the HHVM environment you need to test your code.

inputs

Name Type Required Description
version string true HHVM version ( e.g: '4.83', 'latest', 'nightly')
debug boolean false Install a debug build that is suitable for debuggers like gdb ( currently not supported for MacOS )

usage

on: ["push"]

jobs:
  testing:
    runs-on: ${{ matrix.os }}

    strategy:
      matrix:
        hhvm: ["4.83", "4.84", "latest", "nightly"]
        os: ["macos-latest", "ubuntu-latest"]

    steps:
      - name: "checkout"
        uses: "actions/checkout@v2"

      - name: "setting up hhvm & composer"
        uses: "azjezz/setup-hhvm@v1"
        with:
          version: ${{ matrix.hhvm }}
          debug: false

      - name: "installing dependencies"
        run: "composer install"

      - name: "running hack static analyser"
        run: "hh_client"

      - name: "running unit test"
        run: "hhvm vendor/bin/hacktest tests"

License

Setup-HHVM is open-sourced software licensed under the MIT-licensed.

About

GitHub action for setting up HHVM ⚡

Resources

License

Stars

Watchers

Forks

Packages

No packages published