commit e65fc9476d5a78e32a56c195b81ac3ab7ffd5473
Author: jtothebell <j.to.the.bell@gmail.com>
AuthorDate: Wed Mar 10 07:53:19 2021 -0700
Commit: jtothebell <j.to.the.bell@gmail.com>
CommitDate: Wed Mar 10 07:53:19 2021 -0700
first stab at cia build
---
.github/workflows/build.yml | 1 +
.github/workflows/build3ds.sh | 11 ++++++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index db98d70..fdd5203 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -26,6 +26,7 @@ jobs:
name: Nintendo 3DS
path: |
platform/3ds/*.3dsx
+ platform/3ds/*.cia
second:
name: Switch
diff --git a/.github/workflows/build3ds.sh b/.github/workflows/build3ds.sh
index 4f6341c..ab6d08a 100644
--- a/.github/workflows/build3ds.sh
+++ b/.github/workflows/build3ds.sh
@@ -1,10 +1,19 @@
source /etc/profile.d/devkit-env.sh
+apt-get update && apt-get install p7zip-full -y
+
cd /build_dir
#todo: build makerom and bannertool to also build cia
+export ctr_ver=16
+curl -LJO https://github.com/jakcron/Project_CTR/releases/download/v0."$ctr_ver"/makerom_0"$ctr_ver"_ctrtool.zip
+7z e makerom_0"$ctr_ver"_ctrtool.zip -o/usr/bin Ubuntu/makerom
+7z e makerom_0"$ctr_ver"_ctrtool.zip -o/usr/bin Ubuntu/ctrtool
+chmod +x /usr/bin/makerom && chmod +x /usr/bin/ctrtool
#Build 3dsx
make 3ds
-#todo: copy artifacts for uploading
+#Build cia
+make cia
+