Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] tmp
@ 2020-11-02 21:10 ericonr
  2020-11-02 21:13 ` [PR PATCH] [Updated] tmp ericonr
                   ` (39 more replies)
  0 siblings, 40 replies; 41+ messages in thread
From: ericonr @ 2020-11-02 21:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

There is a new pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

tmp


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3320 bytes --]

From 197054652c8cf78a27821bda8a4d5ea4df09f030 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] tmp

---
 .github/workflows/build.yaml | 102 +++++++++++++++++++++++++++++++++++
 1 file changed, 102 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..e7bb39d0f94
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,102 @@
+name: Build Packages
+
+on: [push, pull_request]
+# on:
+#   push:
+#     paths: ['srcpkgs/**/template']
+#   pull_request:
+#     paths: ['srcpkgs/**/template']
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    runs-on: ubuntu-18.04
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] tmp
  2020-11-02 21:10 [PR PATCH] tmp ericonr
@ 2020-11-02 21:13 ` ericonr
  2020-11-02 21:19 ` ericonr
                   ` (38 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-02 21:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

tmp


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3928 bytes --]

From 197054652c8cf78a27821bda8a4d5ea4df09f030 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH 1/2] tmp

---
 .github/workflows/build.yaml | 102 +++++++++++++++++++++++++++++++++++
 1 file changed, 102 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..e7bb39d0f94
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,102 @@
+name: Build Packages
+
+on: [push, pull_request]
+# on:
+#   push:
+#     paths: ['srcpkgs/**/template']
+#   pull_request:
+#     paths: ['srcpkgs/**/template']
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    runs-on: ubuntu-18.04
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

From b5d1f8edd9a2a1d782326751db9832f938626939 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:13:48 -0300
Subject: [PATCH 2/2] tmp2

---
 srcpkgs/make/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/make/template b/srcpkgs/make/template
index 0aebcbc70be..d48b0a1bf9d 100644
--- a/srcpkgs/make/template
+++ b/srcpkgs/make/template
@@ -1,7 +1,7 @@
 # Template file for 'make'
 pkgname=make
 version=4.3
-revision=3
+revision=4
 bootstrap=yes
 build_style=gnu-configure
 configure_args="$(vopt_with guile)"

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] tmp
  2020-11-02 21:10 [PR PATCH] tmp ericonr
  2020-11-02 21:13 ` [PR PATCH] [Updated] tmp ericonr
@ 2020-11-02 21:19 ` ericonr
  2020-11-03 14:05 ` ericonr
                   ` (37 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-02 21:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

tmp


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 4745 bytes --]

From 197054652c8cf78a27821bda8a4d5ea4df09f030 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH 1/3] tmp

---
 .github/workflows/build.yaml | 102 +++++++++++++++++++++++++++++++++++
 1 file changed, 102 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..e7bb39d0f94
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,102 @@
+name: Build Packages
+
+on: [push, pull_request]
+# on:
+#   push:
+#     paths: ['srcpkgs/**/template']
+#   pull_request:
+#     paths: ['srcpkgs/**/template']
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    runs-on: ubuntu-18.04
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

From b5d1f8edd9a2a1d782326751db9832f938626939 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:13:48 -0300
Subject: [PATCH 2/3] tmp2

---
 srcpkgs/make/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/make/template b/srcpkgs/make/template
index 0aebcbc70be..d48b0a1bf9d 100644
--- a/srcpkgs/make/template
+++ b/srcpkgs/make/template
@@ -1,7 +1,7 @@
 # Template file for 'make'
 pkgname=make
 version=4.3
-revision=3
+revision=4
 bootstrap=yes
 build_style=gnu-configure
 configure_args="$(vopt_with guile)"

From 84fdbbbdeea9b7cf7fb056e9262bc468604fc41c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:18:49 -0300
Subject: [PATCH 3/3] tmp3

---
 srcpkgs/make/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/make/template b/srcpkgs/make/template
index d48b0a1bf9d..6153821e52c 100644
--- a/srcpkgs/make/template
+++ b/srcpkgs/make/template
@@ -13,6 +13,6 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/make"
 distfiles="${GNU_SITE}/make/${pkgname}-${version}.tar.lz"
-checksum=de1a441c4edf952521db30bfca80baae86a0ff1acd0a00402999344f04c45e82
+checksum=de1a441c4edf952521db30bfca80baae86a0ff1acd0a00402999344f04c45e8
 build_options=guile
 patch_args="-Np1"

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] tmp
  2020-11-02 21:10 [PR PATCH] tmp ericonr
  2020-11-02 21:13 ` [PR PATCH] [Updated] tmp ericonr
  2020-11-02 21:19 ` ericonr
@ 2020-11-03 14:05 ` ericonr
  2020-11-03 19:37 ` [PR PATCH] [Updated] Enable CI on GitHub Actions ericonr
                   ` (36 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 14:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

tmp


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3432 bytes --]

From ba7865dc51e7f9868da7dce7019e100d043f8a8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml
---
 .github/workflows/build.yaml | 97 ++++++++++++++++++++++++++++++++++++
 1 file changed, 97 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..721ad18387b
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,97 @@
+name: Build Packages
+
+on: [push, pull_request]
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    runs-on: ubuntu-18.04
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (2 preceding siblings ...)
  2020-11-03 14:05 ` ericonr
@ 2020-11-03 19:37 ` ericonr
  2020-11-03 19:43 ` ericonr
                   ` (35 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 19:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3435 bytes --]

From a687eaa9726486f2f6177772606a8d334c997229 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

[ci skip]
---
 .github/workflows/build.yaml | 97 ++++++++++++++++++++++++++++++++++++
 1 file changed, 97 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..04ce339f632
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,97 @@
+name: Build Packages
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    runs-on: ubuntu-18.04
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (3 preceding siblings ...)
  2020-11-03 19:37 ` [PR PATCH] [Updated] Enable CI on GitHub Actions ericonr
@ 2020-11-03 19:43 ` ericonr
  2020-11-03 19:53 ` ericonr
                   ` (34 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 19:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3664 bytes --]

