-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a1d160
commit 10945d5
Showing
26 changed files
with
777 additions
and
564 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Build wheel from source using tox. | ||
name: build_wheel | ||
on: [push, pull_request] | ||
permissions: read-all | ||
jobs: | ||
build_wheel: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
include: | ||
- python-version: '3.7' | ||
toxenv: 'py37' | ||
- python-version: '3.8' | ||
toxenv: 'py38' | ||
- python-version: '3.9' | ||
toxenv: 'py39' | ||
- python-version: '3.10' | ||
toxenv: 'py310' | ||
- python-version: '3.11' | ||
toxenv: 'py311' | ||
- python-version: '3.12' | ||
toxenv: 'py312' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install build dependencies | ||
run: | | ||
sudo add-apt-repository universe && | ||
sudo add-apt-repository -y ppa:deadsnakes/ppa && | ||
sudo apt-get update && | ||
sudo apt-get install -y autoconf automake autopoint build-essential git libtool pkg-config python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv python3-distutils python3-pip python3-setuptools | ||
- name: Install tox | ||
run: | | ||
python3 -m pip install tox | ||
- name: Download test data | ||
run: | | ||
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi | ||
- name: Prepare build | ||
run: | | ||
./synclibs.sh --use-head && ./autogen.sh && ./configure | ||
- name: Build Python wheel | ||
run: | | ||
tox -e${{ matrix.toxenv }} |
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
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
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
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ AC_PREREQ([2.71]) | |
|
||
AC_INIT( | ||
[libhmac], | ||
[20230630], | ||
[20231005], | ||
[[email protected]]) | ||
|
||
AC_CONFIG_SRCDIR( | ||
|
@@ -179,6 +179,7 @@ AC_CONFIG_FILES([dpkg/changelog]) | |
AC_CONFIG_FILES([libhmac/libhmac.rc]) | ||
AC_CONFIG_FILES([libhmac.pc]) | ||
AC_CONFIG_FILES([libhmac.spec]) | ||
AC_CONFIG_FILES([setup.cfg]) | ||
dnl Generate a source configuration file | ||
AC_CONFIG_HEADERS([common/config.h]) | ||
|
||
|
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
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
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
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
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
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
Oops, something went wrong.