Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #55 from AlbianWarp/testing/older_python_versions
Browse files Browse the repository at this point in the history
Testing and Building with python Version 3.9.12
  • Loading branch information
Amaikokonut authored Apr 28, 2022
2 parents bd7ec18 + 5dbfd10 commit 8654056
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Test
name: Build & Test
on:
pull_request:
types: [opened, synchronize]
branches:
- master
- main
jobs:
test:
build:
runs-on: windows-latest
steps:
- name: Checkout
Expand All @@ -16,24 +16,28 @@ jobs:
- name: Set up Python x64
uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: "3.9"
architecture: "x64"
- name: Set up Python x86
uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: "3.9.12"
architecture: "x86"
- name: output python x86 version
run: C:\hostedtoolcache\windows\Python\3.10.0\x86\python.exe --version
run: C:\hostedtoolcache\windows\Python\3.9.12\x86\python.exe --version
- name: output python x64 version
run: C:\hostedtoolcache\windows\Python\3.10.0\x64\python.exe --version
run: C:\hostedtoolcache\windows\Python\3.9.12\x64\python.exe --version
- name: create venv
run: |
C:\hostedtoolcache\windows\Python\3.10.0\x86\python.exe -m venv venv32
C:\hostedtoolcache\windows\Python\3.10.0\x64\python.exe -m venv venv
C:\hostedtoolcache\windows\Python\3.9.12\x86\python.exe -m venv venv32
C:\hostedtoolcache\windows\Python\3.9.12\x64\python.exe -m venv venv
- name: install dependencies
run: |
venv/Scripts/python.exe -m pip install -r requirements.txt
venv32/Scripts/python.exe -m pip install -r requirements.txt
- name: run build.ps1
run: ./build.ps1
- uses: actions/upload-artifact@v3
with:
name: AlbianWarpClients
path: AlbianWarpClient_*.zip

0 comments on commit 8654056

Please sign in to comment.