fix: добавлена поддержка x86

This commit is contained in:
Maxim Slipenko 2023-09-28 09:58:15 +03:00
parent bdcc2cdfe2
commit 179e3286a2

View File

@ -15,6 +15,7 @@ jobs:
matrix: matrix:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest, windows-latest]
spec: [statapp-onefile, statapp] spec: [statapp-onefile, statapp]
arch: [x86, x64]
defaults: defaults:
run: run:
shell: bash shell: bash
@ -24,6 +25,7 @@ jobs:
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: 3.8 python-version: 3.8
architecture: ${{ matrix.arch }}
- name: Установка poetry - name: Установка poetry
uses: snok/install-poetry@v1 uses: snok/install-poetry@v1
with: with:
@ -33,7 +35,7 @@ jobs:
- uses: actions/cache@v3 - uses: actions/cache@v3
with: with:
path: ./.venv path: ./.venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} key: venv-${{ runner.os }}-${{ runner.arch }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Установка зависимостей - name: Установка зависимостей
run: poetry install run: poetry install
- name: Сборка - name: Сборка
@ -41,7 +43,7 @@ jobs:
- name: Загрузка артефактов - name: Загрузка артефактов
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: ${{ matrix.os }}-${{ matrix.spec }} name: ${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.spec }}
path: ./dist/statapp* path: ./dist/statapp*
release-please: release-please: