Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
40 changes: 28 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,23 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.13']
include:
- os: ubuntu-latest
python-version: '3.13'
artifact-name: WoWSync-Linux
archive-name: WoWSync-Linux.tar.gz
- os: macos-15-intel
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

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

The runner label macos-15-intel is not a valid GitHub-hosted runner. According to GitHub's documentation, macos-15 runs on Apple Silicon (ARM64), not Intel. For Intel (x86_64) builds, you should use macos-13 or macos-13-large which run on Intel hardware. Consider changing this to macos-13 for Intel support.

Suggested change
- os: macos-15-intel
- os: macos-13

Copilot uses AI. Check for mistakes.
python-version: '3.13'
artifact-name: WoWSync-macOS-Intel
archive-name: WoWSync-macOS-Intel.zip
- os: macos-latest
python-version: '3.13'
artifact-name: WoWSync-macOS-ARM
archive-name: WoWSync-macOS-ARM.zip
- os: windows-latest
python-version: '3.13'
artifact-name: WoWSync-Windows
archive-name: WoWSync-Windows.zip

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -46,41 +61,41 @@ jobs:
run: |
cd dist
# Create a DMG or zip the .app bundle
ditto -c -k --keepParent WoWSync.app WoWSync-macOS.zip
ditto -c -k --keepParent WoWSync.app ${{ matrix.archive-name }}

- name: Create archive (Linux)
if: runner.os == 'Linux'
run: |
cd dist
tar -czf WoWSync-Linux.tar.gz WoWSync
tar -czf ${{ matrix.archive-name }} WoWSync

- name: Create archive (Windows)
if: runner.os == 'Windows'
run: |
cd dist
Compress-Archive -Path WoWSync.exe -DestinationPath WoWSync-Windows.zip
Compress-Archive -Path WoWSync.exe -DestinationPath ${{ matrix.archive-name }}
shell: pwsh

- name: Upload artifact (Linux)
if: runner.os == 'Linux'
uses: actions/upload-artifact@v4
with:
name: WoWSync-Linux
path: dist/WoWSync-Linux.tar.gz
name: ${{ matrix.artifact-name }}
path: dist/${{ matrix.archive-name }}

- name: Upload artifact (macOS)
if: runner.os == 'macOS'
uses: actions/upload-artifact@v4
with:
name: WoWSync-macOS
path: dist/WoWSync-macOS.zip
name: ${{ matrix.artifact-name }}
path: dist/${{ matrix.archive-name }}

- name: Upload artifact (Windows)
if: runner.os == 'Windows'
uses: actions/upload-artifact@v4
with:
name: WoWSync-Windows
path: dist/WoWSync-Windows.zip
name: ${{ matrix.artifact-name }}
path: dist/${{ matrix.archive-name }}

release:
needs: build
Expand All @@ -100,7 +115,8 @@ jobs:
with:
files: |
artifacts/WoWSync-Linux/WoWSync-Linux.tar.gz
artifacts/WoWSync-macOS/WoWSync-macOS.zip
artifacts/WoWSync-macOS-Intel/WoWSync-macOS-Intel.zip
artifacts/WoWSync-macOS-ARM/WoWSync-macOS-ARM.zip
artifacts/WoWSync-Windows/WoWSync-Windows.zip
draft: false
prerelease: false
Expand Down
1 change: 1 addition & 0 deletions README-BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ pyinstaller --name=WoWSync \
- Or: `dist/WoWSync` (single executable)
- May need to sign the app for distribution
- Create DMG with: `hdiutil create -volname "WoW Sync" -srcfolder dist/WoWSync.app -ov -format UDZO WoWSync.dmg`
- **Note**: GitHub Actions builds create separate artifacts for Intel (macOS 15) and Apple Silicon (ARM) architectures
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

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

The documentation states "Intel (macOS 15)" but macOS 15 runners are Apple Silicon, not Intel. This should be corrected to reference the actual Intel runner being used (e.g., "Intel (macOS 13)").

Suggested change
- **Note**: GitHub Actions builds create separate artifacts for Intel (macOS 15) and Apple Silicon (ARM) architectures
- **Note**: GitHub Actions builds create separate artifacts for Intel (macOS 13) and Apple Silicon (ARM) architectures

Copilot uses AI. Check for mistakes.

### Linux
- Creates: `dist/WoWSync`
Expand Down