mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
add ubuntu test build
This commit is contained in:
parent
2859aca17c
commit
e1a37dcd6a
2 changed files with 29 additions and 3 deletions
31
.github/workflows/test_build.yml
vendored
31
.github/workflows/test_build.yml
vendored
|
|
@ -1,23 +1,26 @@
|
|||
# This workflow will upload a Python Package using Twine when a release is created
|
||||
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
|
||||
|
||||
name: Build Python Package
|
||||
name: Test Build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [develop]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
Windows-latest:
|
||||
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.7, 3.8]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.7'
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install Venv
|
||||
shell: pwsh
|
||||
run: |
|
||||
|
|
@ -27,3 +30,25 @@ jobs:
|
|||
shell: pwsh
|
||||
run: |
|
||||
./tools/build.ps1
|
||||
|
||||
Ubuntu-latest:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.7]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install Venv
|
||||
run: |
|
||||
apt-get install -y --no-install-recommends zlib
|
||||
./tools/create_env.sh
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
./tools/build.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue