Skip to content

Commit b6a73dc

Browse files
committed
Update workflow
1 parent e1a66be commit b6a73dc

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/Build-PreRelease.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,22 @@ jobs:
2121
with:
2222
persist-credentials: false
2323

24-
- name: Configure CMake
25-
run: cmake -B ${{github.workspace}}/Build -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="$DEVKITPRO/cmake/3DS.cmake" -DCMAKE_BUILD_TYPE=Release
24+
- name: Configure ResGen
25+
run: cmake -B ${{github.workspace}}/Build/ResGen -DCMAKE_BUILD_TYPE=Release ResGen
2626

27-
- name: Build
27+
- name: Build ResGen
28+
run: cmake --build ${{github.workspace}}/Build/ResGen --config Release
29+
30+
- name: Install ResGen
31+
run: cmake --install ${{github.workspace}}/Build/ResGen --prefix ${{github.workspace}}/Build/ResGen/Release
32+
33+
- name: Configure CTRDL
34+
run: cmake -B ${{github.workspace}}/Build -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="$DEVKITPRO/cmake/3DS.cmake" -DCMAKE_BUILD_TYPE=Release -DRESGEN_PATH="${{github.workspace}}/Build/ResGen/Release/bin"
35+
36+
- name: Build CTRDL
2837
run: cmake --build ${{github.workspace}}/Build --config Release
2938

30-
- name: Install
39+
- name: Install CTRDL
3140
run: cmake --install ${{github.workspace}}/Build --prefix ${{github.workspace}}/Build/Release
3241

3342
- name: Make ZIP

0 commit comments

Comments
 (0)