From a8ce2c92c381b5c6f752eaf73a3110984b78a77f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a commit message contains "[ci skip]"

[ci skip]
---
 .github/workflows/build.yaml | 98 ++++++++++++++++++++++++++++++++++++
 1 file changed, 98 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..bfc615cc4b1
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,98 @@
+name: Build Packages
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    runs-on: ubuntu-18.04
+    if: "github.event.pull_request.draft == false && !contains(github.event.head_commit.message, '[ci skip]')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (4 preceding siblings ...)
  2020-11-03 19:43 ` ericonr
@ 2020-11-03 19:53 ` ericonr
  2020-11-03 20:28 ` ericonr
                   ` (33 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 19:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3674 bytes --]

From 95236f928c90293fa5619817de160dd0d48d8b78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml. [ci skip]

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a commit message contains "[ci skip]"

[ci skip]
---
 .github/workflows/build.yaml | 98 ++++++++++++++++++++++++++++++++++++
 1 file changed, 98 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..bfc615cc4b1
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,98 @@
+name: Build Packages
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    runs-on: ubuntu-18.04
+    if: "github.event.pull_request.draft == false && !contains(github.event.head_commit.message, '[ci skip]')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (5 preceding siblings ...)
  2020-11-03 19:53 ` ericonr
@ 2020-11-03 20:28 ` ericonr
  2020-11-03 20:29 ` ericonr
                   ` (32 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 20:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3674 bytes --]

From 4f050446b6c859bcd7787a8881c36a482a5f5005 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml. [ci skip]

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a commit message contains "[ci skip]"

[ci skip]
---
 .github/workflows/build.yaml | 98 ++++++++++++++++++++++++++++++++++++
 1 file changed, 98 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..bfc615cc4b1
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,98 @@
+name: Build Packages
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    runs-on: ubuntu-18.04
+    if: "github.event.pull_request.draft == false && !contains(github.event.head_commit.message, '[ci skip]')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (6 preceding siblings ...)
  2020-11-03 20:28 ` ericonr
@ 2020-11-03 20:29 ` ericonr
  2020-11-03 20:31 ` ericonr
                   ` (31 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 20:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3692 bytes --]

From 779082ac5abb0e36474faed63beee7652523e652 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml. [ci skip]

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a commit message contains "[ci skip]"

[ci skip]
---
 .github/workflows/build.yaml | 99 ++++++++++++++++++++++++++++++++++++
 1 file changed, 99 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..a42bc90dcfd
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,99 @@
+name: Build Packages
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    runs-on: ubuntu-18.04
+    #if: "github.event.pull_request.draft == false && !contains(github.event.head_commit.message, '[ci skip]')"
+    if: "false"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (7 preceding siblings ...)
  2020-11-03 20:29 ` ericonr
@ 2020-11-03 20:31 ` ericonr
  2020-11-03 20:32 ` ericonr
                   ` (30 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 20:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3718 bytes --]

From d6cc6a6aded16642e1d60c7a1de542c30b224fa0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml. [ci skip]

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a commit message contains "[ci skip]"

[ci skip]
---
 .github/workflows/build.yaml | 99 ++++++++++++++++++++++++++++++++++++
 1 file changed, 99 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..c684939a6de
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,99 @@
+name: Build Packages
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    runs-on: ubuntu-18.04
+    #if: "github.event.pull_request.draft == false && !contains(github.event.head_commit.message, '[ci skip]')"
+    if: "github.event.pull_request.draft"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (8 preceding siblings ...)
  2020-11-03 20:31 ` ericonr
@ 2020-11-03 20:32 ` ericonr
  2020-11-03 20:34 ` ericonr
                   ` (29 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 20:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3748 bytes --]

From 3f8fdc0bc9ff11546ab5c18a890a8cafd76eed83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml. [ci skip]

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a commit message contains "[ci skip]"

[ci skip]
---
 .github/workflows/build.yaml | 99 ++++++++++++++++++++++++++++++++++++
 1 file changed, 99 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..8b20df56db9
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,99 @@
+name: Build Packages
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    runs-on: ubuntu-18.04
+    #if: " == false && !contains(github.event.head_commit.message, '[ci skip]')"
+    if: "!github.event.pull_request.draft && !contains(github.event.head_commit.message, '[ci skip]')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (9 preceding siblings ...)
  2020-11-03 20:32 ` ericonr
@ 2020-11-03 20:34 ` ericonr
  2020-11-03 20:41 ` ericonr
                   ` (28 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 20:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3746 bytes --]

From bf2dfe5effb80d1b874f9e7217c2b07e6574dd36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml. [ci skip]

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a commit message contains "[ci skip]"

[ci skip]
---
 .github/workflows/build.yaml | 99 ++++++++++++++++++++++++++++++++++++
 1 file changed, 99 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..a4208e5735b
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,99 @@
+name: Build Packages
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    runs-on: ubuntu-18.04
+    #if: " == false && !contains(github.event.head_commit.message, '[ci skip]')"
+    if: "!github.event.pull_request.draft && !contains(github.event.head_commit.message, 'ci skip')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (10 preceding siblings ...)
  2020-11-03 20:34 ` ericonr
@ 2020-11-03 20:41 ` ericonr
  2020-11-03 20:42 ` [PR PATCH] [Updated] Enable CI on GitHub Actions [ci skip] ericonr
                   ` (27 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 20:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3779 bytes --]

From 64bb86d7ce4ae93e6b1da0d3495dd24e938af978 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml. [ci skip]

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a commit message contains "[ci skip]"

[ci skip]
---
 .github/workflows/build.yaml | 101 +++++++++++++++++++++++++++++++++++
 1 file changed, 101 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..abc9abd7b8f
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,101 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    #if: " == false && !contains(github.event.head_commit.message, '[ci skip]')"
+    if: "!github.event.pull_request.draft && !contains(github.event_name, 'ci skip')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions [ci skip]
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (11 preceding siblings ...)
  2020-11-03 20:41 ` ericonr
@ 2020-11-03 20:42 ` ericonr
  2020-11-03 20:46 ` ericonr
                   ` (26 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 20:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions [ci skip]


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3752 bytes --]

