-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
Showing
23 changed files
with
276 additions
and
280 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,6 @@ | ||
FROM ghcr.io/nikteliy/manylinux_2_24_armv7l:python3.7 | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
RUN chmod +x /entrypoint.sh | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
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,28 @@ | ||
name: 'linux_armv7l' | ||
description: 'Builds linux_armv7l package' | ||
inputs: | ||
script: | ||
description: 'Specifies the path to the build script' | ||
required: true | ||
platform: | ||
description: 'Specifies the --plat-name option to the build command' | ||
required: true | ||
makefile: | ||
description: 'Specifies the path to the .mk file' | ||
required: true | ||
python: | ||
description: 'Specifies the path to the python interpreter' | ||
default: /usr/bin/python3 | ||
wheeldir: | ||
description: 'Specifies directory to store delocated wheels' | ||
required: true | ||
default: wheelhouse | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' | ||
args: | ||
- ${{ inputs.script }} | ||
- ${{ inputs.platform }} | ||
- ${{ inputs.makefile }} | ||
- ${{ inputs.python }} | ||
- ${{ inputs.wheeldir }} |
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,7 @@ | ||
#!/bin/bash | ||
|
||
set -o errexit | ||
set -o pipefail | ||
set -o nounset | ||
|
||
exec "$INPUT_SCRIPT" |
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,6 @@ | ||
FROM quay.io/pypa/manylinux_2_24_aarch64:latest | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
RUN chmod +x /entrypoint.sh | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
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,28 @@ | ||
name: 'manylinux_2_24_aarch64' | ||
description: 'Builds manylinux_2_24_aarch64 package' | ||
inputs: | ||
script: | ||
description: 'Specifies the path to the build script' | ||
required: true | ||
platform: | ||
description: 'Specifies the --plat-name option to the build command' | ||
required: true | ||
makefile: | ||
description: 'Specifies the path to the .mk file' | ||
required: true | ||
python: | ||
description: 'Specifies the path to the python interpreter' | ||
default: /usr/bin/python3 | ||
wheeldir: | ||
description: 'Specifies directory to store delocated wheels' | ||
required: true | ||
default: wheelhouse | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' | ||
args: | ||
- ${{ inputs.script }} | ||
- ${{ inputs.platform }} | ||
- ${{ inputs.makefile }} | ||
- ${{ inputs.python }} | ||
- ${{ inputs.wheeldir }} |
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,7 @@ | ||
#!/bin/bash | ||
|
||
set -o errexit | ||
set -o pipefail | ||
set -o nounset | ||
|
||
exec "$INPUT_SCRIPT" |
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,6 @@ | ||
FROM quay.io/pypa/manylinux_2_24_x86_64:latest | ||
|
||
COPY /entrypoint.sh /entrypoint.sh | ||
RUN chmod +x /entrypoint.sh | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
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,28 @@ | ||
name: 'manylinux_2_24_x86_64' | ||
description: 'Builds manylinux_2_24_x86_64 package' | ||
inputs: | ||
script: | ||
description: 'Specifies the path to the build script' | ||
required: true | ||
platform: | ||
description: 'Specifies the --plat-name option to the build command' | ||
required: true | ||
makefile: | ||
description: 'Specifies the path to the .mk file' | ||
required: true | ||
python: | ||
description: 'Specifies the path to the python interpreter' | ||
default: /usr/bin/python3 | ||
wheeldir: | ||
description: 'Specifies directory to store delocated wheels' | ||
required: true | ||
default: wheelhouse | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' | ||
args: | ||
- ${{ inputs.script }} | ||
- ${{ inputs.platform }} | ||
- ${{ inputs.makefile }} | ||
- ${{ inputs.python }} | ||
- ${{ inputs.wheeldir }} |
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,7 @@ | ||
#!/bin/bash | ||
|
||
set -o errexit | ||
set -o pipefail | ||
set -o nounset | ||
|
||
exec "$INPUT_SCRIPT" |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
cp .github/build_scripts/aarch64-linux-gnu.mk snap7-full-1.4.2/build/unix/ | ||
pushd snap7-full-1.4.2/build/unix/ | ||
make -f "${INPUT_MAKEFILE}" install | ||
popd | ||
mkdir -p snap7/lib/ | ||
cp /usr/lib/libsnap7.so snap7/lib/ | ||
${INPUT_PYTHON} -m pip install wheel build auditwheel patchelf | ||
${INPUT_PYTHON} -m build . --wheel -C="--build-option=--plat-name=${INPUT_PLATFORM}" | ||
|
||
auditwheel repair dist/*${INPUT_PLATFORM}.whl --plat ${INPUT_PLATFORM} -w ${INPUT_WHEELDIR} | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.