Skip to content

Commit

Permalink
add build for Python 3.11 for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tz committed Nov 29, 2023
1 parent 77de088 commit 9e55ae5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ jobs:
# set to false for debugging
fail-fast: true
matrix:
python_version: [3.8]
include:
- os: ubuntu-20.04
# use old linux so that the shared library versioning is more portable
artifact_name: capa
asset_name: linux
python_version: 3.11
- os: windows-2019
artifact_name: capa.exe
asset_name: windows
Expand All @@ -35,10 +37,10 @@ jobs:
with:
submodules: true
# using Python 3.8 to support running across multiple operating systems including Windows 7
- name: Set up Python 3.8
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
with:
python-version: 3.8
python-version: ${{ matrix.python_version }}
- if: matrix.os == 'ubuntu-20.04'
run: sudo apt-get install -y libyaml-dev
- name: Upgrade pip, setuptools
Expand All @@ -58,7 +60,7 @@ jobs:
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: ${{ matrix.asset_name }}
path: dist/${{ matrix.artifact_name }}
path: dist/${{ matrix.artifact_name }}-py${{ matrix.python_version }}

test_run:
name: Test run on ${{ matrix.os }}
Expand Down

0 comments on commit 9e55ae5

Please sign in to comment.