Skip to content

Commit

Permalink
Revert "ci: run MSYS on upload only"
Browse files Browse the repository at this point in the history
This reverts commit ee824c7.
  • Loading branch information
olanti-p committed Nov 2, 2023
1 parent 83e1af4 commit d68920c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 6 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/msys2-cmake.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows build (CMake + MSYS2)
name: Cataclysm Windows build (CMake + MSYS2)

on:
push:
Expand All @@ -15,10 +15,24 @@ on:
- '!tools/format/**'
- 'utilities/**'
- 'scripts/**'
pull_request:
branches:
- upload
paths-ignore:
- 'android/**'
- 'build-data/osx/**'
- 'doc/**'
- 'doxygen_doc/**'
- 'gfx/**'
- 'lang/**'
- 'tools/**'
- '!tools/format/**'
- 'utilities/**'
- 'scripts/**'

# We only care about the latest revision, so cancel previous instances.
# We only care about the latest revision of a PR, so cancel previous instances.
concurrency:
group: msys2-cmake-build-${{ github.ref_name }}
group: msys2-cmake-build-${{ github.event.pull_request.number || github.ref_name }}
cancel-in-progress: true

jobs:
Expand Down
20 changes: 17 additions & 3 deletions .github/workflows/msys2.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows build (MSYS2)
name: Cataclysm Windows build (MSYS2)

on:
push:
Expand All @@ -15,10 +15,24 @@ on:
- '!tools/format/**'
- 'utilities/**'
- 'scripts/**'
pull_request:
branches:
- upload
paths-ignore:
- 'android/**'
- 'build-data/osx/**'
- 'doc/**'
- 'doxygen_doc/**'
- 'gfx/**'
- 'lang/**'
- 'tools/**'
- '!tools/format/**'
- 'utilities/**'
- 'scripts/**'

# We only care about the latest revision, so cancel previous instances.
# We only care about the latest revision of a PR, so cancel previous instances.
concurrency:
group: msys2-build-${{ github.ref_name }}
group: msys2-build-${{ github.event.pull_request.number || github.ref_name }}
cancel-in-progress: true

jobs:
Expand Down

0 comments on commit d68920c

Please sign in to comment.