azejzz/setup-hhvm give your a cross platform interface to set up the HHVM environment you need to test your code.
| 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 ) |
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"Setup-HHVM is open-sourced software licensed under the MIT-licensed.