Skip to content

Split subdirectories into separate layers under Linux (see #359) #421

Split subdirectories into separate layers under Linux (see #359)

Split subdirectories into separate layers under Linux (see #359) #421

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: pip install --upgrade build twine
- name: Build package
run: python -m build
- name: Check package
run: twine check --strict dist/*
- name: Publish to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
test:
strategy:
matrix:
include:
- { os: ubuntu-20.04, python: "3.7" }
- { os: ubuntu-20.04, python: "3.10" }
- { os: ubuntu-22.04, python: "3.10" }
- { os: windows-2019, python: "3.7", visual-studio: 2017 }
- { os: windows-2019, python: "3.10", visual-studio: 2017 }
- { os: windows-2019, python: "3.7", visual-studio: 2019 }
- { os: windows-2019, python: "3.10", visual-studio: 2019 }
- { os: windows-2019, python: "3.7", visual-studio: 2022 }
- { os: windows-2019, python: "3.10", visual-studio: 2022 }
- { os: windows-latest, python: "3.7", visual-studio: 2017 }
- { os: windows-latest, python: "3.10", visual-studio: 2017 }
- { os: windows-latest, python: "3.7", visual-studio: 2019 }
- { os: windows-latest, python: "3.10", visual-studio: 2019 }
- { os: windows-latest, python: "3.7", visual-studio: 2022 }
- { os: windows-latest, python: "3.10", visual-studio: 2022 }
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install
run: pip install . --user
- name: Build prerequisites
run: ue4-docker build --target=build-prerequisites --visual-studio ${{ matrix.visual-studio || '2017' }}
- name: Run diagnostics
run: ue4-docker diagnostics all