summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-06-29 14:03:31 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-06-29 14:03:31 -0400
commitd62e7039dafe4a49d548225203785eeda0eeb44a (patch)
tree7bb84c97a582ccb233ec708dbdd5a28ccf8c8e9a
parent2ab14316488185496ec5c72fafcccd2ffdc43dfd (diff)
SL-18837: Install autobuild from source repo, not PyPI.
Bug in autobuild 3.9.2? The TC viewer build can successfully build llphysicsextensions/autobuild-tpv.xml, but the previous GH actions build failed: "no configuration for Release found" despite -c Tpv. The difference seems to be that we used 'pip3 install autobuild' from PyPI, whereas the TC buildscripts setup clones secondlife/autobuild branch v3 and installs from that repo.
-rw-r--r--.github/workflows/build.yaml19
1 files changed, 18 insertions, 1 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index f5ed5ce2ae..18e07aae5e 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -28,6 +28,7 @@ jobs:
env:
AUTOBUILD_ADDRSIZE: ${{ matrix.addrsize }}
AUTOBUILD_BUILD_ID: ${{ github.run_id }}
+ autobuild_checkout: ${{ github.workspace}}/.autobuild
AUTOBUILD_CONFIGURATION: ${{ matrix.configuration }}
# authorizes fetching private constituent packages
AUTOBUILD_GITHUB_TOKEN: ${{ secrets.SHARED_AUTOBUILD_GITHUB_TOKEN }}
@@ -66,6 +67,19 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
+ - name: Checkout autobuild
+ uses: actions/checkout@v3
+ # Bug in autobuild 3.9.2? The TC viewer build can successfully build
+ # llphysicsextensions/autobuild-tpv.xml, but the previous GH actions
+ # build failed: "no configuration for Release found" despite -c Tpv.
+ # The difference seems to be that we used 'pip3 install autobuild'
+ # from PyPI, whereas the TC buildscripts setup clones
+ # secondlife/autobuild branch v3 and installs from that repo.
+ with:
+ repository: secondlife/autobuild
+ ref: v3
+ path: .autobuild
+
- name: Checkout build variables
uses: actions/checkout@v3
with:
@@ -80,7 +94,10 @@ jobs:
path: .master-message-template
- name: Install autobuild
- run: pip3 install autobuild llsd
+ shell: bash
+ run: |
+ pip3 install "$autobuild_checkout"
+ pip3 install llsd
- name: Cache autobuild packages
uses: actions/cache@v3