Skip to content

Conversation

@linoal
Copy link
Contributor

@linoal linoal commented May 9, 2025

前:GitHub ActionsのUbuntuランナーのバージョンが古いためにCIが落ちていた。
今:Ubuntuバージョンを更新して落ちないようにした。

Summary by CodeRabbit

  • ドキュメント

    • READMEのLinux推奨バージョンをUbuntu 24.04に更新しました。
  • チョア

    • ビルドやCIワークフローで使用するUbuntuバージョンを20.04から24.04に変更しました。
    • Visual Studioのバージョン指定を新しくしました。
    • サブモジュールのglTF-SDK参照先を更新しました。
    • Linuxビルド環境でのC++コンパイラ設定の一部を削除しました。
  • リファクタ

    • 固定幅整数型利用のため、ヘッダーファイルにのインクルードを追加しました。

@coderabbitai
Copy link

coderabbitai bot commented May 9, 2025

Walkthrough

この変更は、CI/CDワークフローとドキュメントにおいて、Ubuntu 20.04からUbuntu 24.04への移行を行い、関連するビルド設定やパス、READMEの記述を更新しています。また、C++ヘッダーのインクルード修正やサブモジュールのコミット更新も含まれています。

Changes

ファイル・グループ 変更内容の概要
.github/actions/build/action.yml Linuxランナーでg++-9を明示的に設定するステップを削除。
.github/workflows/build-and-test.yml
.github/workflows/check-submodule-license.yml
.github/workflows/upload-dlls-older-visual-studio.yml
.github/workflows/upload-dlls.yml
ワークフローのUbuntuランナーを20.04から24.04に変更。必要に応じてアーティファクトパスやVisual Studioバージョンも更新。
README.md Linuxの推奨ディストリビューションをUbuntu 20.04から24.04に更新。
3rdparty/glTF-SDK/glTF-SDK サブモジュール参照コミットを更新。
include/plateau/dataset/city_model_package.h <cstdint>ヘッダーを追加し、固定幅整数型の利用を明示。

Sequence Diagram(s)

sequenceDiagram
    participant Developer
    participant GitHub Actions
    participant Ubuntu 24.04 Runner

    Developer->>GitHub Actions: Push/PRをトリガー
    GitHub Actions->>Ubuntu 24.04 Runner: ワークフロー実行(build/test/upload等)
    Ubuntu 24.04 Runner-->>GitHub Actions: 結果を返す
    GitHub Actions-->>Developer: ステータス通知
Loading

Poem

🐇
Ubuntu新時代、二十四の春、
READMEもワークフローも、みんなでお引越し。
サブモジュールもピカピカに、
cstdintで型も安心。
うさぎも跳ねて、ビルドは快調!

Tip

⚡️ Faster reviews with caching
  • CodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure Review - Disable Cache at either the organization or repository level. If you prefer to disable all data retention across your organization, simply turn off the Data Retention setting under your Organization Settings.

Enjoy the performance boost—your workflow just got faster.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 01acd8b and 77777f3.

📒 Files selected for processing (8)
  • .github/actions/build/action.yml (0 hunks)
  • .github/workflows/build-and-test.yml (1 hunks)
  • .github/workflows/check-submodule-license.yml (1 hunks)
  • .github/workflows/upload-dlls-older-visual-studio.yml (4 hunks)
  • .github/workflows/upload-dlls.yml (3 hunks)
  • 3rdparty/glTF-SDK/glTF-SDK (1 hunks)
  • README.md (1 hunks)
  • include/plateau/dataset/city_model_package.h (1 hunks)
💤 Files with no reviewable changes (1)
  • .github/actions/build/action.yml
⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: build-and-test (windows-2022, x86_64)
  • GitHub Check: build-and-test (ubuntu-24.04, x86_64)
  • GitHub Check: build-and-test (macos-14, arm64)
🔇 Additional comments (12)
include/plateau/dataset/city_model_package.h (1)

4-4: 適切なヘッダ追加
uint32_t を利用するために <cstdint> をインクルードしており、ビルドエラーを回避しています。

3rdparty/glTF-SDK/glTF-SDK (1)

