Skip to content
Snippets Groups Projects
Commit a05c7312 authored by Signal Linden's avatar Signal Linden
Browse files

Call load_vsvars

parent 82d76fc0
No related branches found
No related tags found
No related merge requests found
...@@ -35,22 +35,6 @@ jobs: ...@@ -35,22 +35,6 @@ jobs:
ref: viewer ref: viewer
path: .build-variables 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 - name: Install autobuild
run: pip3 install autobuild run: pip3 install autobuild
...@@ -62,14 +46,15 @@ jobs: ...@@ -62,14 +46,15 @@ jobs:
key: ${{ matrix.os }}-${{ matrix.addrsize }}-${{ matrix.configuration }}-${{ hashFiles('autobuild.xml') }} key: ${{ matrix.os }}-${{ matrix.addrsize }}-${{ matrix.configuration }}-${{ hashFiles('autobuild.xml') }}
- name: Build - name: Build
shell: ${{ steps.shell.outputs.shell }} shell: bash
env: env:
WORKSPACE: ${{ github.workspace }} WINDOWS: ${{ runner.os == 'Windows' }}
run: | run: |
cd "$WORKSPACE"
autobuild --quiet source_environment > .env autobuild --quiet source_environment > .env
source .env source .env
if [[ "$WINDOWS" == "true" ]]; then
load_vsvars
fi
autobuild configure autobuild configure
autobuild build --no-configure autobuild build --no-configure
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment