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
2 changes: 1 addition & 1 deletion .github/workflows/_job_cx-freeze-appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
include:
- arch: arm64
pyarch: arm64
os: ubuntu-22.04-arm
os: ubuntu-24.04-arm
- arch: x86_64
pyarch: x64
os: ubuntu-22.04
Expand Down
22 changes: 16 additions & 6 deletions .github/workflows/_job_cx-freeze-msi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,18 @@ on:

jobs:
build:
name: Package
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- arch: arm64
pyarch: arm64
os: windows-11-arm
- arch: x86_64
pyarch: x64
os: windows-latest
name: Package ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -21,7 +31,7 @@ jobs:
cache: pip
python-version: '3.12'
check-latest: true
architecture: x64
architecture: ${{ matrix.pyarch }}
- name: Install build dependencies
run: |
pip3 install --upgrade cx_freeze ruff
Expand All @@ -43,10 +53,10 @@ jobs:
SETUPTOOLS_SCM_PRETEND_VERSION: ${{ inputs.version }}
run: |
python3 freeze.py bdist_msi
mv dist/*.msi Rare-${{ inputs.version }}.msi
mv dist/*.msi Rare-${{ inputs.version }}-${{ matrix.arch }}.msi

- name: Upload artifact
uses: actions/upload-artifact@v5
with:
name: Rare-${{ inputs.version }}.msi
path: Rare-${{ inputs.version }}.msi
name: Rare-${{ inputs.version }}-${{ matrix.arch }}.msi
path: Rare-${{ inputs.version }}-${{ matrix.arch }}.msi
22 changes: 16 additions & 6 deletions .github/workflows/_job_nuitka-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,18 @@ on:

jobs:
build:
name: Package
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- arch: arm64
pyarch: arm64
os: ubuntu-24.04-arm
- arch: x86_64
pyarch: x64
os: ubuntu-22.04
name: Package ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -21,7 +31,7 @@ jobs:
cache: pip
python-version: '3.12'
check-latest: true
architecture: x64
architecture: ${{ matrix.pyarch }}
- name: Install build dependencies
run: |
pip3 install --upgrade nuitka ruff
Expand Down Expand Up @@ -87,10 +97,10 @@ jobs:
run: |
mv rare.dist Rare-${{ inputs.version }}
python -c "import shutil; shutil.make_archive('Rare-${{ inputs.version }}', 'zip', '.', 'Rare-${{ inputs.version }}')"
mv Rare-${{ inputs.version }}.zip Rare-${{ inputs.version }}-linux.zip
mv Rare-${{ inputs.version }}.zip Rare-${{ inputs.version }}-${{ matrix.arch }}-linux.zip

- name: Upload artifact
uses: actions/upload-artifact@v5
with:
name: Rare-${{ inputs.version }}-linux.zip
path: Rare-${{ inputs.version }}-linux.zip
name: Rare-${{ inputs.version }}-${{ matrix.arch }}-linux.zip
path: Rare-${{ inputs.version }}-${{ matrix.arch }}-linux.zip
22 changes: 16 additions & 6 deletions .github/workflows/_job_nuitka-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,18 @@ on:

jobs:
build:
name: Package
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- arch: arm64
pyarch: arm64
os: windows-11-arm
- arch: x86_64
pyarch: x64
os: windows-latest
name: Package ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -21,7 +31,7 @@ jobs:
cache: pip
python-version: '3.12'
check-latest: true
architecture: x64
architecture: ${{ matrix.pyarch }}
- name: Install build dependencies
run: |
pip3 install --upgrade nuitka ruff
Expand Down Expand Up @@ -85,10 +95,10 @@ jobs:
run: |
mv rare.dist Rare-${{ inputs.version }}
python -c "import shutil; shutil.make_archive('Rare-${{ inputs.version }}', 'zip', '.', 'Rare-${{ inputs.version }}')"
mv Rare-${{ inputs.version }}.zip Rare-${{ inputs.version }}-windows.zip
mv Rare-${{ inputs.version }}.zip Rare-${{ inputs.version }}-${{ matrix.arch }}-windows.zip

- name: Upload artifact
uses: actions/upload-artifact@v5
with:
name: Rare-${{ inputs.version }}-windows.zip
path: Rare-${{ inputs.version }}-windows.zip
name: Rare-${{ inputs.version }}-${{ matrix.arch }}-windows.zip
path: Rare-${{ inputs.version }}-${{ matrix.arch }}-windows.zip
9 changes: 6 additions & 3 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ jobs:
uses: ./.github/workflows/_job_publish.yml
with:
version: ${{ inputs.prerelease && needs.version.outputs.version || github.ref_name }}
file1: Rare-${{ needs.version.outputs.version }}-linux.zip
file1: Rare-${{ needs.version.outputs.version }}-x86_64-linux.zip
file2: Rare-${{ needs.version.outputs.version }}-arm64-linux.zip

nuitka-macos:
if: ${{ true }}
Expand Down Expand Up @@ -98,7 +99,8 @@ jobs:
uses: ./.github/workflows/_job_publish.yml
with:
version: ${{ inputs.prerelease && needs.version.outputs.version || github.ref_name }}
file1: Rare-${{ needs.version.outputs.version }}-windows.zip
file1: Rare-${{ needs.version.outputs.version }}-x86_64-windows.zip
file2: Rare-${{ needs.version.outputs.version }}-arm64-windows.zip

cx-freeze-appimage:
if: ${{ true }}
Expand Down Expand Up @@ -150,4 +152,5 @@ jobs:
uses: ./.github/workflows/_job_publish.yml
with:
version: ${{ inputs.prerelease && needs.version.outputs.version || github.ref_name }}
file1: Rare-${{ needs.version.outputs.version }}.msi
file1: Rare-${{ needs.version.outputs.version }}-x86_64.msi
file2: Rare-${{ needs.version.outputs.version }}-arm64.msi
Loading