From 1b8b41b4710b9f56aa2f2fb601311d8cbf7fb62a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title contains "[ci skip]"
---
 .github/workflows/build.yaml | 101 +++++++++++++++++++++++++++++++++++
 1 file changed, 101 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..abc9abd7b8f
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,101 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    #if: " == false && !contains(github.event.head_commit.message, '[ci skip]')"
+    if: "!github.event.pull_request.draft && !contains(github.event_name, 'ci skip')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions [ci skip]
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (12 preceding siblings ...)
  2020-11-03 20:42 ` [PR PATCH] [Updated] Enable CI on GitHub Actions [ci skip] ericonr
@ 2020-11-03 20:46 ` ericonr
  2020-11-03 20:53 ` ericonr
                   ` (25 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 20:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions [ci skip]


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3889 bytes --]

From 92d7813688ae12d3e4d8af392ef2c856a13f0794 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title contains "[ci skip]"
---
 .github/workflows/build.yaml | 106 +++++++++++++++++++++++++++++++++++
 1 file changed, 106 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..7ad5877024c
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,106 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    #if: " == false && !contains(github.event.head_commit.message, '[ci skip]')"
+    if: "!github.event.pull_request.draft && !contains(github.event_name, 'ci skip')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Dump GitHub context
+        env:
+          GITHUB_CONTEXT: ${{ toJson(github) }}
+        run: echo "$GITHUB_CONTEXT"

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions [ci skip]
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (13 preceding siblings ...)
  2020-11-03 20:46 ` ericonr
@ 2020-11-03 20:53 ` ericonr
  2020-11-03 20:56 ` ericonr
                   ` (24 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 20:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions [ci skip]


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3903 bytes --]

From 06b6ba3e0b4c7283445a836db8124c934adf018a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title contains "[ci skip]"
---
 .github/workflows/build.yaml | 106 +++++++++++++++++++++++++++++++++++
 1 file changed, 106 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..777913cfd85
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,106 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    #if: " == false && !contains(github.event.head_commit.message, '[ci skip]')"
+    if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, 'ci skip')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Dump GitHub context
+        env:
+          GITHUB_CONTEXT: ${{ toJson(github) }}
+        run: echo "$GITHUB_CONTEXT"

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions [ci skip]
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (14 preceding siblings ...)
  2020-11-03 20:53 ` ericonr
@ 2020-11-03 20:56 ` ericonr
  2020-11-03 20:58 ` ericonr
                   ` (23 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 20:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions [ci skip]


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3901 bytes --]

From 4153dffc911e4bb8bdaa57a4ef4bc62f29ef1165 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title contains "ci skip"
---
 .github/workflows/build.yaml | 106 +++++++++++++++++++++++++++++++++++
 1 file changed, 106 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..777913cfd85
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,106 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    #if: " == false && !contains(github.event.head_commit.message, '[ci skip]')"
+    if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, 'ci skip')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Dump GitHub context
+        env:
+          GITHUB_CONTEXT: ${{ toJson(github) }}
+        run: echo "$GITHUB_CONTEXT"

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions [ci skip]
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (15 preceding siblings ...)
  2020-11-03 20:56 ` ericonr
@ 2020-11-03 20:58 ` ericonr
  2020-11-05 16:27 ` Anachron
                   ` (22 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-03 20:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions [ci skip]


A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 3682 bytes --]

From 8ce7e3518a4316749df18a7a580c06d5437618e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title contains "ci skip"
---
 .github/workflows/build.yaml | 100 +++++++++++++++++++++++++++++++++++
 1 file changed, 100 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..37c96184f92
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,100 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, 'ci skip')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Enable CI on GitHub Actions [ci skip]
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (16 preceding siblings ...)
  2020-11-03 20:58 ` ericonr
@ 2020-11-05 16:27 ` Anachron
  2020-11-05 17:22 ` [PR PATCH] [Updated] " ericonr
                   ` (21 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Anachron @ 2020-11-05 16:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/pull/26095#issuecomment-722486054

Comment:
What's needed here to merge this PR? Is there a test-repo where this was successful? 

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions [ci skip]
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (17 preceding siblings ...)
  2020-11-05 16:27 ` Anachron
@ 2020-11-05 17:22 ` ericonr
  2020-11-05 17:24 ` [PR PATCH] [Updated] Enable CI on GitHub Actions ericonr
                   ` (20 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-05 17:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions [ci skip]
* test description *

A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 4521 bytes --]

From 8730c48ed68390af6c3b2d7565e07f0943bc23f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH 1/2] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title contains "ci skip"
---
 .github/workflows/build.yaml | 105 +++++++++++++++++++++++++++++++++++
 1 file changed, 105 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..475e3d3b215
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,105 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, 'ci skip')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Dump GitHub context
+        env:
+          GITHUB_CONTEXT: ${{ toJson(github) }}
+        run: echo "$GITHUB_CONTEXT"

From 517d913f9274c9c1daff1487caabdf70e94de9d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Thu, 5 Nov 2020 14:22:08 -0300
Subject: [PATCH 2/2] test commit

---
 srcpkgs/linux5.8/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/linux5.8/template b/srcpkgs/linux5.8/template
index 31b22e6e7d9..d2b4132ee97 100644
--- a/srcpkgs/linux5.8/template
+++ b/srcpkgs/linux5.8/template
@@ -1,7 +1,7 @@
 # Template file for 'linux5.8'
 pkgname=linux5.8
 version=5.8.18
