Skip to content

Commit

Permalink
Rework github actions logic a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
IonutCava committed Apr 27, 2024
1 parent 148808e commit e3f93b4
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 93 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/Game-Debug-Clang-Win64.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/Game-Release-MSVC-Win64.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
name: Editor + UTs (Release - Linux - Clang)
name: Linux - Clang

on:
push:
Expand Down Expand Up @@ -40,7 +40,9 @@ jobs:
buildPreset: 'unixlike-clang-release-editor'
testPreset: 'test-unixlike-clang-release-editor'

- name: Print temp error log
if: always()
id: run
run: cat /home/runner/work/Divide-Framework/Divide-Framework/Build/unixlike-clang-release-editor/vcpkg-manifest-install.log
- name: Build and test Game in Debug mode
uses: lukka/run-cmake@v10
with:
configurePreset: 'unixlike-clang-debug'
buildPreset: 'unixlike-clang-debug'
testPreset: 'test-unixlike-clang-debug'
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
name: Game + UTs (Debug - Linux - Clang)
name: Linux - GCC

on:
push:
Expand Down Expand Up @@ -33,9 +33,16 @@ jobs:
with:
vcpkgJsonGlob: 'vcpkg.json'

- name: Build and test Editor in Release mode
uses: lukka/run-cmake@v10
with:
configurePreset: 'unixlike-gcc-release-editor'
buildPreset: 'unixlike-gcc-release-editor'
testPreset: 'test-unixlike-gcc-release-editor'

- name: Build and test Game in Debug mode
uses: lukka/run-cmake@v10
with:
configurePreset: 'unixlike-clang-debug'
buildPreset: 'unixlike-clang-debug'
testPreset: 'test-unixlike-clang-debug'
configurePreset: 'unixlike-gcc-debug'
buildPreset: 'unixlike-gcc-debug'
testPreset: 'test-unixlike-gcc-debug'
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
name: Editor + UTs (Release - Win64 - Clang)
name: Win64 - Clang

on:
push:
Expand Down Expand Up @@ -33,9 +33,17 @@ jobs:
with:
vcpkgJsonGlob: 'vcpkg.json'

- name: Build and test Game in Debug mode
uses: lukka/run-cmake@v10
with:
configurePreset: 'windows-clang-debug'
buildPreset: 'windows-clang-debug'
testPreset: 'test-windows-clang-debug'

- name: Build and test Editor in Release mode
uses: lukka/run-cmake@v10
with:
configurePreset: 'windows-clang-release-editor'
buildPreset: 'windows-clang-release-editor'
testPreset: 'test-windows-clang-release-editor'

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
name: Editor + UTs (Debug - Win64 - MSVC)
name: Win64 - MSVC

on:
push:
Expand Down Expand Up @@ -33,6 +33,13 @@ jobs:
with:
vcpkgJsonGlob: 'vcpkg.json'

- name: Build and test Game in Release mode
uses: lukka/run-cmake@v10
with:
configurePreset: 'windows-msvc-release'
buildPreset: 'windows-msvc-release'
testPreset: 'test-windows-msvc-release'

- name: Build and test Editor in Debug mode
uses: lukka/run-cmake@v10
with:
Expand Down

0 comments on commit e3f93b4

Please sign in to comment.