Skip to content

Commit

Permalink
Fix dependencies in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mansuf committed Jun 5, 2024
1 parent 7591d1c commit f1f00f0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,19 @@ jobs:
python-version: ${{ matrix.python-version }}
architecture: x64

- name: Setup python (x86)
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x86

- name: Install required libraries
run: |
pip install -U pip
pip install -U wheel pyinstaller setuptools cython
py -${{ matrix.python-version }}-64 -m pip install -U pip
py -${{ matrix.python-version }}-64 -m pip install -U wheel pyinstaller setuptools
py -${{ matrix.python-version }}-32 -m pip install -U pip
py -${{ matrix.python-version }}-32 -m pip install -U wheel pyinstaller setuptools
- name: Test imports
run: |
Expand Down
19 changes: 11 additions & 8 deletions .github/workflows/build_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,19 @@ jobs:
python-version: ${{ matrix.python-version }}
architecture: x64

- name: Setup python (x86)
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x86

- name: Install required libraries
run: |
pip install -U pip
pip install -U wheel pyinstaller setuptools cython
py -${{ matrix.python-version }}-64 -m pip install -U pip
py -${{ matrix.python-version }}-64 -m pip install -U wheel pyinstaller setuptools
py -${{ matrix.python-version }}-32 -m pip install -U pip
py -${{ matrix.python-version }}-32 -m pip install -U wheel pyinstaller setuptools
- name: Test imports
run: |
Expand All @@ -56,12 +65,6 @@ jobs:
# Build mangadex-downloader with PyInstaller
# only allow python 3.10

- name: Setup python (x86)
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x86

- name: Compile script
if: ${{ contains(env.python_version, '3.10') }}
run: |
Expand Down

0 comments on commit f1f00f0

Please sign in to comment.