Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
7805d6a
CI experimental
bubio Aug 11, 2025
83621b7
CI exp for mac
bubio Aug 11, 2025
d45fd15
CI Exp for macOS 15/Xcode 16.4
bubio Aug 11, 2025
6aedf86
change upload file app to dmg
bubio Aug 11, 2025
4ebb20c
Add X86 build (mac)
bubio Aug 11, 2025
1d0c25e
fix error
bubio Aug 11, 2025
52efcf6
rename dmg
bubio Aug 11, 2025
3d81f12
test
bubio Aug 11, 2025
1774f9d
add linux x86_64 build
bubio Aug 11, 2025
be67f91
add windows
bubio Aug 11, 2025
4253787
fix sdl error
bubio Aug 11, 2025
434b215
Change artifacts zip
bubio Aug 11, 2025
8c19a6e
fix zip in zip
bubio Aug 11, 2025
02720d4
fix windows zip error
bubio Aug 11, 2025
3af9887
fix zip in zip
bubio Aug 11, 2025
7d9ece2
Add Linux AppImage
bubio Aug 12, 2025
b779e73
Add android build
bubio Aug 12, 2025
cfc34fc
fix runner
bubio Aug 12, 2025
902e48f
android release build
bubio Aug 13, 2025
df27b48
fix android build error
bubio Aug 13, 2025
d7cc8e2
fix code sign error
bubio Aug 13, 2025
b335f18
fix error
bubio Aug 14, 2025
64b02c0
rename apk
bubio Aug 14, 2025
55b5f67
Add Raspberry PI build
bubio Aug 14, 2025
b0c2aca
fix pi build error
bubio Aug 14, 2025
fa76af4
update armhf build
bubio Aug 14, 2025
1b87b1d
Don't give up!
bubio Aug 14, 2025
c59bb98
This time for sure!
bubio Aug 14, 2025
ce50141
mac build again
bubio Aug 15, 2025
91eeec3
OK?
bubio Aug 15, 2025
a637336
test macOS build
bubio Aug 15, 2025
d897264
again
bubio Aug 15, 2025
d3d9c49
fix codesign
bubio Aug 15, 2025
f122fce
try non codesine
bubio Aug 15, 2025
68c9cdd
x64 mac build test
bubio Aug 16, 2025
a345945
return macos-13
bubio Aug 16, 2025
756b6de
challenge macos universal
bubio Aug 16, 2025
3de07b1
all build test
bubio Aug 16, 2025
5c46eee
all build test2
bubio Aug 16, 2025
74d15b3
linux build change
bubio Aug 16, 2025
339fde4
linux build
bubio Aug 16, 2025
9207c02
Linux use system SDL2
bubio Aug 17, 2025
0af08ec
Organize cmake
bubio Aug 17, 2025
93a83b5
final confirmation
bubio Aug 17, 2025
1dcc905
バージョン変更
bubio Aug 17, 2025
cc31966
Fix AppImage release failed
bubio Aug 17, 2025
777f4ad
Fix macOS release failed
bubio Aug 17, 2025
580015e
ARMビルドを追加
bubio Aug 22, 2025
59a301a
test arm build
bubio Aug 23, 2025
62dd5cf
test build linux arm appimage
bubio Aug 23, 2025
a077e84
Test Windows arm build
bubio Aug 23, 2025
5c5ebf3
Merge branch 'dev' of github.com:bubio/xm8mac into dev
bubio Aug 23, 2025
b6b766a
Add SDL2 Build for Arm64
bubio Aug 24, 2025
130220f
.gitignote
bubio Aug 24, 2025
d9ed963
Test Windows Arm build
bubio Aug 24, 2025
e0ec641
Fix SDL Source code download error
bubio Aug 24, 2025
3c01d8b
Fix Build error
bubio Aug 24, 2025
95db744
Fix XM8 Windows Arm build error
bubio Aug 24, 2025
ab32b05
[Windows]Delete Arm32, Add Arm64
bubio Aug 24, 2025
ce4d826
Merge branch 'dev' of https://github.com/bubio/xm8mac into dev
bubio Aug 24, 2025
c153fb0
update project
bubio Aug 24, 2025
bae9cda
Integrate Windows CI
bubio Aug 24, 2025
a6dc6ff
Fix Windows Build Error
bubio Aug 24, 2025
ee36af1
Merge branch 'dev' of https://github.com/bubio/xm8mac into dev
bubio Aug 24, 2025
2f0cd1c
Change action name
bubio Aug 24, 2025
526c6b9
Fix Windows Arm Runtime error
bubio Aug 24, 2025
5cabc6d
All build
bubio Aug 24, 2025
32c3a08
Update README
bubio Aug 24, 2025
0c0f663
Enable SDL2 build cache
bubio Aug 24, 2025
810643e
Build Linux Arm appimage
bubio Aug 26, 2025
1e47285
Update README
bubio Sep 3, 2025
25440bd
Update version
bubio Sep 3, 2025
1bd697f
Merge branch 'main' into dev
bubio Sep 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions .github/obsolete/Windows_arm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Windows arm

