Skip to content

Commit

Permalink
Merge PR #60
Browse files Browse the repository at this point in the history
  • Loading branch information
elibon99 committed Jul 4, 2024
2 parents 80c8d10 + 5c292bb commit 250cf8b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 11 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
groups:
github-actions:
patterns:
- "*"
28 changes: 17 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,29 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9']
architecture: [x86, x64]
architecture: [x86, x64, arm64]
exclude:
- os: ubuntu-latest
architecture: x86
- os: ubuntu-latest
architecture: arm64
- os: macos-latest
architecture: x86
- os: macos-latest
architecture: x64
- os: windows-latest
architecture: arm64
- os: windows-latest
python: pypy3.9
- os: macos-latest
python: pypy3.9

name: ${{ matrix.os }} Py ${{ matrix.python }} ${{ matrix.architecture }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.architecture }}
Expand Down Expand Up @@ -55,10 +61,10 @@ jobs:

name: Device tests ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.x

Expand Down Expand Up @@ -95,10 +101,10 @@ jobs:
name: Build Python source .tar.gz

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.x

Expand All @@ -109,7 +115,7 @@ jobs:
poetry build
- name: Upload source package
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: python-yubihsm-sdist
path: dist
Expand All @@ -119,10 +125,10 @@ jobs:
name: Build sphinx documentation

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand All @@ -136,7 +142,7 @@ jobs:
run: poetry run make -C docs/ html

- name: Upload documentation
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: python-yubihsm-docs
path: docs/_build/html
Expand Down

0 comments on commit 250cf8b

Please sign in to comment.