Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
375 commits
Select commit Hold shift + click to select a range
1e8a0a2
[ctrtool] Corrected array size.
jakcron Oct 21, 2015
4dba06b
[ctrtool] Made makefile consistent with makerom.
jakcron Oct 21, 2015
dd9538b
[makerom] Fixed "self referencing problems" work around.
jakcron Oct 21, 2015
d7d4541
[makerom/ctrtool] Updated usage text. (now with build datestamp)
jakcron Oct 21, 2015
4c965b8
[makerom] Simplified CIA version logic.
jakcron Oct 21, 2015
3702b58
[makerom] Cleaned keyset.c
jakcron Oct 23, 2015
3f3418e
[makerom] Updated NCSD spec, as per 3dbrew.org contributor research.
jakcron Oct 24, 2015
a4b261b
Added padlock.c back. Fixes building for x86 targets.
profi200 Oct 31, 2015
7116b55
[ctrtool] Changed TMD title version representation.
jakcron Nov 3, 2015
3cb804e
[makerom] Separated ELF processing from code segment construction. St…
jakcron Nov 3, 2015
88c0f66
[makerom] Misc
jakcron Nov 10, 2015
e7dc460
[makerom] Fixed makerom ROMFS file limitation. +Several bug fixes.
jakcron Nov 11, 2015
7270990
[makerom] misc
jakcron Nov 11, 2015
7c3b5fa
[makerom] misc
jakcron Nov 12, 2015
0854cbe
[makerom] fixed romfs (for linux)
jakcron Nov 14, 2015
9ca1281
[makerom] renamed dir.c/dir.h to romfs_fs.c/romfs_fs.h
jakcron Nov 14, 2015
f8e3b47
[makerom] misc
jakcron Nov 14, 2015
4e6cbfb
[makerom] made function name more accurate.
jakcron Nov 14, 2015
bb10fd8
[makerom] Changed ReadFile64 & WriteBuffer to read/write data in bloc…
jakcron Nov 14, 2015
2dd838b
[makerom] Added IVFC hash generation to verbose output.
jakcron Nov 14, 2015
7e04a82
[makerom] Fixed size limitation on NCCH encryption.
jakcron Nov 19, 2015
127d116
[ctrtool] Fixed issue #7
jakcron Nov 19, 2015
c2b8997
[makerom] Fixes issue #11
jakcron Nov 20, 2015
40dabc5
[makerom/ctrool] Implemented ROMFS unicode support. (oschar.c)
jakcron Nov 22, 2015
9d29a4b
[makerom/ctrtool] Misc #include cleanup.
jakcron Nov 25, 2015
c8023e2
[makerom] Misc, added code comments.
jakcron Nov 26, 2015
085e372
[makerom] Added Homebrew NCCH Logo (credit: yellows8). Accessible via…
jakcron Nov 26, 2015
6ab7c2a
[ctrtool] Implemented --listromfs & --romfsdir to work directly with …
jakcron Nov 26, 2015
2f81642
[ctrtool] Misc.
jakcron Nov 26, 2015
b17804b
[ctrtool/makerom] Silenced warnings, fixed compiling on systems with …
jakcron Nov 26, 2015
acb8c37
[ctrtool] Misc
jakcron Nov 26, 2015
94c4ba7
[makerom] Altered encryption preferences for different keychains.
jakcron Dec 1, 2015
4d9f77b
[makerom] misc
jakcron Dec 17, 2015
83d4a1f
[makerom] Fixed ELF related code. Addresses #14
jakcron Dec 17, 2015
59c5df9
[makerom] misc
jakcron Dec 17, 2015
103fc09
[makerom] Cleaned up "desc" presets
jakcron Dec 23, 2015
a2f6616
Fix Windows compilation by mapping fseeko64 to _fseeki64.
Myriachan Dec 26, 2015
fc8eb8c
Fix a bunch of Visual Studio compilation warnings, mostly related to …
Myriachan Dec 26, 2015
a0ee2ae
Disable lame "security" warnings from Visual Studio.
Myriachan Dec 26, 2015
35ab1ad
Formatting fix for help text.
Myriachan Dec 26, 2015
57818a5
keysize is unsigned.
Myriachan Dec 26, 2015
7e9893e
Added support for --showsyscalls, which shows the names of the system…
Myriachan Dec 26, 2015
11d4d2a
Supposedly, not having an fseeko64 is only a Visual Studio thing. Wo…
Myriachan Dec 27, 2015
67a9b36
Merge pull request #16 from Myriachan/master
jakcron Dec 27, 2015
1a4bdb9
Merge branch 'master' of https://github.com/profi200/Project_CTR.git
jakcron Dec 27, 2015
695fadc
[makerom] misc
jakcron Dec 27, 2015
26affd1
[makerom] misc
jakcron Jan 5, 2016
9de65b0
Fix gcc compatibility.
profi200 Jan 7, 2016
b1725fd
[makerom] Changed makefile
jakcron Jan 8, 2016
9b4415a
[ctrtool] Fix compile errors
jakcron Jan 8, 2016
ed28687
[ctrtool] removed silenced warning for hacky code.
jakcron Jan 8, 2016
8420f9d
Update .gitignore
jakcron Jan 15, 2016
fefa25f
[makerom] corrected aes keygen code, thanks plutoo.
jakcron Jan 15, 2016
75a839e
[makerom] cleaned up RSA keys
jakcron Jan 15, 2016
22a1127
[makerom] Fix typo in ctr_aes_keygen()
jakcron Jan 16, 2016
2ffdca3
[makerom] Fix typo in prod keyset
jakcron Jan 16, 2016
8ac78ca
[makerom] Fix BSS duplication in ExeFS code, issue #20
jakcron Jan 16, 2016
7b8d16f
[makerom] misc
jakcron Jan 16, 2016
3548ebb
[makerom] Added dev common keys: 2,3,4,5
jakcron Jan 18, 2016
58ca552
[makerom] Encryption is now disabled by default.
jakcron Jan 18, 2016
167e3f5
[makerom/ctrtool] Release 0.15
jakcron Jan 18, 2016
8dd6527
[makerom] Increased maximum affinity mask to 3 (from 1).
jakcron Jan 23, 2016
a8c0850
Fix agb_firm cia generation.
kateeckhart Jan 26, 2016
a02d204
Merge branch 'master' of github.com:alex34567/Project_CTR
kateeckhart Jan 26, 2016
ac8c9d4
Merge pull request #22 from alex34567/master
jakcron Jan 26, 2016
d9556da
Cleaned up polarssl.
jakcron Feb 15, 2016
32f075b
Fixed issue #25
jakcron Feb 15, 2016
ce2d02b
Merge branch 'master' of https://github.com/profi200/Project_CTR.git
jakcron Feb 15, 2016
521ecb7
Fix CategoryFlags always being considered invalid
piratesephiroth Feb 15, 2016
b2206ea
Fix newline on cia_print()
luigoalma Feb 17, 2016
be46276
Merge pull request #28 from luigoalma/master
jakcron Feb 17, 2016
cedbe6d
Fixed array transfer bug.
jakcron Feb 18, 2016
925d129
Merge branch 'master' of https://github.com/profi200/Project_CTR.git
jakcron Feb 18, 2016
9dc611b
Fix CIA content hash validation fail.
jakcron Mar 20, 2016
cf2ba24
Added support for disabling padding between segments for code
yifanlu Mar 24, 2016
02159e1
Merge pull request #31 from yifanlu/master
jakcron Mar 25, 2016
65e6974
[makerom] Fix parsing of -content option
drizzt Apr 13, 2016
d3be7ad
Add seed DB access permission.
May 26, 2016
045d777
Merge pull request #36 from Steveice10/master
jakcron May 26, 2016
a8570b7
Merge pull request #33 from drizzt/master
jakcron Jun 14, 2016
bbf49e7
Merge pull request #27 from piratesephiroth/master
jakcron Jun 14, 2016
de5c4e1
License both ctrtool and makerom under MIT License.
jakcron Jun 14, 2016
01cd4cb
[ctrtool] Improved efficiency of aes-ctr operations.
jakcron Jun 14, 2016
b857754
[makerom] Warn user for not specifying any services, instead of error…
jakcron Jun 27, 2016
d24dda0
Fixes issue #39
jakcron Jul 9, 2016
02ee3b9
Fix build with gcc on some platforms.
Jul 20, 2016
d32f096
Merge pull request #40 from infinicore/master
jakcron Jul 21, 2016
7b384c6
[makerom] Do not include logo as a ncch region if it is included in t…
jakcron Oct 6, 2016
dc81220
Updated FIRM code in ctrtool according to 3dbrew/boot9. Removed -flto…
profi200 Jan 7, 2017
dfabf8d
Added unique ID range check in makerom. Removed -flto flag since this…
profi200 Jan 7, 2017
cf1a6fb
Fix a few warnings (excluding polarssl ones).
profi200 Jan 18, 2017
70e0d12
Fixed more warnings.
profi200 Jan 18, 2017
90dca52
Edited Makefile
CaptainSwag101 Jan 22, 2017
2b3bc5f
The '-micro' version arg no longer breaks the version number
CaptainSwag101 Jan 22, 2017
dbe3566
Revert "Edited Makefile"
CaptainSwag101 Jan 22, 2017
7dcc166
Merge pull request #47 from jpmac26/master
profi200 Feb 18, 2017
a521cd7
Cygwin support
May 17, 2017
5578ee4
Merge pull request #48 from Thog/cygwin
profi200 May 20, 2017
4c63561
ctrtool: Add support for inline decryption
SciresM May 19, 2017
876c197
Update .vcproj with new files
SciresM May 23, 2017
2267e6d
Merge pull request #49 from SciresM/master
jakcron May 24, 2017
fae366c
fixed subtle titlekey issue
Reisyukaku May 24, 2017
5c23014
Merge pull request #50 from Reisyukaku/master
jakcron May 24, 2017
183d95b
[ctrtool] fixed keygen add()/sub() functions
jakcron May 25, 2017
4f875b0
[makerom] Implemented support for secure crypto. Secure crypto is now…
jakcron May 25, 2017
6e858be
[makerom] Relaxed support for bad signatures (-ignoresign). Warns use…
jakcron May 28, 2017
7e4c0d7
[ctrtool] Replace specifying a specific seed, with a seeddb.
jakcron May 28, 2017
b0896ec
[makerom] Typo
jakcron May 28, 2017
d185b18
[ctrtool] fix bug with seeddb
jakcron May 28, 2017
5757ba2
[makerom] Fix encryption for production target.
jakcron May 28, 2017
de70592
[makerom] Unbroke -target t
jakcron May 28, 2017
7c08e89
Remove unwanted files
jakcron May 30, 2017
c629eb3
Added 11.3 and 11.4 system calls SetGpuProt and SetWifiEnabled. Also…
Myriachan Jun 3, 2017
4d5d958
Warning fix. Uninitialized variable shouldn't have happened because …
Myriachan Jun 3, 2017
3cca6a7
[ctrtool] Fix uninitialised variable warning.
jakcron Jun 5, 2017
56ef8b4
[ctrtool] Re-added "--seed" option, simplified/corrected common-key s…
jakcron Jun 5, 2017
b8b92d8
[ctrtool] Rewrote NCCH crypto. "--exefs" is still broken.
jakcron Jun 5, 2017
4cba5c8
Merge pull request #56 from Myriachan/syscalls-11_x
jakcron Jun 5, 2017
20f7084
[ctrtool] Fixed seed crypto.
jakcron Jun 6, 2017
b53b2ce
[ctrtool] Fix typo.
jakcron Jun 6, 2017
cbfa539
[ctrtool] Fix compiling on Visual Studio.
jakcron Jun 6, 2017
e5b79ba
[ctrtool] Catch failure to load ncch keyX properly.
jakcron Jun 6, 2017
b148428
[ctrtool] Fixed decryption of exefs.
jakcron Jul 12, 2017
61bf664
Always link compiler libs statically on Windows.
d0k3 Oct 29, 2017
bbd9a90
Merge pull request #63 from d0k3/patch-1
profi200 Oct 29, 2017
acb1103
[ctrtool] Fixes issue #60
jakcron Jan 12, 2018
148811d
makefile fix: make complains "Extraneous text after `else' directive"…
jonirrings May 15, 2018
060cb1c
Merge pull request #68 from letsdecrypt/master
profi200 May 15, 2018
046bb35
Always assume exheader is 1024 bytes long (#70)
khang06 Jun 3, 2018
52dbe5e
Only extract contents marked in the CIA content index.
Jul 7, 2018
9c32dde
Merge pull request #72 from Steveice10/master
jakcron Jul 7, 2018
f585df7
Fixed CFA handling which broke in commit 046bb359. Fixes #73.
profi200 Jul 28, 2018
b941838
[ctrtool] Fix ctrtool bug where content wouldn't extract.
jakcron Aug 20, 2018
7b0a7bf
Fix verifying incomplete DLC CIAs. (#76)
Oct 17, 2018
f19dea3
Create .appveyor.yml for CI
Margen67 Jul 27, 2019
3698f78
Merge pull request #81 from Margen67/appveyor
jakcron Aug 2, 2019
3083d87
Update .appveyor.yml
jakcron Aug 2, 2019
06d44bf
Revert changes
jakcron Aug 2, 2019
ce4f09b
Update README.md
jakcron Aug 3, 2019
501c171
Undo regression and re-add `-ckeyid` and `-ncchseckey`
jakcron Aug 13, 2019
2992453
Merge pull request #83 from jakcron/makerom-v0.16.1-dev
jakcron Aug 13, 2019
8cbeb74
Fix UTF-16 to UTF-8 conversion on non-Windows
muhmuhten Apr 8, 2020
fa56d1a
Merge pull request #88 from muhmuhten/master
jakcron Apr 8, 2020
b3cb4aa
Add version text to CTRTool.
3DSGuy Apr 28, 2020
e6baadf
Bump version to v0.16.2
jakcron Apr 28, 2020
81fb177
Change homebrew logo
Jhynjhiruu May 9, 2020
9211e6f
Merge pull request #89 from Jhynjhiruu/master
jakcron May 10, 2020
d9204e5
Update version string to 0.17
jakcron May 10, 2020
45f06e3
Add old homebrew logo under name "HomebrewLegacy"
jakcron May 10, 2020
2daa4a4
Merge pull request #90 from 3DSGuy/makerom-v0.17-dev
jakcron May 10, 2020
9f20fed
Remove references to appveyor
jakcron May 11, 2020
f33d66c
Add github actions
jakcron May 11, 2020
2629233
Merge pull request #91 from 3DSGuy/github-actions
jakcron May 11, 2020
85a0ba6
Update windows ctrtool makefile.
jakcron May 11, 2020
319c4c6
Merge pull request #92 from 3DSGuy/github-actions
jakcron May 11, 2020
6ebef3c
Add support for custom decrypted TitleKey
Jan 25, 2021
928d915
Respect content.encryptCia
Jan 26, 2021
24149fc
Override content.encryptCia when titlekey specified
Jan 26, 2021
73aeef1
Override content.encryptCia when titlekey specified
Jan 26, 2021
01ad8fb
Merge pull request #100 from xprism1/master
jakcron Jan 26, 2021
d8cede3
Update ticket definition for makerom.
jakcron Mar 27, 2021
c9a1988
build_master: Improvements
Margen67 May 3, 2021
b46b77b
Merge pull request #101 from Margen67/actions
jakcron Jun 15, 2021
b7ee685
Update README.md
jakcron Jul 21, 2021
416431c
Bump version number to v0.18
jakcron Nov 28, 2021
ef3a1bc
Remove old ctrtool source code.
jakcron Mar 12, 2022
cf1ec3d
Separate build scripts for MakeROM and CTRTool
jakcron Mar 12, 2022
74db020
Update gitignore
jakcron Mar 12, 2022
6ad2f13
Change title for MakeROM workflow
jakcron Mar 12, 2022
800f577
Add source code for ctrtool
jakcron Mar 12, 2022
5c72ce2
Add CTRTool build workflow
jakcron Mar 12, 2022
5f5f24a
Fix Build_CTRTool.yml
jakcron Mar 12, 2022
70f2531
Misc formatting logging text.
jakcron Mar 13, 2022
c57a691
Properly detect SMDH magic.
jakcron Mar 13, 2022
ec7f1b9
Try to fix Build_CTRTool.yml
jakcron Mar 13, 2022
85f0fea
Update makefiles
jakcron Mar 13, 2022
8dd17ce
Fix copy/paste bug in ctrtool makefile
jakcron Mar 13, 2022
90dd1ab
Fix copy-pasta mistake in libnintendo-n3ds makefile
jakcron Mar 13, 2022
dbd8c95
More makefile fixes
jakcron Mar 13, 2022
031d45c
Fix more mistakes in makefiles
jakcron Mar 13, 2022
51e3433
Revise usage text/handler
jakcron Mar 13, 2022
5f0186d
Change behaviour of TitleMetaDataDeserialiser to read only the length…
jakcron Mar 13, 2022
ea74ca4
Enable CiaProcess to fallback use certs to verify cert/tik/tmd.
jakcron Mar 13, 2022
30c11c9
Add support for processing tik/tmd files directly.
jakcron Mar 13, 2022
fb824ca
Comment debug text in umain()
jakcron Mar 13, 2022
4ded736
Add TikProcess and TmdProcess to VS project files.
jakcron Mar 13, 2022
b73d95e
Change -x/--extract option handling to be as a deprecated option.
jakcron Mar 14, 2022
d334300
Misc whitespace removal
jakcron Mar 14, 2022
f08c3a1
Remove "FS" view option from CciProcess as it was never going to be u…
jakcron Mar 14, 2022
8108bea
Use set.opt.info into *Process::setCliOutputMode() instead of hardcod…
jakcron Mar 14, 2022
54e8e31
Merge pull request #106 from 3DSGuy/ctrtool-rewrite
jakcron Mar 14, 2022
c861f0e
Update README.md
jakcron Mar 14, 2022
dd7c33e
[ctrtool] Fix common-key 05 init.
jakcron Mar 14, 2022
cc8a4d6
Bump version.
jakcron Mar 14, 2022
e3b8e32
Merge pull request #109 from 3DSGuy/ctrtool-fix-commonkey-05-init
jakcron Mar 15, 2022
986a8cd
Add readme and build instructions.
jakcron Mar 19, 2022
400a68e
Fix link to BUILDING.md
jakcron Mar 19, 2022
1684a3a
Correct documentation about automatic alignment padding.
jakcron Mar 27, 2022
5f58433
Fix issue where titleid was being read incorrectly when importing See…
jakcron Mar 28, 2022
359cc83
Merge pull request #112 from 3DSGuy/seeddb-not-import-fix
jakcron Mar 29, 2022
d9f9d4e
Bump patch version
jakcron Mar 29, 2022
cbc20b2
Honour opt.info when running CiaProcess
jakcron Mar 29, 2022
b1629a4
Fix bug when processing NCCH files directly, -p/--plain flag was not …
jakcron Mar 29, 2022
0715b3d
Add flag -q/--quiet to suppress non-errors.
jakcron Mar 29, 2022
97e956d
[BugFix] Honour exheader code compressed flag.
jakcron Mar 30, 2022
ea3b188
Bump patch version.
jakcron Mar 30, 2022
8876f0e
Merge pull request #115 from 3DSGuy/ctrtool-detect-compressed-code
jakcron Mar 30, 2022
eddbb3f
Merge branch 'master' into ctrtool-silence-output
jakcron Mar 30, 2022
e7d8729
(ctrtool::CciProcess) Emit errors/warns/logs in a consistent manner.
jakcron Mar 30, 2022
6509b43
(ctrtool::CiaProcess) Emit errors/warns/logs in a consistent manner.
jakcron Mar 30, 2022
4652a08
(ctrtool::CrrProcess) Emit errors/warns/logs in a consistent manner.
jakcron Mar 31, 2022
f79a566
When verifying CIA cert/tik/tmd, preference certchain over keybag.
jakcron Mar 31, 2022
7798ddd
(ctrtool::ExeFsProcess) Emit errors/warns/logs in a consistent manner.
jakcron Mar 31, 2022
a1f86a6
Add support for processing InitialData CryptoTypes 1-2
jakcron Apr 11, 2022
5c584f4
Bump version.
jakcron Apr 11, 2022
5840526
Merge pull request #117 from 3DSGuy/ctrtool-cci-initialdata-fix
jakcron Apr 11, 2022
6ce5653
Merge branch 'master' into ctrtool-silence-output
jakcron Apr 12, 2022
60334cd
Don't silence verbosity with -q/--quiet
jakcron Apr 12, 2022
c0ce043
Emit errors/warns/logs in a consistent manner.
jakcron Apr 12, 2022
247045b
Extraction progress logs are now only shown in verbose mode.
jakcron Apr 14, 2022
be13942
Tag error output as [ctrtool::ClassName ERROR], leaving warnings/prog…
jakcron Apr 15, 2022
e1a6f91
Bump version to v1.1.0
jakcron Apr 15, 2022
8a9f9bd
Merge pull request #118 from 3DSGuy/ctrtool-silence-output
jakcron Apr 15, 2022
cc707c1
Modernize MakeROM build system + bug fixes (#120)
jakcron Apr 17, 2022
ea52a5d
Update README.md
jakcron Apr 17, 2022
e9a830f
[MakeROM] Fix InitialData generation bugs (#121)
jakcron Apr 17, 2022
b0783b4
Update README.md
jakcron Apr 17, 2022
ac9c607
Update makefiles to address impl func warnings on linux. (#123)
jakcron Apr 22, 2022
92a4b5f
Update README.md for makerom v0.18.3 release.
jakcron Apr 22, 2022
334f6f0
[CTRTool] Honour plain flag when processing CIA files. (#126)
jakcron Jun 19, 2022
3d09130
Update for 9.6 CCI changes (#135)
liamadvance Mar 19, 2023
b7889c3
Remove incorrect ExeFS header hash validation. (#137)
Mar 31, 2023
7e645b2
[ctrtool] Bump version to 1.2.0
jakcron Apr 1, 2023
ea2390d
[makerom] Change elf processing to no longer strictly require data se…
jakcron Sep 30, 2023
c0488dc
[makerom] Bump version to 0.18.4
jakcron Sep 30, 2023
681d17d
Add necessary features for LgyBg and Process9 development (#151)
TuxSH Jul 20, 2024
b7b6219
Add usage help for -baremetal & -pagesize
jakcron Jul 20, 2024
6337c49
Define constants in baremetal processing of elf file
jakcron Jul 20, 2024
f5f2d9c
[ctrtool] support more prototype CXIs (#154)
Wack0 Dec 28, 2024
35aa9ff
Bump GH Workflows
jakcron Dec 28, 2024
06ac1b8
Bump CTRTool version to v1.2.1 for release
jakcron Dec 28, 2024
745fc4f
makerom: Fix too much file handle cause memory leak (#153)
R-YaTian Dec 29, 2024
1ea3c5b
Further tweaks to CIA generation for #153
jakcron Dec 29, 2024
02f2411
Bump makerom version to 0.18.5
jakcron Dec 29, 2024
4339ba0
Fix inability to parse TMDs with >1024 contents (#161)
ZeroSkill1 Aug 24, 2025
f55e0fb
[ctrtool] When processing tickets, skip over out-of-range content ind…
jakcron Aug 24, 2025
66c90cf
Add support for New3DS bit in Title ID (#162)
ZeroSkill1 Jan 18, 2026
a4c7d25
Bump CTRTool version to v1.3.0
jakcron Jan 18, 2026
b6e54bb
[makerom] Move version & labels from user_Settings.c to version.h
jakcron Jan 18, 2026
e8f5f52
[makerom] Bump version to 0.19.0
jakcron Jan 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
72 changes: 72 additions & 0 deletions .github/workflows/Build_CTRTool.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Compile CTRTool (on master branch)

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
release:
types: [ created ]

jobs:
build_makefile:
name: Compile ${{ matrix.prog }} for ${{ matrix.dist }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
dist: [ubuntu_x86_64, macos_x86_64, macos_arm64]
prog: [ctrtool]
include:
- dist: ubuntu_x86_64
os: ubuntu-latest
arch: x86_64
- dist: macos_x86_64
os: macos-latest
arch: x86_64
- dist: macos_arm64
os: macos-latest
arch: arm64
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Compile ${{ matrix.prog }}
working-directory: ${{ matrix.prog }}
run: make PROJECT_PLATFORM_ARCH=${{ matrix.arch }} deps all
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.prog }}-${{ matrix.dist }}
path: ./${{ matrix.prog }}/bin/${{ matrix.prog }}
if-no-files-found: error
build_visualstudio:
name: Compile ${{ matrix.prog }} for ${{ matrix.dist }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
dist: [win_x64, win_x86]
prog: [ctrtool]
include:
- dist: win_x64
os: windows-latest
platform: x64
configuration: Release
build_path: x64\Release
- dist: win_x86
os: windows-latest
platform: x86
configuration: Release
build_path: Release
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Compile ${{ matrix.prog }}
run: msbuild .\${{ matrix.prog }}\build\visualstudio\${{ matrix.prog }}.sln /p:configuration=${{ matrix.configuration }} /p:platform=${{ matrix.platform }}
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.prog }}-${{ matrix.dist }}
path: .\${{ matrix.prog }}\build\visualstudio\${{ matrix.build_path }}\${{ matrix.prog }}.exe
if-no-files-found: error

45 changes: 45 additions & 0 deletions .github/workflows/Build_MakeROM.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Compile MakeROM (on master branch)

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
release:
types: [ created ]
workflow_dispatch:

jobs:
build:
name: Compile ${{ matrix.prog }} for ${{ matrix.dist }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
dist: [ubuntu_x86_64, macos_x86_64, macos_arm64, win_x86_64]
prog: [makerom]
include:
- dist: ubuntu_x86_64
os: ubuntu-latest
arch: x86_64
- dist: macos_x86_64
os: macos-latest
arch: x86_64
- dist: macos_arm64
os: macos-latest
arch: arm64
- dist: win_x86_64
os: windows-latest
arch: x86_64
binExt: .exe
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Compile ${{ matrix.prog }}
working-directory: ${{ matrix.prog }}
run: make PROJECT_PLATFORM_ARCH=${{ matrix.arch }} deps all
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.prog }}-${{ matrix.dist }}
path: ./${{ matrix.prog }}/bin/${{ matrix.prog }}${{ matrix.binExt }}
if-no-files-found: error
Loading