Skip to content

Commit

Permalink
pip install PIL for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
djdiskmachine committed Jul 2, 2024
1 parent 365ad4d commit d293664
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
uses: actions/checkout@v2

- name: Install build deps
run: choco install -y directx-sdk zip --no-progress --yes
run: |
python -m pip install --upgrade pip
pip install Pillow
choco install -y directx-sdk zip --no-progress --yes
shell: powershell

- name: Download and Extract VCE9 release
Expand Down Expand Up @@ -71,6 +74,8 @@ jobs:

- name: Install required libraries
run: |
python -m pip install --upgrade pip
pip install Pillow
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y make gcc-multilib g++-multilib libsdl1.2-dev:i386 libasound2-plugins:i386 libjack-dev:i386
Expand Down Expand Up @@ -111,6 +116,8 @@ jobs:

- name: Install required libraries
run: |
python -m pip install --upgrade pip
pip install Pillow
sudo apt update
sudo apt install -y build-essential cmake pkgconf libusb-0.1-4 libgpgme11 libarchive-tools fakeroot
Expand Down Expand Up @@ -153,6 +160,8 @@ jobs:

- name: Install Miyoo Mini toolchain
run: |
python -m pip install --upgrade pip
pip install Pillow
wget -O /tmp/miyoomini-toolchain.tar.xz https://github.com/djdiskmachine/miyoomini-toolchain-buildroot/releases/download/1.0.0/miyoomini-toolchain.tar.xz
mkdir /opt/miyoomini-toolchain
tar -xvf /tmp/miyoomini-toolchain.tar.xz -C /opt/miyoomini-toolchain --strip-components=1
Expand Down Expand Up @@ -191,6 +200,8 @@ jobs:

- name: Install Bittboy toolchain
run: |
python -m pip install --upgrade pip
pip install Pillow
wget -O /tmp/arm-buildroot-linux-musleabi_sdk-buildroot.tar.xz https://github.com/djdiskmachine/MiyooMini-toolchain/releases/download/toolchain/miyoo-toolchain-v2.0.0-arm-buildroot-linux-musleabi_sdk-buildroot.tar.gz
mkdir /opt/arm-buildroot-linux-musleabi_sdk-buildroot
tar -xvf /tmp/arm-buildroot-linux-musleabi_sdk-buildroot.tar.xz -C /opt/arm-buildroot-linux-musleabi_sdk-buildroot --strip-components=1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
wget -O /tmp/miyoomini-toolchain.tar.xz https://github.com/djdiskmachine/miyoomini-toolchain-buildroot/releases/download/1.0.0/miyoomini-toolchain.tar.xz
mkdir /opt/miyoomini-toolchain
tar -xvf /tmp/miyoomini-toolchain.tar.xz -C /opt/miyoomini-toolchain --strip-components=1
python -m pip install --upgrade pip
pip install Pillow
- name: Build Miyoo Mini
working-directory: projects
Expand Down

0 comments on commit d293664

Please sign in to comment.