1-1: サブモジュール glTF-SDK のコミット参照更新

glTF-SDK サブモジュールのコミットを新しい 4888f0a386e174af6170c3c53b3396945f4a65a0 に切り替えています。CI 環境更新と整合しており、依存関係の整合性確保として適切です。

.github/workflows/check-submodule-license.yml (1)

18-18: Ubuntu ランナーを ubuntu-24.04 に更新
GitHub Actions が ubuntu-24.04 ランナーをサポートしているか公式ドキュメントでご確認ください。

.github/workflows/build-and-test.yml (1)

27-27: マトリックスに ubuntu-24.04 を追加
Unity LTS 対応の環境に合わせた更新として妥当です。

README.md (1)

132-132: Linux 推奨版を Ubuntu 24.04 に更新
手動ビルドで指定する Linux バージョンが正しく反映されています。

.github/workflows/upload-dlls.yml (3)

26-26: Ubuntu ランナーを 24.04 に更新
ジョブマトリックスで ubuntu-24.04 が正しく設定されています。アーティファクト生成時のパス名とも一貫性があるかご確認を。


104-104: 動的ライブラリのパスを 24.04 に更新
~/a/libplateau-ubuntu-24.04/*.so への変更が一貫して適用されています。


117-117: 静的ライブラリのパスを 24.04 に更新
~/a/libplateau-ubuntu-24.04/*.a への変更が期待通りです。

.github/workflows/upload-dlls-older-visual-studio.yml (4)

23-23: Ubuntu ランナーを 24.04 に更新
レガシーワークフローでも ubuntu-24.04 に統一されています。


46-46: Visual Studio バージョンを 17 (2022) に更新
アップロードアクションが VS2022 をサポートしているかご確認ください。


101-101: 動的ライブラリのパスを 24.04 に更新
Legacy ワークフローでも /libplateau-ubuntu-24.04/*.so が適用されています。


113-113: 静的ライブラリのパスを 24.04 に更新
Legacy ワークフローでも /libplateau-ubuntu-24.04/*.a へ変更済みです。

README.md Outdated
利用する Linux は、Unityの対応OSに合わせて Ubuntu 20.04 とします。
利用する Linux は、Unityの対応OSに合わせて Ubuntu 24.04 とします。
#### C++のビルド
* Ubuntu 20 はデフォルトでは git lfs がないので、`sudo apt install git-lfs` します。
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Ubuntu 20 の言及を 24.04 に更新
手動ビルド手順で「Ubuntu 20 はデフォルトでは git lfs がないので」とありますが、Ubuntu 24.04 に合わせて更新が必要です。

- * Ubuntu 20 はデフォルトでは git lfs がないので、`sudo apt install git-lfs` します。
+ * Ubuntu 24.04 はデフォルトでは git lfs がないので、`sudo apt install git-lfs` します。
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
* Ubuntu 20 はデフォルトでは git lfs がないので、`sudo apt install git-lfs` します。
* Ubuntu 24.04 はデフォルトでは git lfs がないので、`sudo apt install git-lfs` します。
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

134-134: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

♻️ Duplicate comments (1)
README.md (1)

132-132: Ubuntuバージョンの更新: 24.04への置換確認
Ubuntu 20.04の言及がUbuntu 24.04に正しく更新されています。

🧹 Nitpick comments (1)
README.md (1)

134-134: 箇条書きスタイルの一貫性
リストの箇条書きにおいて、他の箇条書き(ダッシュ)とスタイルを統一するため、アスタリスク(*)ではなくダッシュ(-)を使用してください。

- * Ubuntuでgit lfsを使うために`sudo apt install git-lfs` します。
+ - Ubuntuでgit lfsを使うために`sudo apt install git-lfs` します。
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

134-134: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 77777f3 and 1b118be.

📒 Files selected for processing (1)
  • README.md (1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
README.md

134-134: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)

⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: build-and-test (ubuntu-24.04, x86_64)
  • GitHub Check: build-and-test (macos-14, arm64)
  • GitHub Check: build-and-test (windows-2022, x86_64)

@linoal linoal merged commit 5e5641f into dev/v4 May 9, 2025
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants