Skip to content

Commit

Permalink
Fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Jan 12, 2025
1 parent bf985d7 commit 4aca0f0
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,47 +46,47 @@ jobs:
strategy:
matrix:
include:
- os: windows-2022
image: 'docker://debian:10'
TARGET: windows
CMD_BUILD: |
python compile.py
move sticker-convert.dist sticker-convert
Compress-Archive -Path sticker-convert -DestinationPath sticker-convert-windows-x86_64.zip
# - os: windows-2022
# IMAGE: 'docker://debian:10'
# TARGET: windows
# CMD_BUILD: |
# python compile.py
# move sticker-convert.dist sticker-convert
# Compress-Archive -Path sticker-convert -DestinationPath sticker-convert-windows-x86_64.zip

dotnet tool install --global wix --version 4.0.4
wix extension add WixToolset.UI.wixext/4.0.4
python .\msicreator\createmsi.py msicreator.json
move *.msi sticker-convert-windows-x86_64.msi
OUT_FILE_NAME: |
./sticker-convert-windows-x86_64.zip
./sticker-convert-windows-x86_64.msi
- os: macos-13
image: 'docker://debian:10'
TARGET: macos-x86_64
CMD_BUILD: |
python ./compile.py
cp ./scripts/hold_control_and_click_open_me_first.command ./
zip -r9 sticker-convert-macos-x86_64.zip sticker-convert.app hold_control_and_click_open_me_first.command
OUT_FILE_NAME: ./sticker-convert-macos-x86_64.zip
- os: macos-14
image: 'docker://debian:10'
TARGET: macos-arm64
CMD_BUILD: |
python ./compile.py
cp ./scripts/hold_control_and_click_open_me_first.command ./
zip -r9 sticker-convert-macos-arm64.zip sticker-convert.app hold_control_and_click_open_me_first.command
OUT_FILE_NAME: ./sticker-convert-macos-arm64.zip
# dotnet tool install --global wix --version 4.0.4
# wix extension add WixToolset.UI.wixext/4.0.4
# python .\msicreator\createmsi.py msicreator.json
# move *.msi sticker-convert-windows-x86_64.msi
# OUT_FILE_NAME: |
# ./sticker-convert-windows-x86_64.zip
# ./sticker-convert-windows-x86_64.msi
# - os: macos-13
# IMAGE: 'docker://debian:10'
# TARGET: macos-x86_64
# CMD_BUILD: |
# python ./compile.py
# cp ./scripts/hold_control_and_click_open_me_first.command ./
# zip -r9 sticker-convert-macos-x86_64.zip sticker-convert.app hold_control_and_click_open_me_first.command
# OUT_FILE_NAME: ./sticker-convert-macos-x86_64.zip
# - os: macos-14
# IMAGE: 'docker://debian:10'
# TARGET: macos-arm64
# CMD_BUILD: |
# python ./compile.py
# cp ./scripts/hold_control_and_click_open_me_first.command ./
# zip -r9 sticker-convert-macos-arm64.zip sticker-convert.app hold_control_and_click_open_me_first.command
# OUT_FILE_NAME: ./sticker-convert-macos-arm64.zip
- os: ubuntu-20.04
image: 'docker://quay.io/pypa/manylinux2014_x86_64'
IMAGE: 'docker://quay.io/pypa/manylinux2014_x86_64'
TARGET: linux-x86_64
CMD_BUILD: |
python ./compile.py
zip -r9 sticker-convert-linux-x86_64.zip ./sticker-convert.dist/*
SC_COMPILE_ARCH=x86_64 ./scripts/build_appimage.sh
OUT_FILE_NAME: ./sticker-convert-x86_64.AppImage
- os: ubuntu-20.04
image: 'docker://quay.io/pypa/manylinux2014_aarch64'
IMAGE: 'docker://quay.io/pypa/manylinux2014_aarch64'
TARGET: linux-aarch64
CMD_BUILD: |
python ./compile.py
Expand All @@ -109,7 +109,7 @@ jobs:
allow-prereleases: true
- name: Build for ${{matrix.TARGET}} (Linux)
if: runner.os == 'Linux'
uses: ${{ matrix.image }}
uses: ${{ matrix.IMAGE }}
with:
args: ${{matrix.CMD_BUILD}}
- name: Build for ${{matrix.TARGET}}
Expand Down

0 comments on commit 4aca0f0

Please sign in to comment.