[X2Go-Commits] [nx-libs] 255/429: Build nx-libs on different architectures
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:36:45 CEST 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit 899c2a6f112610b8cdb2566f85fc533ff5e81885
Author: Mario Trangoni <mjtrangoni at gmail.com>
Date: Sat Feb 6 18:43:49 2021 +0100
Build nx-libs on different architectures
Signed-off-by: Mario Trangoni <mjtrangoni at gmail.com>
---
.github/workflows/nx-libs-archs.yml | 81 +++++++++++++++++++++++++++++++++++++
1 file changed, 81 insertions(+)
diff --git a/.github/workflows/nx-libs-archs.yml b/.github/workflows/nx-libs-archs.yml
new file mode 100644
index 000000000..b2e343acd
--- /dev/null
+++ b/.github/workflows/nx-libs-archs.yml
@@ -0,0 +1,81 @@
+name: nx-libs CI diff archs
+
+on:
+ push:
+ branches: [ 3.6.x ]
+ pull_request:
+ branches: [ 3.6.x ]
+
+jobs:
+ build:
+ runs-on: ubuntu-20.04
+ name: Build on ${{ matrix.distro }} ${{ matrix.arch }} with gcc
+
+ # Run steps on a matrix of 4 arch/distro combinations
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - arch: aarch64
+ distro: ubuntu20.04
+ - arch: ppc64le
+ distro: ubuntu20.04
+ - arch: s390x
+ distro: ubuntu20.04
+ - arch: armv7
+ distro: ubuntu20.04
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout at v2
+ - uses: uraimo/run-on-arch-action at v2.0.8
+ name: Build artifact
+ id: build
+ with:
+ arch: ${{ matrix.arch }}
+ distro: ${{ matrix.distro }}
+
+ # Not required, but speeds up builds
+ githubToken: ${{ github.token }}
+
+ # Pass some environment variables to the container
+ env: |
+ CC: gcc
+ CXX: g++
+ DEBIAN_FRONTEND: noninteractive
+
+ # The shell to run commands with in the container
+ shell: /bin/sh
+
+ # Install some dependencies in the container. This speeds up builds if
+ # you are also using githubToken. Any dependencies installed here will
+ # be part of the container image that gets cached, so subsequent
+ # builds don't have to re-install them. The image layer is cached
+ # publicly in your project's package repository, so it is vital that
+ # no secrets are present in the container state or logs.
+ install: |
+ case "${{ matrix.distro }}" in
+ ubuntu*)
+ cat /etc/debian_version
+ apt-get update -q -y
+ apt-get install -q -y gcc g++
+ gcc --version
+ # basic packages
+ apt-get install -q -y \
+ autoconf libtool make pkg-config
+ # imake deps
+ apt-get install -q -y \
+ libxkbfile-dev xfonts-utils xutils-dev
+ # X11 libraries deps
+ apt-get install -q -y \
+ libpixman-1-dev libjpeg-dev libxcomposite-dev libxdamage-dev \
+ libxml2-dev libxfont-dev libxinerama-dev libxpm-dev libxrandr-dev \
+ libxtst-dev x11proto-fonts-dev
+ # soft requirements
+ apt-get install -q -y \
+ quilt x11-xkb-utils
+ ;;
+ esac
+
+ run: |
+ make
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list