summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorSignal Linden <signal@lindenlab.com>2022-10-12 11:49:47 -0700
committerSignal Linden <signal@lindenlab.com>2022-10-12 11:49:47 -0700
commit6112e92b61c334d3c0656bacdea92690cea1a76b (patch)
tree5e312983305596b87f980dbf351d02fa91c875e2 /.github/workflows
parent8d7cde22c31a59d0503230334b1d68e858364c9a (diff)
Upload installer, build Release, use large runner
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yaml27
1 files changed, 22 insertions, 5 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 91788c4076..d6916a4808 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -10,14 +10,14 @@ jobs:
build:
strategy:
matrix:
- os: [windows-2022, macos-11]
- configuration: [RelWithDebInfoOS]
+ runner: [windows_2022_public]
+ configuration: [ReleaseOS]
addrsize: [64]
include:
- - os: windows-2022
- configuration: RelWithDebInfoOS
+ - runner: windows_2022_public
+ configuration: ReleaseOS
addrsize: 32
- runs-on: ${{ matrix.os }}
+ runs-on: ${{ matrix.runner }}
env:
AUTOBUILD_CONFIGURATION: ${{ matrix.configuration }}
AUTOBUILD_ADDRSIZE: ${{ matrix.addrsize }}
@@ -45,9 +45,26 @@ jobs:
path: .autobuild-installables
key: ${{ matrix.os }}-${{ matrix.addrsize }}-${{ matrix.configuration }}-${{ hashFiles('autobuild.xml') }}
+ - name: Install windows dependencies
+ if: runner.os == 'Windows'
+ run: choco install nsis-unicode
+
- name: Build
+ id: build
shell: bash
run: |
pip install llsd # Required by viewer tests
autobuild configure
autobuild build --no-configure
+
+ installer_path=$(find ./build-*/newview/ | grep '_Setup\.exe')
+ installer_name="$(basename $installer_path)"
+ echo "::set-output name=installer_path::$installer_path"
+ echo "::set-output name=installer_name::$installer_name"
+
+ - name: Upload installer
+ if: runner.os == 'Windows'
+ uses: actions/upload-artifact@v3
+ with:
+ name: ${{ steps.build.outputs.installer_name }}
+ path: ${{ steps.build.outputs.installer_path }}