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

Use cygwin

parent 2e53204e
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,22 @@ 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
......@@ -46,8 +62,12 @@ jobs:
key: ${{ matrix.os }}-${{ matrix.addrsize }}-${{ matrix.configuration }}-${{ hashFiles('autobuild.xml') }}
- name: Build
shell: bash
shell: ${{ steps.shell.outputs.shell }}
env:
WORKSPACE: ${{ github.workspace }}
run: |
cd "$WORKSPACE"
autobuild --quiet source_environment > .env
source .env
......
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