Xavier Del Campo Romero
5ed954575e
Some checks failed
/ build (pull_request) Failing after 23s
- build-3rdparty.yml cross-builds all third-party dependencies for Windows. This workflow is meant to be run only sparingly, since it fetches source code from many repositories and takes a long time to build. - build-w64-mingw32.yml cross-builds the game engine and tools for Windows. It requires a pre-existing build of the third-party libraries.
25 lines
785 B
YAML
25 lines
785 B
YAML
on:
|
|
pull_request:
|
|
paths:
|
|
- '/packaging/3rdParty-devel/**'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: docker
|
|
container:
|
|
image: forge.a-lec.org/speed-dreams/debian-i686-w64-mingw32:stable
|
|
steps:
|
|
- name: Clone repository
|
|
run: |
|
|
git clone \
|
|
-b ${{ env.GITHUB_HEAD_REF }} \
|
|
--depth 1 \
|
|
'${{ env.GITHUB_SERVER_URL }}/${{ env.GITHUB_REPOSITORY }}.git' \
|
|
/src
|
|
- name: Configure third-party libraries
|
|
run: cmake -B build -DCMAKE_TOOLCHAIN_FILE=x86_64-w64-mingw32.cmake
|
|
working-directory: /src/packaging/3rdParty-devel
|
|
- name: Build third-party libraries
|
|
run: cmake --build build -j$(nproc --all)
|
|
working-directory: /src/packaging/3rdParty-devel
|