on:
push:
branches:
- dev
- main
paths-ignore:
- '*.md'
- 'Documents/**'
pull_request:
types: [opened, synchronize]
paths-ignore:
- '*.md'
- 'Documents/**'
release:
types: [published]
paths-ignore:
- '*.md'
- 'Documents/**'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: windows-11-arm

steps:
- name: Checkout repository
uses: actions/checkout@v4

# SDL2 のセットアップをスクリプトで実行
- name: Setup SDL2
shell: pwsh
working-directory: Builder/Windows
run: .\setup_sdl2.ps1

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2

- name: Setup Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1

# ARM ビルド
- name: Build XM8 (ARM)
run: msbuild Builder/Windows/XM8.sln /p:Configuration=Release /p:Platform=ARM64

- name: Collect Artifacts
run: |
New-Item -ItemType Directory -Path artifacts_arm -Force | Out-Null
Copy-Item Builder/Windows/ARM64/Release/XM8.exe artifacts_arm/ -Force
Copy-Item Builder/Windows/ARM64/Release/SDL2.dll artifacts_arm/ -Force

- name: Upload Artifacts (XM8_Windows_arm)
uses: actions/upload-artifact@v4
with:
name: XM8_Windows_arm
path: artifacts_arm/

- name: Package Windows Artifacts
if: ${{ github.event_name == 'release' && !env.ACT }}
shell: pwsh
run: |
Compress-Archive -Path artifacts_arm/* -DestinationPath XM8_Windows_arm.zip -Force

- name: Update Release arm
if: ${{ github.event_name == 'release' && !env.ACT }}
uses: svenstaro/upload-release-action@v2
with:
file: XM8_Windows_arm.zip
overwrite: true
14 changes: 12 additions & 2 deletions .github/workflows/Android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,25 @@ jobs:
run: |
yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "ndk;23.2.8568313"

- name: Cache SDL2
id: cache-sdl2
uses: actions/cache@v4
with:
path: |
Builder/Android/app/jni/SDL
Builder/Android/app/src/main/java/org/libsdl
key: ${{ runner.os }}-android-sdl2-${{ hashFiles('Builder/Android/setup_sdl2.sh') }}
restore-keys: |
${{ runner.os }}-android-sdl2-

- name: Setup SDL2
if: steps.cache-sdl2.outputs.cache-hit != 'true'
working-directory: Builder/Android
run: ./setup_sdl2.sh

- name: Build with Gradle
working-directory: Builder/Android
run: |
# 今回は、Secrets が設定されいなければ署名なしのapkファイルが作成されるよう判定処理をいれています。
# 確実に署名させたいのであれば、判定処理を外すことで署名エラーとしてしまってもよいと思います。
if [[ -n "${{ secrets.KEYSTORE_BASE64 }}" ]]; then
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > release.keystore
export KEYSTORE_PASSWORD="${{ secrets.KEYSTORE_PASSWORD }}"
Expand Down
71 changes: 71 additions & 0 deletions .github/workflows/Linux_arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Linux arm64

on:
push:
branches:
- dev
- main
paths-ignore:
- '*.md'
- 'Documents/**'
pull_request:
types: [opened, synchronize]
paths-ignore:
- '*.md'
- 'Documents/**'
release:
types: [published]
paths-ignore:
- '*.md'
- 'Documents/**'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-22.04-arm

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install dependency
run: sudo apt-get update && sudo apt-get install -y libsdl2-dev

- name: Build XM8 Linux app
run: |
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCPACK=ON -DCMAKE_INSTALL_PREFIX=/usr
cmake --build build -j 2 --target package
rpm_file=$(ls build/xm8*.rpm)
deb_file=$(ls build/xm8*arm64.deb)
mv "$rpm_file" build/XM8_Linux_arm64.rpm
mv "$deb_file" build/XM8_Linux_arm64.deb

- name: Upload build artifact rpm
uses: actions/upload-artifact@v4
with:
name: XM8_Linux_arm64.rpm
path: build/XM8_Linux_arm64.rpm

- name: Upload build artifact deb
uses: actions/upload-artifact@v4
with:
name: XM8_Linux_arm64.deb
path: build/XM8_Linux_arm64.deb

- name: Update Release rpm
if: ${{ github.event_name == 'release' && !env.ACT }}
uses: svenstaro/upload-release-action@v2
with:
file: build/XM8_Linux_arm64.rpm
overwrite: true

- name: Update Release deb
if: ${{ github.event_name == 'release' && !env.ACT }}
uses: svenstaro/upload-release-action@v2
with:
file: build/XM8_Linux_arm64.deb
overwrite: true
49 changes: 49 additions & 0 deletions .github/workflows/Linux_arm64_AppImage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Linux arm64 AppImage

on:
push:
branches:
- dev
paths-ignore:
- '*.md'
- 'Documents/**'
release:
types: [published]
paths-ignore:
- '*.md'
- 'Documents/**'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-22.04-arm

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install dependency
run: sudo apt-get update && sudo apt-get install -y libsdl2-dev

- name: Build XM8 Linux app
run: |
cd Builder/Linux
./AppImage_arm64.sh

- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: XM8_Linux_arm64.appimage
path: Builder/Linux/*.appimage

- name: Update Release
if: ${{ github.event_name == 'release' && !env.ACT }}
uses: svenstaro/upload-release-action@v2
with:
file: Builder/Linux/XM8_Linux_arm64.appimage
overwrite: true

126 changes: 126 additions & 0 deletions .github/workflows/Windows_x86_x64_arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
name: Windows x86/x64/ARM64 Build

on:
push:
branches:
- dev
- main
paths-ignore:
- '*.md'
- 'Documents/**'
pull_request:
types: [opened, synchronize]
paths-ignore:
- '*.md'
- 'Documents/**'
release:
types: [published]
paths-ignore:
- '*.md'
- 'Documents/**'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: windows-2022

steps:
- name: Checkout repository
uses: actions/checkout@v4

# SDL2 のセットアップをキャッシュし、必要ならスクリプトで実行
- name: Cache SDL2
id: cache-sdl2
uses: actions/cache@v4
with:
path: Builder/Windows/SDL2
key: ${{ runner.os }}-sdl2-${{ hashFiles('Builder/Windows/setup_sdl2.ps1') }}
restore-keys: |
${{ runner.os }}-sdl2-

- name: Setup SDL2
if: steps.cache-sdl2.outputs.cache-hit != 'true'
shell: pwsh
working-directory: Builder/Windows
run: .\setup_sdl2.ps1

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2

- name: Setup Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1

# x64 ビルド
- name: Build XM8 (x64)
run: msbuild Builder/Windows/XM8.sln /p:Configuration=Release /p:Platform=x64

# Win32 ビルド
- name: Build XM8 (Win32)
run: msbuild Builder/Windows/XM8.sln /p:Configuration=Release /p:Platform=Win32

# ARM64 ビルド
- name: Build XM8 (ARM64)
run: msbuild Builder/Windows/XM8.sln /p:Configuration=Release /p:Platform=ARM64

- name: Collect Artifacts
run: |
New-Item -ItemType Directory -Path artifacts_x64 -Force | Out-Null
Copy-Item Builder/Windows/x64/Release/XM8.exe artifacts_x64/ -Force
Copy-Item Builder/Windows/x64/Release/SDL2.dll artifacts_x64/ -Force
New-Item -ItemType Directory -Path artifacts_Win32 -Force | Out-Null
Copy-Item Builder/Windows/Win32/Release/XM8.exe artifacts_Win32/ -Force
Copy-Item Builder/Windows/Win32/Release/SDL2.dll artifacts_Win32/ -Force
New-Item -ItemType Directory -Path artifacts_ARM64 -Force | Out-Null
Copy-Item Builder/Windows/ARM64/Release/XM8.exe artifacts_ARM64/ -Force
Copy-Item Builder/Windows/ARM64/Release/SDL2.dll artifacts_ARM64/ -Force

- name: Upload Artifacts (XM8_Windows_x86_64)
uses: actions/upload-artifact@v4
with:
name: XM8_Windows_x86_64
path: artifacts_x64/

- name: Upload Artifacts (XM8_Windows_x86_32)
uses: actions/upload-artifact@v4
with:
name: XM8_Windows_x86_32
path: artifacts_Win32/

- name: Upload Artifacts (XM8_Windows_ARM64)
uses: actions/upload-artifact@v4
with:
name: XM8_Windows_ARM64
path: artifacts_ARM64/

- name: Package Windows Artifacts
if: ${{ github.event_name == 'release' && !env.ACT }}
shell: pwsh
run: |
Compress-Archive -Path artifacts_x64/* -DestinationPath XM8_Windows_x86_64.zip -Force
Compress-Archive -Path artifacts_Win32/* -DestinationPath XM8_Windows_x86_32.zip -Force
Compress-Archive -Path artifacts_ARM64/* -DestinationPath XM8_Windows_ARM64.zip -Force

- name: Update Release x86_64
if: ${{ github.event_name == 'release' && !env.ACT }}
uses: svenstaro/upload-release-action@v2
with:
file: XM8_Windows_x86_64.zip
overwrite: true

- name: Update Release x86_32
if: ${{ github.event_name == 'release' && !env.ACT }}
uses: svenstaro/upload-release-action@v2
with:
file: XM8_Windows_x86_32.zip
overwrite: true

- name: Update Release ARM64
if: ${{ github.event_name == 'release' && !env.ACT }}
uses: svenstaro/upload-release-action@v2
with:
file: XM8_Windows_ARM64.zip
overwrite: true
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ Builder/Linux/xm8_linux_x86_64.appimage
linuxdeploy-x86_64.AppImage

Builder/Windows/.vs
Builder/Windows/XM8
Builder/Windows/Debug
Builder/Windows/Release
Builder/Windows/SDL/include
Builder/Windows/SDL/lib
Builder/Windows/x64
Builder/Windows/x86
Builder/Windows/Win32
Builder/Windows/ARM64
Builder/Windows/XM8.vcxproj.user

build/
Expand Down
Loading