summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yaml
diff options
context:
space:
mode:
authorSignal Linden <signal@lindenlab.com>2022-10-12 15:08:00 -0700
committerSignal Linden <signal@lindenlab.com>2022-10-12 15:08:00 -0700
commit7c4a1668462a4c655f5c3875fcff863b96565c49 (patch)
treef5e0b43f86ba0df98819da86be0b8a68da72f747 /.github/workflows/build.yaml
parent75499351dc0480bd62bf9fab5366fa3c668443da (diff)
Add macOS build back
Diffstat (limited to '.github/workflows/build.yaml')
-rw-r--r--.github/workflows/build.yaml16
1 files changed, 10 insertions, 6 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index cef0d32519..57018823aa 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -10,11 +10,11 @@ jobs:
build:
strategy:
matrix:
- runner: [windows-2022-public-003]
+ runner: [windows-2022, macos-11]
configuration: [ReleaseOS]
addrsize: [64]
include:
- - runner: windows-2022-public-003
+ - runner: windows-2022
configuration: ReleaseOS
addrsize: 32
runs-on: ${{ matrix.runner }}
@@ -52,15 +52,19 @@ jobs:
- name: Build
id: build
shell: bash
+ env:
+ RUNNER_OS: ${{ runner.os }}
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"
+ if [[ "$RUNNER_OS" == "Windows" ]]; then
+ 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"
+ fi
- name: Upload installer
if: runner.os == 'Windows'