-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from kefeimo/20-have-pip-install-dnp3-python-s…
…upport-multiple-python-version allow github action to build wheel for multiple version
- Loading branch information
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,11 +13,13 @@ defaults: | |
env: | ||
LANG: en_US.utf-8 | ||
LC_ALL: en_US.utf-8 | ||
PYTHON_VERSION: "3.8" | ||
|
||
jobs: | ||
bump_version: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
python-version: [ '3.8', '3.9', '3.10' ] | ||
steps: | ||
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | ||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" | ||
|
@@ -32,11 +34,12 @@ jobs: | |
submodules: recursive | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python ${{ env.PYTHON_VERSION }} | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: setup-python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
python-version: ${{ matrix.python-version }} | ||
- run: echo "Installed python version $(python -V)" | ||
|
||
#---------------------------------------------- | ||
# install cmake to allow us to build the wheel | ||
|