-revision=1
+revision=2
 wrksrc="linux-${version}"
 short_desc="Linux kernel and modules (${version%.*} series)"
 maintainer="Leah Neukirchen <leah@vuxu.org>"

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (18 preceding siblings ...)
  2020-11-05 17:22 ` [PR PATCH] [Updated] " ericonr
@ 2020-11-05 17:24 ` ericonr
  2020-11-05 17:41 ` ericonr
                   ` (19 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-05 17:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions
* test description *

A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 4523 bytes --]

From 8730c48ed68390af6c3b2d7565e07f0943bc23f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH 1/2] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title contains "ci skip"
---
 .github/workflows/build.yaml | 105 +++++++++++++++++++++++++++++++++++
 1 file changed, 105 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..475e3d3b215
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,105 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, 'ci skip')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Dump GitHub context
+        env:
+          GITHUB_CONTEXT: ${{ toJson(github) }}
+        run: echo "$GITHUB_CONTEXT"

From 612d86f170c5985f70d88d871a26350c25a4fdba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Thu, 5 Nov 2020 14:22:08 -0300
Subject: [PATCH 2/2] test commit 2

---
 srcpkgs/linux5.8/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/linux5.8/template b/srcpkgs/linux5.8/template
index 31b22e6e7d9..d2b4132ee97 100644
--- a/srcpkgs/linux5.8/template
+++ b/srcpkgs/linux5.8/template
@@ -1,7 +1,7 @@
 # Template file for 'linux5.8'
 pkgname=linux5.8
 version=5.8.18
