oops changed wrong env var

This commit is contained in:
Eric Froemling 2023-08-21 11:02:23 -07:00
parent 25454a2580
commit af1fc06804
No known key found for this signature in database
GPG Key ID: 89C93F0F8D6D5A98
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ jobs:
- name: Install dependencies
run: tools/pcommand install_pip_reqs
- name: Run checks
run: BA_PCOMMANDBATCH_BUILD_VERBOSE=1 make check
run: BA_PCOMMANDBATCH_BUILD_REQUIRE=1 make check
# Compile a server binary and run some tests.
build_and_test_linux:
@ -40,7 +40,7 @@ jobs:
- name: Compile binary
run: make cmake-server-build
- name: Run tests
run: BA_PCOMMANDBATCH_REQUIRE=1 BA_APP_RUN_BUILD_HEADLESS=1 make test
run: BA_PCOMMANDBATCH_BUILD_REQUIRE=1 BA_APP_RUN_ENABLE_BUILDS=1 BA_APP_RUN_BUILD_HEADLESS=1 make test
# Test spinoff projects - versions of the project with feature-sets
# added or removed or other changes made.

View File

@ -98,7 +98,7 @@ def build_pcommandbatch(inpaths: list[str], outpath: str) -> None:
# Options to show build output or to fail if the build fails.
verbose = os.environ.get('BA_PCOMMANDBATCH_BUILD_VERBOSE') == '1'
require = os.environ.get('BA_PCOMMANDBATCH_REQUIRE') == '1'
require = os.environ.get('BA_PCOMMANDBATCH_BUILD_REQUIRE') == '1'
try:
if os.path.islink(outpath):