Skip to content

Commit ed4d595

Browse files
committed
Run typegenerator before build in Linux workflow
1 parent f4f58b0 commit ed4d595

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
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
@@ -38,6 +40,24 @@ jobs:
3840
export VULKAN_SDK=/usr/include/vulkan
3941
premake5 gmake2
4042
43+
- name: Build Meta Generator files
44+
run: |
45+
cd Build
46+
make -j$(nproc) -k Gen-Meta
47+
48+
- name: Run Meta Generator
49+
run: |
50+
META_DIR=/Source/Meta/Meta
51+
rm -rf $META_DIR/Generated
52+
Build/Bin/Engine/${{ matrix.build_type }}/TypeGenerator \
53+
$META_DIR/Source \
54+
$META_DIR/Generated
55+
56+
- name: Re-run Premake
57+
run: |
58+
export VULKAN_SDK=/usr/include/vulkan
59+
premake5 gmake2
60+
4161
- name: Build
4262
run: |
4363
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

0 commit comments

Comments
 (0)