summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yaml
diff options
context:
space:
mode:
authorSignal Linden <signal@lindenlab.com>2022-10-10 10:54:13 -0700
committerSignal Linden <signal@lindenlab.com>2022-10-10 10:54:13 -0700
commita05c7312c52c7261c2473a8163bf2a4b99b8b059 (patch)
tree6cd3c889f1b99fc809d2b45ed67ab92d6e1667b4 /.github/workflows/build.yaml
parent82d76fc0a36d62ba34ce2b38b9e14a105c899066 (diff)
Call load_vsvars
Diffstat (limited to '.github/workflows/build.yaml')
-rw-r--r--.github/workflows/build.yaml25
1 files changed, 5 insertions, 20 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 06aac0c8ab..10b02783bc 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -35,22 +35,6 @@ jobs:
ref: viewer
path: .build-variables
- - name: Install cygwin
- if: runner.os == 'Windows'
- uses: secondlife/setup-cygwin@v1
-
- - name: Determine shell
- id: shell
- shell: bash
- env:
- WINDOWS: ${{ runner.os == 'Windows' }}
- run: |
- if [[ $WINDOWS == 'true' ]]; then
- echo "::set-output name=shell::C:\cygwin64\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'"
- else
- echo '::set-output name=shell::bash'
- fi
-
- name: Install autobuild
run: pip3 install autobuild
@@ -62,14 +46,15 @@ jobs:
key: ${{ matrix.os }}-${{ matrix.addrsize }}-${{ matrix.configuration }}-${{ hashFiles('autobuild.xml') }}
- name: Build
- shell: ${{ steps.shell.outputs.shell }}
+ shell: bash
env:
- WORKSPACE: ${{ github.workspace }}
+ WINDOWS: ${{ runner.os == 'Windows' }}
run: |
- cd "$WORKSPACE"
-
autobuild --quiet source_environment > .env
source .env
+ if [[ "$WINDOWS" == "true" ]]; then
+ load_vsvars
+ fi
autobuild configure
autobuild build --no-configure