Skip to content

Commit

Permalink
Use CGE master as hotfix for STL export bug into 5.0.0
Browse files Browse the repository at this point in the history
We're cheating a bit to get fix castle-engine/castle-engine@b3a72d1 into 5.0.0
  • Loading branch information
michaliskambi committed May 20, 2024
1 parent 1db17f0 commit 881d45c
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,22 @@ jobs:
# We use a Docker container with cge-unstable, so it already contains
# CGE (with build tool) set up. This way we know we only use CGE that
# passed automatic tests, we have castle-engine on the PATH, and things are easy.
container: kambi/castle-engine-cloud-builds-tools:cge-unstable
#container: kambi/castle-engine-cloud-builds-tools:cge-unstable
# TEMP for hotfix:
container: kambi/castle-engine-cloud-builds-tools:cge-none
steps:
- uses: actions/checkout@v4

# Older version of this workflow used to clone CGE and build it.
# # Setup Castle Game Engine
# - name: Castle Game Engine - Env CASTLE_ENGINE_PATH
# run: echo "CASTLE_ENGINE_PATH=$GITHUB_WORKSPACE/castle-engine" >> $GITHUB_ENV
# - name: Castle Game Engine - Env BUILD_TOOL
# run: echo "BUILD_TOOL=$CASTLE_ENGINE_PATH/tools/build-tool/castle-engine" >> $GITHUB_ENV
# - name: Castle Game Engine - Clone snapshot
# run: git clone --depth 1 --single-branch --branch snapshot https://github.com/castle-engine/castle-engine/
# - name: Castle Game Engine - Build
# run: cd $CASTLE_ENGINE_PATH/tools/build-tool/ && ./castle-engine_compile.sh
# Setup Castle Game Engine
- name: Castle Game Engine - Env CASTLE_ENGINE_PATH
run: echo "CASTLE_ENGINE_PATH=$GITHUB_WORKSPACE/castle-engine" >> $GITHUB_ENV
- name: Castle Game Engine - Env PATH (non-Windows)
run: echo "PATH=$PATH:$CASTLE_ENGINE_PATH/tools/build-tool/" >> $GITHUB_ENV
- name: Castle Game Engine - Clone snapshot
run: git clone --depth 1 --single-branch --branch master https://github.com/castle-engine/castle-engine/
- name: Castle Game Engine - Build
run: cd $CASTLE_ENGINE_PATH/tools/build-tool/ && ./castle-engine_compile.sh

# Package application:
# - castle-model-converter first, it will be packaged in castle-model-viewer CastleEngineManifest.xml
Expand Down Expand Up @@ -89,7 +91,7 @@ jobs:
- name: Castle Game Engine - Env BUILD_TOOL
run: echo "BUILD_TOOL=$CASTLE_ENGINE_PATH/tools/build-tool/castle-engine" >> $GITHUB_ENV
- name: Castle Game Engine - Clone snapshot
run: git clone --depth 1 --single-branch --branch snapshot https://github.com/castle-engine/castle-engine/
run: git clone --depth 1 --single-branch --branch master https://github.com/castle-engine/castle-engine/
- name: Castle Game Engine - Build
run: cd $CASTLE_ENGINE_PATH/tools/build-tool/ && ./castle-engine_compile.sh

Expand Down

0 comments on commit 881d45c

Please sign in to comment.