From af1fc068047fea6a24a62068487e69d42c5848cd Mon Sep 17 00:00:00 2001 From: Eric Froemling Date: Mon, 21 Aug 2023 11:02:23 -0700 Subject: [PATCH] oops changed wrong env var --- .github/workflows/ci.yml | 4 ++-- tools/efrotools/pcommandbatch.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c19ca61a..d7db940c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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. diff --git a/tools/efrotools/pcommandbatch.py b/tools/efrotools/pcommandbatch.py index d4e1727e..e719b68a 100644 --- a/tools/efrotools/pcommandbatch.py +++ b/tools/efrotools/pcommandbatch.py @@ -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):