Skip to content

Commit 0c1b039

Browse files
authored
Run typegenerator before build in Linux workflow (#57)
* Run typegenerator before build in Linux workflow
1 parent bf21b56 commit 0c1b039

File tree

3 files changed

+24
-4
lines changed

3 files changed

+24
-4
lines changed

.github/workflows/linux-build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99

1010
strategy:
1111
fail-fast: false
12+
matrix:
13+
build_type: [Debug]
1214

1315
steps:
1416
- uses: actions/checkout@v4
@@ -46,6 +48,24 @@ jobs:
4648
export VULKAN_SDK=/usr/include/vulkan
4749
premake5 gmake2
4850
51+
- name: Build Meta Generator files
52+
run: |
53+
cd Build
54+
make -j$(nproc) -k Gen-Meta
55+
56+
- name: Run Meta Generator
57+
run: |
58+
META_DIR=Submodules/Engine/Source/Meta/Meta
59+
rm -rf $META_DIR/Generated
60+
Build/Bin/Game/Engine/${{ matrix.build_type }}/TypeGenerator \
61+
$META_DIR/Source \
62+
$META_DIR/Generated
63+
64+
- name: Re-run Premake
65+
run: |
66+
export VULKAN_SDK=/usr/include/vulkan
67+
premake5 gmake2
68+
4969
- name: Build
5070
run: |
5171
cd Build

.github/workflows/on-push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ on:
55
workflow_dispatch:
66

77
jobs:
8-
call-windows-build:
9-
name: Windows Build
10-
uses: ./.github/workflows/win-build.yml
8+
# call-windows-build:
9+
# name: Windows Build
10+
# uses: ./.github/workflows/win-build.yml
1111

1212
call-linux-build:
1313
name: Linux Build

Submodules/Engine

0 commit comments

Comments
 (0)