[Git][NTPsec/ntpsec][master] CI: Add cross-armhf docker image related jobs r3

James Browning (@jamesb_fe80) gitlab at mg.gitlab.com
Fri May 28 15:20:14 UTC 2021



James Browning pushed to branch master at NTPsec / ntpsec


Commits:
f0c6ff6d by James Browning at 2021-05-28T15:11:33+00:00
CI: Add cross-armhf docker image related jobs r3

- - - - -


3 changed files:

- + .dockerfiles/cross-armhf.dockerfile
- .gitlab-ci-docker-images.yml
- .gitlab-ci.yml


Changes:

=====================================
.dockerfiles/cross-armhf.dockerfile
=====================================
@@ -0,0 +1,6 @@
+FROM debian:testing
+
+RUN dpkg --add-architecture armhf
+RUN apt-get update
+RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y bison gcc gcc-arm-linux-gnueabihf git make netbase pps-tools python3.9 python-is-python2 wget
+RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y libssl-dev:armhf libpython3.9-dev:armhf


=====================================
.gitlab-ci-docker-images.yml
=====================================
@@ -82,3 +82,6 @@ build-ubuntu-latest:
 
 build-ubuntu-rolling:
   <<: *build_definition
+
+build-cross-armhf:
+  <<: *build_definition


=====================================
.gitlab-ci.yml
=====================================
@@ -379,6 +379,14 @@ cross-build:
   rules:
     - if: '$CI_COMMIT_BRANCH && $CI_PROJECT_PATH == "NTPsec/ntpsec"'
 
+cross-armhf-build:
+  <<: *job_definition_allow_failure
+  image: $CI_REGISTRY/ntpsec/ntpsec/cross-armhf
+  script:
+    - PYTHON_VERSION=3.9 PYTAG=cpython39 pyext_PATTERN="%s.so" PYTHON_LDFLAGS='-lpthread -ldl' ./waf configure --disable-doc --disable-manpage --disable-nts --cross-compiler=arm-linux-gnueabihf-gcc --cross-cflags '-I/usr/include/ -I/usr/include/python3.9' --cross-ldflags '-L/usr/libhf' --pythondir=/usr/libhf/python3.9/dist-packages --pythonarchdir=/usr/libhf/python3.9/dist-packages build -pp --enable-pylib=ffi
+    - PYTHON_VERSION=3.9 PYTAG=cpython39 pyext_PATTERN="%s.so" PYTHON_LDFLAGS='-lpthread -ldl' ./waf configure --disable-doc --disable-manpage --disable-nts --cross-compiler=arm-linux-gnueabihf-gcc --cross-cflags '-I/usr/include/ -I/usr/include/python3.9' --cross-ldflags '-L/usr/libhf' --pythondir=/usr/libhf/python3.9/dist-packages --pythonarchdir=/usr/libhf/python3.9/dist-packages build -pp --enable-pylib=ext
+  tags:
+
 gentoo-basic:
   <<: *job_definition
   image: $CI_REGISTRY/ntpsec/ntpsec/gentoo



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/f0c6ff6d0d695a4c3dc624e487eb1ade57548889

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/f0c6ff6d0d695a4c3dc624e487eb1ade57548889
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20210528/7791b9ff/attachment-0001.htm>


More information about the vc mailing list