Skip to content

Fix crash when displaying vehicle overlay during route calculation #804

Fix crash when displaying vehicle overlay during route calculation

Fix crash when displaying vehicle overlay during route calculation #804

Workflow file for this run

name: OTRP build Windows 64bit
on:
push:
tags:
- v*
pull_request:
types: [opened, synchronize, reopened]
jobs:
wingdi32:
runs-on: windows-latest
steps:
- name: Setup Mingw
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: git zip unzip svn base-devel mingw-w64-x86_64-toolchain autoconf mingw-w64-x86_64-gcc mingw-w64-x86_64-freetype mingw-w64-x86_64-zstd mingw-w64-x86_64-libpng mingw-w64-x86_64-brotli mingw-w64-x86_64-SDL2 mingw-w64-x86_64-pkg-config
- name: Checkout code
uses: actions/checkout@v4
- name: CI-Build
run: sh ./.github/build64.sh
shell: msys2 {0}
- name: Set suffix for file naming
run: |
if [[ $GITHUB_REF == refs/tags/* ]]; then
echo "SUFFIX=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
else
echo "SUFFIX=" >> $GITHUB_ENV
fi
shell: msys2 {0}
- name: Rename executable
run: |
if [ -n "${{ env.SUFFIX }}" ]; then
mv sim-WinGDI-OTRP.exe sim-WinGDI-OTRP${{ env.SUFFIX }}.exe
fi
shell: msys2 {0}
- name: Upload sim.exe
uses: actions/upload-artifact@v4
with:
name: sim-WinGDI-OTRP${{ env.SUFFIX }}.exe
path: ./sim-WinGDI-OTRP${{ env.SUFFIX }}.exe