summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yaml
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-06-07 16:31:11 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-06-07 16:31:11 -0400
commit8140dd050e8eddcb8c513200fdca3adfa566853a (patch)
tree51a256f0ab949c57ce26e18a26eefe503385aa2d /.github/workflows/build.yaml
parent104ae678a60a09df1e500f3ded920b5d515ee99a (diff)
SL-18837: Try to install llsd in the Python used by py.exe
Diffstat (limited to '.github/workflows/build.yaml')
-rw-r--r--.github/workflows/build.yaml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 0d7943ec4a..4c668d5e99 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -32,10 +32,7 @@ jobs:
# test-program log output at the specified level, but to display it only if
# the individual test fails.
LOGFAIL: DEBUG
- # Force py.exe to select python3.9 rather than the newest install 3.11,
- # since the 'pip3' command below seems to be associated with Python 3.9
- PY_PYTHON: "3.9"
- # but if unit tests fail to import llsd (i.e. wrong Python interpreter),
+ # if unit tests fail to import llsd (i.e. wrong Python interpreter),
# make py.exe enumerate the possibilities and explain its choice
PYLAUNCHER_DEBUG: "1"
steps:
@@ -61,7 +58,13 @@ jobs:
- name: Install windows dependencies
if: runner.os == 'Windows'
- run: choco install nsis-unicode
+ # Use 'py -m pip' because our autobuild.xml specifies py.exe as
+ # PYTHON_EXECUTABLE, and we've tried all kinds of tricks to make pip
+ # install the 'llsd' package into the Python interpreter selected by
+ # py.exe.
+ run: |
+ choco install nsis-unicode
+ py -m pip install autobuild llsd
- name: Build
id: build
@@ -69,7 +72,6 @@ jobs:
env:
RUNNER_OS: ${{ runner.os }}
run: |
- pip install llsd # Required by viewer tests
autobuild configure
autobuild build --no-configure