Skip to content

fix of android app

fix of android app #38

name: Build + test + run on Windows with (clang-cl)
on: [ push, pull_request ]
env:
BUILD_DIR_RELEASE: build/windows/x64/runner
defaults:
run:
shell: pwsh
jobs:
build-clang:
runs-on: windows-2025
steps:
# windows is so funny ... NOT
- name: Enable Git long paths
run: git config --global core.longpaths true
shell: pwsh
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
# my windows container is quite big ... so remove runner packages for enough
# dis space
- name: Cleanup disk space
uses: ./.github/actions/cleanup-disk-space
- name: Login to GitHub
uses: docker/[email protected]
with:
registry: ghcr.io
username: Kataglyphis
password: ${{ secrets.GHCR_PAT }}
- name: Pull image
run: |
docker pull ghcr.io/kataglyphis/kataglyphis_beschleuniger:winamd64
- name: Run container
run: |
docker run --rm `
--mount "type=bind,source=${{ github.workspace }},target=C:\workspace" `
-w "C:\workspace" `
ghcr.io/kataglyphis/kataglyphis_beschleuniger:winamd64 `
powershell -NoProfile -ExecutionPolicy Bypass -File "C:\workspace\scripts\windows\build-windows.ps1"
# see also the install commands in the bottom of the CMakeLists.txt
- name: Upload files & Zip
uses: actions/[email protected]
with:
name: windows-files
path: |
${{ env.BUILD_DIR_RELEASE }}/**/*.exe
${{ env.BUILD_DIR_RELEASE }}/**/*.dll
${{ env.BUILD_DIR_RELEASE }}/data/**/*