Skip to content

Commit 82e3494

Browse files
authored
Run typegenerator before build in Linux workflow (#22)
* Add Meta Generator step * Manually run meta generator instead of postbuild command * Disable win build for now * Update Engine submodule
1 parent aaa8ab0 commit 82e3494

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
@@ -42,6 +44,24 @@ jobs:
4244
export VULKAN_SDK=/usr/include/vulkan
4345
premake5 gmake2
4446
47+
- name: Build Meta Generator files
48+
run: |
49+
cd Build
50+
make -j$(nproc) -k Gen-Meta
51+
52+
- name: Run Meta Generator
53+
run: |
54+
META_DIR=Submodules/Engine/Source/Meta/Meta
55+
rm -rf $META_DIR/Generated
56+
Build/Bin/AssetConverter/Engine/${{ matrix.build_type }}/TypeGenerator \
57+
$META_DIR/Source \
58+
$META_DIR/Generated
59+
60+
- name: Re-run Premake
61+
run: |
62+
export VULKAN_SDK=/usr/include/vulkan
63+
premake5 gmake2
64+
4565
- name: Build
4666
run: |
4767
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)