Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
specify demangle options for running autoloader and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Dec 18, 2020
1 parent a8254c5 commit 8654ee7
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,18 @@ jobs:
- name: Create branch for version alias
run: git checkout -b CI_current_pull_request
- name: Install project dependencies
run: php ${{runner.temp}}/composer.phar install
run: php ${{runner.temp}}/composer.phar install --no-autoloader
- name: Generate autoload map
run: |
hhvm \
-dhhvm.hack.lang.enable_xhp_class_modifier=false \
-dhhvm.hack.lang.disable_xhp_element_mangling=false \
vendor/bin/hh-autoload
- name: Typecheck
run: hh_client
- name: Run tests
run: vendor/bin/hacktest tests/
- name: Run lint
if: matrix.hhvm != 'nightly'
run: vendor/bin/hhast-lint
run: |
hhvm \
-dhhvm.hack.lang.enable_xhp_class_modifier=false \
-dhhvm.hack.lang.disable_xhp_element_mangling=false \
vendor/bin/hacktest tests/

0 comments on commit 8654ee7

Please sign in to comment.