o-jill / ruversi

reversi program.
https://o-jill.github.io/ruversi/
1 stars 0 forks source link

Actionsでmacos #135

Open o-jill opened 2 weeks ago

o-jill commented 2 weeks ago

MacOSでの実行ができるようになったらしいので対応してみましょう。

GitHub Actions: Introducing the new M1 macOS runner available to open source! https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/

GitHub Actions で M1 macOS ランナーが public リポジトリで無料に使えるようになりました https://zenn.dev/cybozu_ept/articles/productivity-weekly-20240131#github-actions-%E3%81%A7-m1-macos-%E3%83%A9%E3%83%B3%E3%83%8A%E3%83%BC%E3%81%8C-public-%E3%83%AA%E3%83%9D%E3%82%B8%E3%83%88%E3%83%AA%E3%81%A7%E7%84%A1%E6%96%99%E3%81%AB%E4%BD%BF%E3%81%88%E3%82%8B%E3%82%88%E3%81%86%E3%81%AB%E3%81%AA%E3%82%8A%E3%81%BE%E3%81%97%E3%81%9F

o-jill commented 1 week ago

ジョブのランナーを選択する https://docs.github.com/ja/actions/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job

o-jill commented 1 week ago

macで/proc/cpuinfoは存在しないので注意。 /proc/cpuinfoがあるかないかでcpu情報の出力方法を切り替えるのもあり?