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

Commit 8654ee7

Browse files
committed
specify demangle options for running autoloader and tests
1 parent a8254c5 commit 8654ee7

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/build-and-test.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,18 @@ jobs:
5757
- name: Create branch for version alias
5858
run: git checkout -b CI_current_pull_request
5959
- name: Install project dependencies
60-
run: php ${{runner.temp}}/composer.phar install
60+
run: php ${{runner.temp}}/composer.phar install --no-autoloader
61+
- name: Generate autoload map
62+
run: |
63+
hhvm \
64+
-dhhvm.hack.lang.enable_xhp_class_modifier=false \
65+
-dhhvm.hack.lang.disable_xhp_element_mangling=false \
66+
vendor/bin/hh-autoload
6167
- name: Typecheck
6268
run: hh_client
6369
- name: Run tests
64-
run: vendor/bin/hacktest tests/
65-
- name: Run lint
66-
if: matrix.hhvm != 'nightly'
67-
run: vendor/bin/hhast-lint
70+
run: |
71+
hhvm \
72+
-dhhvm.hack.lang.enable_xhp_class_modifier=false \
73+
-dhhvm.hack.lang.disable_xhp_element_mangling=false \
74+
vendor/bin/hacktest tests/

0 commit comments

Comments
 (0)