-revision=1
+revision=2
 wrksrc="linux-${version}"
 short_desc="Linux kernel and modules (${version%.*} series)"
 maintainer="Leah Neukirchen <leah@vuxu.org>"

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (19 preceding siblings ...)
  2020-11-05 17:24 ` [PR PATCH] [Updated] Enable CI on GitHub Actions ericonr
@ 2020-11-05 17:41 ` ericonr
  2020-11-05 19:27 ` Anachron
                   ` (18 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-05 17:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/26095#issuecomment-722531196

Comment:
Testing builder power: can it build a kernel?

Will update with new version after this test is over.

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (20 preceding siblings ...)
  2020-11-05 17:41 ` ericonr
@ 2020-11-05 19:27 ` Anachron
  2020-11-05 21:23 ` [PR PATCH] [Updated] " ericonr
                   ` (17 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Anachron @ 2020-11-05 19:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/pull/26095#issuecomment-722591072

Comment:
Nice, the `i686` build succeeded.

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (21 preceding siblings ...)
  2020-11-05 19:27 ` Anachron
@ 2020-11-05 21:23 ` ericonr
  2020-11-05 21:24 ` ericonr
                   ` (16 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-05 21:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions
* test description *

A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 5450 bytes --]

From aaa8dc5ceb7d0063cded5f52acb04498384ae4fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH 1/2] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title or body contains "[ci skip]"
---
 .github/workflows/build.yaml | 100 +++++++++++++++++++++++++++++++++++
 1 file changed, 100 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..daaa1c2adaf
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,100 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, '[ci skip]' && !contains(github.event.pull_request.body, '[ci skip]')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

From 07d76777941ade2ac13221d8f976c62e0eb9d53b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Thu, 5 Nov 2020 14:38:25 -0300
Subject: [PATCH 2/2] CONTRIBUTING: update information about ci skip.

---
 CONTRIBUTING.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a38751f55ec..278938afdd8 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -49,7 +49,7 @@ Once you have built your template file or files, the commit message should have
 If you want to describe your changes in more detail, add an empty line followed by those details ([example](https://github.com/void-linux/void-packages/commit/f1c45a502086ba1952f23ace9084a870ce437bc6)).
 
 Pull requests are automatically submitted for Continuous Integration (CI) testing to ensure packages build on various combinations of libc and architecture.
-Packages that take longer than 50 minutes to build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the last line of the last commit message in the PR to avoid wasting CI builder time.
+Packages that take longer than around 90 minutes to build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the PR title or body (the comment field when the PR is being opened) to avoid wasting CI builder time.
 Use your best judgment on build times based on your local building experience. If you skip CI when submitting a PR, please build and cross-build for a variety of architectures locally, with both glibc and musl, and note your local results in PR comments.
 Make sure to cover 64-bit and 32-bit architectures.
 

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (22 preceding siblings ...)
  2020-11-05 21:23 ` [PR PATCH] [Updated] " ericonr
@ 2020-11-05 21:24 ` ericonr
  2020-11-06  0:41 ` [PR REVIEW] " sgn
                   ` (15 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-05 21:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions
* test description *

[ci skip]

A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 5492 bytes --]

From aaa8dc5ceb7d0063cded5f52acb04498384ae4fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH 1/2] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title or body contains "[ci skip]"
---
 .github/workflows/build.yaml | 100 +++++++++++++++++++++++++++++++++++
 1 file changed, 100 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..daaa1c2adaf
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,100 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+      - name: Fetch xtools
+        run: common/travis/fetch-xtools.sh
+      - name: Run xlint
+        run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, '[ci skip]' && !contains(github.event.pull_request.body, '[ci skip]')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - name: Checkout
+        uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+
+      - name: Set mirrors
+        run: common/travis/set_mirror.sh
+
+      - name: Configure xbps-src
+        run: common/travis/prepare.sh
+
+      - name: Fetch upstream
+        run: common/travis/fetch_upstream.sh
+
+      - name: Get changed templates
+        run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

From 383fbd469f95c6056f54df4598e47adcd4666097 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Thu, 5 Nov 2020 14:38:25 -0300
Subject: [PATCH 2/2] CONTRIBUTING: update information about ci skip.

---
 CONTRIBUTING.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a38751f55ec..6efdf4817e0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -49,7 +49,7 @@ Once you have built your template file or files, the commit message should have
 If you want to describe your changes in more detail, add an empty line followed by those details ([example](https://github.com/void-linux/void-packages/commit/f1c45a502086ba1952f23ace9084a870ce437bc6)).
 
 Pull requests are automatically submitted for Continuous Integration (CI) testing to ensure packages build on various combinations of libc and architecture.
-Packages that take longer than 50 minutes to build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the last line of the last commit message in the PR to avoid wasting CI builder time.
+Packages that take longer than 120 minutes or need more than 14G of storage to complete their build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the PR title or body (the comment field when the PR is being opened) to avoid wasting CI builder time.
 Use your best judgment on build times based on your local building experience. If you skip CI when submitting a PR, please build and cross-build for a variety of architectures locally, with both glibc and musl, and note your local results in PR comments.
 Make sure to cover 64-bit and 32-bit architectures.
 

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR REVIEW] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (23 preceding siblings ...)
  2020-11-05 21:24 ` ericonr
@ 2020-11-06  0:41 ` sgn
  2020-11-06  0:41 ` sgn
                   ` (14 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: sgn @ 2020-11-06  0:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/26095#discussion_r518455812

Comment:
I don't think we need `name: `, the script's name is descriptive enough, without name, it's defaulted to `run: `

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR REVIEW] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (24 preceding siblings ...)
  2020-11-06  0:41 ` [PR REVIEW] " sgn
@ 2020-11-06  0:41 ` sgn
  2020-11-06  0:44 ` sgn
                   ` (13 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: sgn @ 2020-11-06  0:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/26095#discussion_r518456179

Comment:
subshell is not necessary, I think.

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR REVIEW] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (25 preceding siblings ...)
  2020-11-06  0:41 ` sgn
@ 2020-11-06  0:44 ` sgn
  2020-11-06  1:17 ` ericonr
                   ` (12 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: sgn @ 2020-11-06  0:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/26095#discussion_r518457076

Comment:
With this `if`, I think the Actions won't build the PR with title or the body (first comment) that has '[ci skip]`, right?

While I like it to not pollute the commit message, I think we should update the README, too.

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR REVIEW] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (26 preceding siblings ...)
  2020-11-06  0:44 ` sgn
@ 2020-11-06  1:17 ` ericonr
  2020-11-07 23:02 ` ericonr
                   ` (11 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-06  1:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 214 bytes --]

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/26095#discussion_r518466939

Comment:
I updated it in CONTRIBUTING, I don't think the README mentions it.

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR REVIEW] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (27 preceding siblings ...)
  2020-11-06  1:17 ` ericonr
@ 2020-11-07 23:02 ` ericonr
  2020-11-07 23:02 ` ericonr
                   ` (10 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-07 23:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 182 bytes --]

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/26095#discussion_r519230537

Comment:
It might be, because of the `cd`...

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR REVIEW] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (28 preceding siblings ...)
  2020-11-07 23:02 ` ericonr
@ 2020-11-07 23:02 ` ericonr
  2020-11-07 23:05 ` [PR PATCH] [Updated] " ericonr
                   ` (9 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-07 23:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/26095#discussion_r519230551

Comment:
Agreed on most. I cleaned it up.

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (29 preceding siblings ...)
  2020-11-07 23:02 ` ericonr
@ 2020-11-07 23:05 ` ericonr
  2020-11-07 23:11 ` ericonr
                   ` (8 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-07 23:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions
* test description *

[ci skip]

A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 5223 bytes --]

From bf79b0977cf237b67bf892388eb1318be2abd0bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH 1/2] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title or body contains "[ci skip]"
- remove some names
- use ubuntu-20.04
---
 .github/workflows/build.yaml | 85 ++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..c9423066aa1
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,85 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-20.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - run: common/travis/fetch_upstream.sh
+      - run: common/travis/changed_templates.sh
+      - run: common/travis/fetch-xtools.sh
+      - run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-20.04
+    if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, '[ci skip]' && !contains(github.event.pull_request.body, '[ci skip]')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+      - run: common/travis/set_mirror.sh
+      - run: common/travis/prepare.sh
+      - run: common/travis/fetch_upstream.sh
+      - run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

From bbe3e7175fc7c6330139e83b7d5e76f1be477d9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Thu, 5 Nov 2020 14:38:25 -0300
Subject: [PATCH 2/2] CONTRIBUTING: update information about ci skip.

---
 CONTRIBUTING.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a38751f55ec..6efdf4817e0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -49,7 +49,7 @@ Once you have built your template file or files, the commit message should have
 If you want to describe your changes in more detail, add an empty line followed by those details ([example](https://github.com/void-linux/void-packages/commit/f1c45a502086ba1952f23ace9084a870ce437bc6)).
 
 Pull requests are automatically submitted for Continuous Integration (CI) testing to ensure packages build on various combinations of libc and architecture.
-Packages that take longer than 50 minutes to build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the last line of the last commit message in the PR to avoid wasting CI builder time.
+Packages that take longer than 120 minutes or need more than 14G of storage to complete their build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the PR title or body (the comment field when the PR is being opened) to avoid wasting CI builder time.
 Use your best judgment on build times based on your local building experience. If you skip CI when submitting a PR, please build and cross-build for a variety of architectures locally, with both glibc and musl, and note your local results in PR comments.
 Make sure to cover 64-bit and 32-bit architectures.
 

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (30 preceding siblings ...)
  2020-11-07 23:05 ` [PR PATCH] [Updated] " ericonr
@ 2020-11-07 23:11 ` ericonr
  2020-11-07 23:15 ` ericonr
                   ` (7 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-07 23:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions
* test description *

A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 5223 bytes --]

From 329aec4cd231170a0fa31f4531ec85573e0cbb6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Thu, 5 Nov 2020 14:38:25 -0300
Subject: [PATCH 1/2] CONTRIBUTING: update information about ci skip.

---
 CONTRIBUTING.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a38751f55ec..6efdf4817e0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -49,7 +49,7 @@ Once you have built your template file or files, the commit message should have
 If you want to describe your changes in more detail, add an empty line followed by those details ([example](https://github.com/void-linux/void-packages/commit/f1c45a502086ba1952f23ace9084a870ce437bc6)).
 
 Pull requests are automatically submitted for Continuous Integration (CI) testing to ensure packages build on various combinations of libc and architecture.
-Packages that take longer than 50 minutes to build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the last line of the last commit message in the PR to avoid wasting CI builder time.
+Packages that take longer than 120 minutes or need more than 14G of storage to complete their build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the PR title or body (the comment field when the PR is being opened) to avoid wasting CI builder time.
 Use your best judgment on build times based on your local building experience. If you skip CI when submitting a PR, please build and cross-build for a variety of architectures locally, with both glibc and musl, and note your local results in PR comments.
 Make sure to cover 64-bit and 32-bit architectures.
 

From 51aa5bc26371ecd7bdaaed7ea5fdd1da4b53911e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH 2/2] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title or body contains "[ci skip]"
- remove some names
- use ubuntu-20.04
---
 .github/workflows/build.yaml | 85 ++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..c9423066aa1
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,85 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-20.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - run: common/travis/fetch_upstream.sh
+      - run: common/travis/changed_templates.sh
+      - run: common/travis/fetch-xtools.sh
+      - run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-20.04
+    if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, '[ci skip]' && !contains(github.event.pull_request.body, '[ci skip]')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+      - run: common/travis/set_mirror.sh
+      - run: common/travis/prepare.sh
+      - run: common/travis/fetch_upstream.sh
+      - run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (31 preceding siblings ...)
  2020-11-07 23:11 ` ericonr
@ 2020-11-07 23:15 ` ericonr
  2020-11-08  1:45 ` ericonr
                   ` (6 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-07 23:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions
* test description *

A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 5204 bytes --]

From 329aec4cd231170a0fa31f4531ec85573e0cbb6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Thu, 5 Nov 2020 14:38:25 -0300
Subject: [PATCH 1/2] CONTRIBUTING: update information about ci skip.

---
 CONTRIBUTING.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a38751f55ec..6efdf4817e0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -49,7 +49,7 @@ Once you have built your template file or files, the commit message should have
 If you want to describe your changes in more detail, add an empty line followed by those details ([example](https://github.com/void-linux/void-packages/commit/f1c45a502086ba1952f23ace9084a870ce437bc6)).
 
 Pull requests are automatically submitted for Continuous Integration (CI) testing to ensure packages build on various combinations of libc and architecture.
-Packages that take longer than 50 minutes to build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the last line of the last commit message in the PR to avoid wasting CI builder time.
+Packages that take longer than 120 minutes or need more than 14G of storage to complete their build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the PR title or body (the comment field when the PR is being opened) to avoid wasting CI builder time.
 Use your best judgment on build times based on your local building experience. If you skip CI when submitting a PR, please build and cross-build for a variety of architectures locally, with both glibc and musl, and note your local results in PR comments.
 Make sure to cover 64-bit and 32-bit architectures.
 

From 1e84e2c5c4c53eaff619bc0ef0ab37b791d21300 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH 2/2] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title or body contains "[ci skip]"
- remove some names
---
 .github/workflows/build.yaml | 85 ++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..3a2a15cbdd2
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,85 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - run: common/travis/fetch_upstream.sh
+      - run: common/travis/changed_templates.sh
+      - run: common/travis/fetch-xtools.sh
+      - run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, '[ci skip]' && !contains(github.event.pull_request.body, '[ci skip]')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+      - run: common/travis/set_mirror.sh
+      - run: common/travis/prepare.sh
+      - run: common/travis/fetch_upstream.sh
+      - run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (32 preceding siblings ...)
  2020-11-07 23:15 ` ericonr
@ 2020-11-08  1:45 ` ericonr
  2020-11-08  1:59 ` [PR PATCH] [Updated] " ericonr
                   ` (5 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-08  1:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/26095#issuecomment-723518896

Comment:
It has stopped working and I have no idea why. Will investigate further tomorrow

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (33 preceding siblings ...)
  2020-11-08  1:45 ` ericonr
@ 2020-11-08  1:59 ` ericonr
  2020-11-08  2:01 ` ericonr
                   ` (4 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-08  1:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions
* test description *

A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 5205 bytes --]

From 329aec4cd231170a0fa31f4531ec85573e0cbb6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Thu, 5 Nov 2020 14:38:25 -0300
Subject: [PATCH 1/2] CONTRIBUTING: update information about ci skip.

---
 CONTRIBUTING.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a38751f55ec..6efdf4817e0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -49,7 +49,7 @@ Once you have built your template file or files, the commit message should have
 If you want to describe your changes in more detail, add an empty line followed by those details ([example](https://github.com/void-linux/void-packages/commit/f1c45a502086ba1952f23ace9084a870ce437bc6)).
 
 Pull requests are automatically submitted for Continuous Integration (CI) testing to ensure packages build on various combinations of libc and architecture.
-Packages that take longer than 50 minutes to build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the last line of the last commit message in the PR to avoid wasting CI builder time.
+Packages that take longer than 120 minutes or need more than 14G of storage to complete their build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the PR title or body (the comment field when the PR is being opened) to avoid wasting CI builder time.
 Use your best judgment on build times based on your local building experience. If you skip CI when submitting a PR, please build and cross-build for a variety of architectures locally, with both glibc and musl, and note your local results in PR comments.
 Make sure to cover 64-bit and 32-bit architectures.
 

From 9c4c97188213322f3e759abd4fc73ec7c555d97f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH 2/2] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title or body contains "[ci skip]"
- remove some names
---
 .github/workflows/build.yaml | 85 ++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..666118f8d67
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,85 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - run: common/travis/fetch_upstream.sh
+      - run: common/travis/changed_templates.sh
+      - run: common/travis/fetch-xtools.sh
+      - run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:2019102301'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+      - run: common/travis/set_mirror.sh
+      - run: common/travis/prepare.sh
+      - run: common/travis/fetch_upstream.sh
+      - run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (34 preceding siblings ...)
  2020-11-08  1:59 ` [PR PATCH] [Updated] " ericonr
@ 2020-11-08  2:01 ` ericonr
  2020-11-08  2:09 ` [PR PATCH] [Updated] " ericonr
                   ` (3 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-08  2:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/26095#issuecomment-723518896

Comment:
It has stopped working and I have no idea why. Will investigate further tomorrow

Found the missing parenthesis :)

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (35 preceding siblings ...)
  2020-11-08  2:01 ` ericonr
@ 2020-11-08  2:09 ` ericonr
  2020-11-08  2:20 ` ericonr
                   ` (2 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-08  2:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions
* test description *

A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 5241 bytes --]

From 329aec4cd231170a0fa31f4531ec85573e0cbb6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Thu, 5 Nov 2020 14:38:25 -0300
Subject: [PATCH 1/2] CONTRIBUTING: update information about ci skip.

---
 CONTRIBUTING.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a38751f55ec..6efdf4817e0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -49,7 +49,7 @@ Once you have built your template file or files, the commit message should have
 If you want to describe your changes in more detail, add an empty line followed by those details ([example](https://github.com/void-linux/void-packages/commit/f1c45a502086ba1952f23ace9084a870ce437bc6)).
 
 Pull requests are automatically submitted for Continuous Integration (CI) testing to ensure packages build on various combinations of libc and architecture.
-Packages that take longer than 50 minutes to build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the last line of the last commit message in the PR to avoid wasting CI builder time.
+Packages that take longer than 120 minutes or need more than 14G of storage to complete their build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the PR title or body (the comment field when the PR is being opened) to avoid wasting CI builder time.
 Use your best judgment on build times based on your local building experience. If you skip CI when submitting a PR, please build and cross-build for a variety of architectures locally, with both glibc and musl, and note your local results in PR comments.
 Make sure to cover 64-bit and 32-bit architectures.
 

From 7f4fb13a09600107066042149b434694ab0d8c15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH 2/2] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title or body contains "[ci skip]"
- remove some names
- use more recent void containers
---
 .github/workflows/build.yaml | 85 ++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..6cf7d4ac0c6
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,85 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - run: common/travis/fetch_upstream.sh
+      - run: common/travis/changed_templates.sh
+      - run: common/travis/fetch-xtools.sh
+      - run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:20200607RC01'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once (catches xbps updates)
+          xbps-install -Syu
+          # Upgrade again (in case of an xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+      - run: common/travis/set_mirror.sh
+      - run: common/travis/prepare.sh
+      - run: common/travis/fetch_upstream.sh
+      - run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (36 preceding siblings ...)
  2020-11-08  2:09 ` [PR PATCH] [Updated] " ericonr
@ 2020-11-08  2:20 ` ericonr
  2020-11-08  2:21 ` ericonr
  2020-11-13 22:33 ` [PR PATCH] [Merged]: " ericonr
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-08  2:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions
* test description *

A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 5308 bytes --]

From 329aec4cd231170a0fa31f4531ec85573e0cbb6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Thu, 5 Nov 2020 14:38:25 -0300
Subject: [PATCH 1/2] CONTRIBUTING: update information about ci skip.

---
 CONTRIBUTING.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a38751f55ec..6efdf4817e0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -49,7 +49,7 @@ Once you have built your template file or files, the commit message should have
 If you want to describe your changes in more detail, add an empty line followed by those details ([example](https://github.com/void-linux/void-packages/commit/f1c45a502086ba1952f23ace9084a870ce437bc6)).
 
 Pull requests are automatically submitted for Continuous Integration (CI) testing to ensure packages build on various combinations of libc and architecture.
-Packages that take longer than 50 minutes to build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the last line of the last commit message in the PR to avoid wasting CI builder time.
+Packages that take longer than 120 minutes or need more than 14G of storage to complete their build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the PR title or body (the comment field when the PR is being opened) to avoid wasting CI builder time.
 Use your best judgment on build times based on your local building experience. If you skip CI when submitting a PR, please build and cross-build for a variety of architectures locally, with both glibc and musl, and note your local results in PR comments.
 Make sure to cover 64-bit and 32-bit architectures.
 

From d0b27edf542ff17e417c75dd47a424c56f7fb2a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH 2/2] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title or body contains "[ci skip]"
- remove some names
- use more recent void containers
- fix XBPS self update
---
 .github/workflows/build.yaml | 85 ++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..438af8d8326
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,85 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - run: common/travis/fetch_upstream.sh
+      - run: common/travis/changed_templates.sh
+      - run: common/travis/fetch-xtools.sh
+      - run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:20200607RC01'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once, assume error comes from xbps update
+          xbps-install -Syu || xbps-install -u xbps
+          # Upgrade again (in case there was a xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+      - run: common/travis/set_mirror.sh
+      - run: common/travis/prepare.sh
+      - run: common/travis/fetch_upstream.sh
+      - run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Updated] Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (37 preceding siblings ...)
  2020-11-08  2:20 ` ericonr
@ 2020-11-08  2:21 ` ericonr
  2020-11-13 22:33 ` [PR PATCH] [Merged]: " ericonr
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-08  2:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages ci
https://github.com/void-linux/void-packages/pull/26095

Enable CI on GitHub Actions
* test description *

A patch file from https://github.com/void-linux/void-packages/pull/26095.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ci-26095.patch --]
[-- Type: text/x-diff, Size: 5309 bytes --]

From 329aec4cd231170a0fa31f4531ec85573e0cbb6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Thu, 5 Nov 2020 14:38:25 -0300
Subject: [PATCH 1/2] CONTRIBUTING: update information about ci skip.

---
 CONTRIBUTING.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a38751f55ec..6efdf4817e0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -49,7 +49,7 @@ Once you have built your template file or files, the commit message should have
 If you want to describe your changes in more detail, add an empty line followed by those details ([example](https://github.com/void-linux/void-packages/commit/f1c45a502086ba1952f23ace9084a870ce437bc6)).
 
 Pull requests are automatically submitted for Continuous Integration (CI) testing to ensure packages build on various combinations of libc and architecture.
-Packages that take longer than 50 minutes to build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the last line of the last commit message in the PR to avoid wasting CI builder time.
+Packages that take longer than 120 minutes or need more than 14G of storage to complete their build (for example, Firefox or the Linux kernel) will fail CI and should include `[ci skip]` in the PR title or body (the comment field when the PR is being opened) to avoid wasting CI builder time.
 Use your best judgment on build times based on your local building experience. If you skip CI when submitting a PR, please build and cross-build for a variety of architectures locally, with both glibc and musl, and note your local results in PR comments.
 Make sure to cover 64-bit and 32-bit architectures.
 

From c0bbcc9da8a7857abd6fc3cae3fae7abb635d4e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 2 Nov 2020 18:09:05 -0300
Subject: [PATCH 2/2] .github/workflows: add build.yaml.

This commit enables CI on GitHub Actions.

Taken from nilium's repository:

https://github.com/nilium/ecks-bops-packages/blob/e9bf829752ab82d1170ceb5da60ad656ef372064/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title or body contains "[ci skip]"
- remove some names
- use more recent void containers
- fix XBPS self update
---
 .github/workflows/build.yaml | 85 ++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
 create mode 100644 .github/workflows/build.yaml

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000000..8c0cdccf5d4
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,85 @@
+name: Check PR
+
+on: pull_request
+
+jobs:
+  # Lint changed templates.
+  xlint:
+    name: Lint templates
+    runs-on: ubuntu-18.04
+
+    env:
+      PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+      XLINT: '1'
+      LICENSE_LIST: common/travis/license.lst
+
+    steps:
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - run: common/travis/fetch_upstream.sh
+      - run: common/travis/changed_templates.sh
+      - run: common/travis/fetch-xtools.sh
+      - run: common/travis/xlint.sh
+
+  # Build changed packages.
+  build:
+    name: Build packages
+    runs-on: ubuntu-18.04
+    if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
+
+    container:
+      image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:20200607RC01'
+      env:
+        PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.bootstrap }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64, bootstrap: x86_64 }
+          - { arch: i686, bootstrap: i686 }
+          - { arch: aarch64, bootstrap: x86_64 }
+          - { arch: armv7l, bootstrap: x86_64 }
+          - { arch: x86_64-musl, bootstrap: x86_64-musl }
+          - { arch: armv6l-musl, bootstrap: x86_64-musl }
+          - { arch: aarch64-musl, bootstrap: x86_64-musl }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # Sync and upgrade once, assume error comes from xbps update
+          xbps-install -Syu || xbps-install -yu xbps
+          # Upgrade again (in case there was a xbps update)
+          xbps-install -yu
+          # Install git
+          xbps-install -y git
+
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 200
+      - name: Create hostrepo
+        run: ln -s "$(pwd)" /hostrepo
+      - run: common/travis/set_mirror.sh
+      - run: common/travis/prepare.sh
+      - run: common/travis/fetch_upstream.sh
+      - run: common/travis/changed_templates.sh
+
+      - name: Build packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH"
+          )
+
+      - name: Show files
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
+          )

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: [PR PATCH] [Merged]: Enable CI on GitHub Actions
  2020-11-02 21:10 [PR PATCH] tmp ericonr
                   ` (38 preceding siblings ...)
  2020-11-08  2:21 ` ericonr
@ 2020-11-13 22:33 ` ericonr
  39 siblings, 0 replies; 41+ messages in thread
From: ericonr @ 2020-11-13 22:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 181 bytes --]

There's a merged pull request on the void-packages repository

Enable CI on GitHub Actions
https://github.com/void-linux/void-packages/pull/26095

Description:
* test description *

^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2020-11-13 22:33 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-02 21:10 [PR PATCH] tmp ericonr
2020-11-02 21:13 ` [PR PATCH] [Updated] tmp ericonr
2020-11-02 21:19 ` ericonr
2020-11-03 14:05 ` ericonr
2020-11-03 19:37 ` [PR PATCH] [Updated] Enable CI on GitHub Actions ericonr
2020-11-03 19:43 ` ericonr
2020-11-03 19:53 ` ericonr
2020-11-03 20:28 ` ericonr
2020-11-03 20:29 ` ericonr
2020-11-03 20:31 ` ericonr
2020-11-03 20:32 ` ericonr
2020-11-03 20:34 ` ericonr
2020-11-03 20:41 ` ericonr
2020-11-03 20:42 ` [PR PATCH] [Updated] Enable CI on GitHub Actions [ci skip] ericonr
2020-11-03 20:46 ` ericonr
2020-11-03 20:53 ` ericonr
2020-11-03 20:56 ` ericonr
2020-11-03 20:58 ` ericonr
2020-11-05 16:27 ` Anachron
2020-11-05 17:22 ` [PR PATCH] [Updated] " ericonr
2020-11-05 17:24 ` [PR PATCH] [Updated] Enable CI on GitHub Actions ericonr
2020-11-05 17:41 ` ericonr
2020-11-05 19:27 ` Anachron
2020-11-05 21:23 ` [PR PATCH] [Updated] " ericonr
2020-11-05 21:24 ` ericonr
2020-11-06  0:41 ` [PR REVIEW] " sgn
2020-11-06  0:41 ` sgn
2020-11-06  0:44 ` sgn
2020-11-06  1:17 ` ericonr
2020-11-07 23:02 ` ericonr
2020-11-07 23:02 ` ericonr
2020-11-07 23:05 ` [PR PATCH] [Updated] " ericonr
2020-11-07 23:11 ` ericonr
2020-11-07 23:15 ` ericonr
2020-11-08  1:45 ` ericonr
2020-11-08  1:59 ` [PR PATCH] [Updated] " ericonr
2020-11-08  2:01 ` ericonr
2020-11-08  2:09 ` [PR PATCH] [Updated] " ericonr
2020-11-08  2:20 ` ericonr
2020-11-08  2:21 ` ericonr
2020-11-13 22:33 ` [PR PATCH] [Merged]: " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).