Skip to content

Commit

Permalink
Enable new engine build CI on pushes and PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
p2004a committed Oct 20, 2024
1 parent 19b0efc commit e69f380
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/engine-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,15 @@ on:
description: "Recache ccache build objects"
type: boolean
default: false
# TODO: Uncomment after it's merged and docker images are availabe
# pull_request:
# paths-ignore:
# - 'doc/**'
# push:
# branches:
# - master
# # TODO: add release branches once their naming is finalized
# paths-ignore:
# - 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'
push:
branches:
- master
# TODO: add release branches once their naming is finalized
paths-ignore:
- 'doc/**'
jobs:
build-engine:
if: github.repository == 'beyond-all-reason/spring' || github.event_name == 'workflow_dispatch'
Expand Down
2 changes: 1 addition & 1 deletion docker-build-v2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ mkdir -p build-$OS .cache/ccache-$OS
image=recoil-build-amd64-$OS:latest
if [[ -z "$(docker images -q $image 2> /dev/null)" ]]; then
image=ghcr.io/beyond-all-reason/recoil-build-amd64-$OS:latest
docker pull $image > /dev/null
docker pull $image
fi

docker run -it --rm \
Expand Down

0 comments on commit e69f380

Please sign in to comment.