Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Unity開発でCI/CDを使おうと思った時
Search
あるど
February 20, 2019
Programming
1.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Unity開発でCI/CDを使おうと思った時
https://noengineering-nolife.connpass.com/event/119866/
あるど
February 20, 2019
More Decks by あるど
See All by あるど
Unity WebGL向けにjsでネイティブプラグイン書いた話
mizotake
0
530
OSSをゆるっとやるだけでも 楽しいなって話
mizotake
2
4.4k
手軽なトラッキング技術で遊んでみた
mizotake
0
3.9k
GitHub_Actionsをセルフホストランナーで導入する
mizotake
0
4.1k
Kotlin/Native With Unity
mizotake
1
310
Other Decks in Programming
See All in Programming
最近”作らせてる” ローカルAIアプリの話
akit37
0
270
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
380
dotNET_vulnclicker_intro.pdf
deka_morita
0
110
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
450
Domain-Driven Transformation
hschwentner
2
2.3k
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
1
2.2k
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
630
The Rails Doctrine Decade
koic
2
520
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
120
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
190
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
320
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
7.9k
Featured
See All Featured
Six Lessons from altMBA
skipperchong
29
4.5k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
YesSQL, Process and Tooling at Scale
rocio
174
15k
WCS-LA-2024
lcolladotor
0
850
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
790
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
sira's awesome portfolio website redesign presentation
elsirapls
0
440
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
540
Become a Pro
speakerdeck
PRO
31
6.3k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
840
Transcript
Unity開発でCI/CDを 使おうと思った時 失敗LT祭! 〜俺の話を聞いてくれ〜 2019/02/20
自己紹介 • あるど(24) @OrangeGKeeper • 色々なことをやってる会社に勤務 ◦ Smartphone team Engineer
◦ 最終出社日2/28 • 好きなVtuberはMonterZ MATE • 好きなVライバーは空兎ヨル
趣味でゲームやコンテンツを開発
失敗した話
その前に
会社に入ってから気付くこと アプリの自動ビルドや自動配信便利!
趣味はUnityばかりで開発するんだけど… 出来れば無料CI/CDでやりたい!
UnityのCI情報はオンプレCI/CDの Jenkinsばかり…でも、やるか!
2006年代のiMacで運用 Jenkins機 開発機
Jenkinsを自宅で運用したら 電気代が約3,000円増えた件
このままじゃだめだ…! Cloud CI/CDに変えよう…
Unity Cloud Build https://unity3d.com/jp/unity/features/cloud-build
Unity Cloud Build • Unity公式CI/CDツール • 2018/01より有償化 ◦ 最低でもUnity Teamsへの加入が必要(月々$9)
• Build Platform ◦ スマホ(iOS/Android) ◦ WebGL ◦ デスクトップ(Windows/MacOS/Linux)
yml定義とかで使えるものないかな
GitLab CI/CD https://about.gitlab.com/product/continuous-integration/
GitLab CI/CD • gableroux/unity3d-gitlab-ci-example • UnityでのCI/CDをGitLabでやっている方がいる • さらにはTravisサポートまで! • featureでCircleCIを含めている
• DockerHubにてUnityを含んだLinuxのDockerfileを 公開してくれている gableroux/unity3d • 無料プランは1ヶ月2,000分のPipelineを回す時間が 与えられる
CircleCI https://circleci.com/
CircleCI • CircleCIでUnityのTest&Buildを雰囲気理解で走らせ た 記事書きました。 • 無料プランは1ヶ月1,000分の時間制限がある • unity3d-gitlab-ci-example を参考にCircleCIで
fastlaneを使ったAndroidビルドできました PullRequestも送ってみた • iOSは検証環境を持ってないので…いつか…
CircleCI CI/CDはやはり精神安定剤
おまけ失敗: 初めてforkした https://github.com/MizoTake/unity3d-ci-example
おまけ失敗: 初めてforkした 手元のリポジトリでPR作ろうとしたら間違えた デフォルトで本家にPR行くようになっていた
おまけ失敗: 初めてforkした
CircleCIのビルドからわかったこと • gableroux/unity3d のDockerデータがあれば大体ど の環境でも動かせる ◦ TagでMoble用(iOS/Android)もある • UnityのLicenseさえ通せばなんとでもなる •
ここまで全てCommand Line解決できる
ということは別のCI/CD環境で も応用は全然できそう
Azure Pipelines https://azure.microsoft.com/ja-jp/services/devops/pipelines/
Azure Pipelines • オープンソースなら並列ジョブを10まで回せる ◦ 時間制限なし ◦ Linux, macOS, Windowsの環境を選べる
• GUIでワークフロー構築ができる ◦ もちろんymlも可 ➔ 趣味なら全然良さそう
まとめ • Cloud CI/CDサービスがやはりメンテや電気代の面 で良い(迫真) • forkした後にPR作るときはマージ先を確認(永遠に残 る) • UnityだからCI/CDをやり辛いなどはない
• Azure Pipelinesつおい • 精神を安定させて開発をしていこう
おわり