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
Are APIs Still Relevant in the AI Era?
soyuka
0
400
Verilogで学ぶCPU自作入門.pdf
uyuki234
7
3.9k
AHC070解法紹介
eijirou
0
150
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
380
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
5.3k
iOSDC2026登壇資料.pdf
riofujimon
0
200
Security issues being discussed on Web Platforms
petamoriken
0
1.4k
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.7k
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
320
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
330
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.1k
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
250
Featured
See All Featured
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
310
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
500
Deep Space Network (abreviated)
tonyrice
0
350
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
750
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Writing Fast Ruby
sferik
630
63k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
300
Art, The Web, and Tiny UX
lynnandtonic
304
22k
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つおい • 精神を安定させて開発をしていこう
おわり