Skip to content

Commit 36996c2

Browse files
authored
Fix #451 (#453)
1 parent b5ff3d7 commit 36996c2

File tree

23 files changed

+276
-280
lines changed

23 files changed

+276
-280
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM ghcr.io/nikteliy/manylinux_2_24_armv7l:python3.7
2+
3+
COPY entrypoint.sh /entrypoint.sh
4+
RUN chmod +x /entrypoint.sh
5+
6+
ENTRYPOINT ["/entrypoint.sh"]
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: 'linux_armv7l'
2+
description: 'Builds linux_armv7l package'
3+
inputs:
4+
script:
5+
description: 'Specifies the path to the build script'
6+
required: true
7+
platform:
8+
description: 'Specifies the --plat-name option to the build command'
9+
required: true
10+
makefile:
11+
description: 'Specifies the path to the .mk file'
12+
required: true
13+
python:
14+
description: 'Specifies the path to the python interpreter'
15+
default: /usr/bin/python3
16+
wheeldir:
17+
description: 'Specifies directory to store delocated wheels'
18+
required: true
19+
default: wheelhouse
20+
runs:
21+
using: 'docker'
22+
image: 'Dockerfile'
23+
args:
24+
- ${{ inputs.script }}
25+
- ${{ inputs.platform }}
26+
- ${{ inputs.makefile }}
27+
- ${{ inputs.python }}
28+
- ${{ inputs.wheeldir }}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
set -o errexit
4+
set -o pipefail
5+
set -o nounset
6+
7+
exec "$INPUT_SCRIPT"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM quay.io/pypa/manylinux_2_24_aarch64:latest
2+
3+
COPY entrypoint.sh /entrypoint.sh
4+
RUN chmod +x /entrypoint.sh
5+
6+
ENTRYPOINT ["/entrypoint.sh"]
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: 'manylinux_2_24_aarch64'
2+
description: 'Builds manylinux_2_24_aarch64 package'
3+
inputs:
4+
script:
5+
description: 'Specifies the path to the build script'
6+
required: true
7+
platform:
8+
description: 'Specifies the --plat-name option to the build command'
9+
required: true
10+
makefile:
11+
description: 'Specifies the path to the .mk file'
12+
required: true
13+
python:
14+
description: 'Specifies the path to the python interpreter'
15+
default: /usr/bin/python3
16+
wheeldir:
17+
description: 'Specifies directory to store delocated wheels'
18+
required: true
19+
default: wheelhouse
20+
runs:
21+
using: 'docker'
22+
image: 'Dockerfile'
23+
args:
24+
- ${{ inputs.script }}
25+
- ${{ inputs.platform }}
26+
- ${{ inputs.makefile }}
27+
- ${{ inputs.python }}
28+
- ${{ inputs.wheeldir }}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
set -o errexit
4+
set -o pipefail
5+
set -o nounset
6+
7+
exec "$INPUT_SCRIPT"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM quay.io/pypa/manylinux_2_24_x86_64:latest
2+
3+
COPY /entrypoint.sh /entrypoint.sh
4+
RUN chmod +x /entrypoint.sh
5+
6+
ENTRYPOINT ["/entrypoint.sh"]
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: 'manylinux_2_24_x86_64'
2+
description: 'Builds manylinux_2_24_x86_64 package'
3+
inputs:
4+
script:
5+
description: 'Specifies the path to the build script'
6+
required: true
7+
platform:
8+
description: 'Specifies the --plat-name option to the build command'
9+
required: true
10+
makefile:
11+
description: 'Specifies the path to the .mk file'
12+
required: true
13+
python:
14+
description: 'Specifies the path to the python interpreter'
15+
default: /usr/bin/python3
16+
wheeldir:
17+
description: 'Specifies directory to store delocated wheels'
18+
required: true
19+
default: wheelhouse
20+
runs:
21+
using: 'docker'
22+
image: 'Dockerfile'
23+
args:
24+
- ${{ inputs.script }}
25+
- ${{ inputs.platform }}
26+
- ${{ inputs.makefile }}
27+
- ${{ inputs.python }}
28+
- ${{ inputs.wheeldir }}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
set -o errexit
4+
set -o pipefail
5+
set -o nounset
6+
7+
exec "$INPUT_SCRIPT"

.github/actions/prepare_snap7/action.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@ runs:
2929
shell: bash
3030
run: 7z x snap7-full-1.4.2.7z
3131

32-
- name: Copy files
33-
shell: bash
34-
run: |
35-
mkdir src
36-
cp snap7-full-1.4.2/release/Wrappers/c-cpp/snap7.h src
37-
cp .github/build_scripts/dummy.c ./
38-
3932
- name: Update wheel
4033
shell: bash
41-
run: python -m pip install --upgrade pip wheel
34+
run: python3 -m pip install --upgrade pip wheel build

0 commit comments

Comments
 (0)