[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2024-09-21 Thread Sam James
commit: 9ef54b472e42ba2c5479fbd86b8be2275724b064
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 22 04:33:16 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 22 04:33:16 2024 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=9ef54b47

CI: update muon URL

The 'edge' stuff seems gone.

Signed-off-by: Sam James  gentoo.org>

 .github/workflows/build-test-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build-test-ci.yml 
b/.github/workflows/build-test-ci.yml
index e4e5857..1c21dcc 100644
--- a/.github/workflows/build-test-ci.yml
+++ b/.github/workflows/build-test-ci.yml
@@ -31,7 +31,7 @@ jobs:
 sudo pip3 install meson
 ;;
   muon)
-wget https://muon.build/releases/edge/muon-edge-amd64-linux-static 
-O muon
+wget 
https://muon.build/releases/v0.3.0/muon-v0.3.0-amd64-linux-static -O muon
 chmod +x muon
 sudo install -Dm755 muon /usr/local/bin/muon
 ;;



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2024-01-25 Thread Sam James
commit: a1d0123581ede02b54cf2c071507612dde25236c
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 25 12:10:45 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 25 12:12:46 2024 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=a1d01235

ci: make tests verbose

muon doesn't support --print-errorlogs so just use -v which both muon and
meson support.

Signed-off-by: Sam James  gentoo.org>

 .github/workflows/build-test-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build-test-ci.yml 
b/.github/workflows/build-test-ci.yml
index 3d170e3..e4e5857 100644
--- a/.github/workflows/build-test-ci.yml
+++ b/.github/workflows/build-test-ci.yml
@@ -53,7 +53,7 @@ jobs:
 -Db_sanitize="${SANITIZER}" \
 build
 ninja -C build
-( cd build && "$BB" test; )
+( cd build && "$BB" test -v ; )
 
   build-macos:
 strategy:



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2024-01-15 Thread Mike Frysinger
commit: 16db5db01027f058dcc2315f06f912fa480664f2
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Jan 16 05:01:48 2024 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Jan 16 05:01:48 2024 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=16db5db0

github: add codespell checker

Signed-off-by: Mike Frysinger  gentoo.org>

 .github/workflows/codespell.yml | 13 +
 1 file changed, 13 insertions(+)

diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml
new file mode 100644
index 000..605d2bb
--- /dev/null
+++ b/.github/workflows/codespell.yml
@@ -0,0 +1,13 @@
+# GitHub actions workflow.
+# 
https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
+
+name: Codespell
+
+on: [push, pull_request]
+
+jobs:
+  codespell:
+runs-on: ubuntu-latest
+steps:
+- uses: actions/checkout@v4
+- uses: codespell-project/actions-codespell@v2



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2024-01-02 Thread Mike Frysinger
commit: b71d01d6054e270ab87e42df2d4d704e41281724
Author: Mike Frysinger  chromium  org>
AuthorDate: Tue Jan  2 17:39:34 2024 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Jan  2 18:03:25 2024 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=b71d01d6

github: add python checkers

Signed-off-by: Mike Frysinger  chromium.org>
Signed-off-by: Mike Frysinger  gentoo.org>

 .github/workflows/python.yml | 28 
 1 file changed, 28 insertions(+)

diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
new file mode 100644
index 000..7b7dcaf
--- /dev/null
+++ b/.github/workflows/python.yml
@@ -0,0 +1,28 @@
+# GitHub actions workflow.
+# 
https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
+
+name: Python
+
+on: [push, pull_request]
+
+jobs:
+  python:
+runs-on: ubuntu-latest
+steps:
+- uses: actions/checkout@v4
+# NB: v1.4.0 covers Python 3.8.
+- uses: ricardochaves/python-lint@v1.4.0
+  with:
+python-root-list: lddtree.py pylint
+use-pylint: true
+use-pycodestyle: false
+use-flake8: false
+use-black: true
+use-mypy: true
+use-isort: true
+extra-pylint-options: ""
+extra-pycodestyle-options: ""
+extra-flake8-options: ""
+extra-black-options: ""
+extra-mypy-options: ""
+extra-isort-options: ""



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2024-01-02 Thread Mike Frysinger
commit: 26945e75a7802a987ec81d1578aef4629258dc32
Author: Mike Frysinger  chromium  org>
AuthorDate: Tue Jan  2 16:35:49 2024 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Jan  2 16:35:49 2024 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=26945e75

github: disable fuzzing on macOS

The builder doesn't work with errors like:
ld: file not found: 
/Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/lib/darwin/libclang_rt.fuzzer_osx.a

Signed-off-by: Mike Frysinger  chromium.org>
Signed-off-by: Mike Frysinger  gentoo.org>

 .github/workflows/build-test-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build-test-ci.yml 
b/.github/workflows/build-test-ci.yml
index e82f5f9..44aa5c9 100644
--- a/.github/workflows/build-test-ci.yml
+++ b/.github/workflows/build-test-ci.yml
@@ -72,7 +72,7 @@ jobs:
   -Duse_seccomp=false \
   -Dbuild_manpages=disabled \
   -Dtests=true \
-  -Duse_fuzzing=true \
+  -Duse_fuzzing=false \
   build
 ninja -C build
 # The unittests generally assume a Linux ELF host, so don't bother 
making



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2024-01-02 Thread Mike Frysinger
commit: 81b85a0bf3a6e6988ada582f653449a3217b71be
Author: Mike Frysinger  chromium  org>
AuthorDate: Tue Jan  2 16:46:23 2024 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Jan  2 16:46:23 2024 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=81b85a0b

github: update to checkout@v4

Signed-off-by: Mike Frysinger  chromium.org>
Signed-off-by: Mike Frysinger  gentoo.org>

 .github/workflows/build-test-ci.yml   | 4 ++--
 .github/workflows/ci-alpine-linux.yml | 2 +-
 .github/workflows/coverity.yml| 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build-test-ci.yml 
b/.github/workflows/build-test-ci.yml
index 44aa5c9..3d170e3 100644
--- a/.github/workflows/build-test-ci.yml
+++ b/.github/workflows/build-test-ci.yml
@@ -36,7 +36,7 @@ jobs:
 sudo install -Dm755 muon /usr/local/bin/muon
 ;;
 esac
-- uses: actions/checkout@v3
+- uses: actions/checkout@v4
 - run: |
 export PKG_CONFIG_PATH="/usr/lib/$(uname -m)-linux-gnu/pkgconfig/"
 case "$BB" in
@@ -66,7 +66,7 @@ jobs:
 steps:
 - name: Install dependencies
   run: brew install meson ninja
-- uses: actions/checkout@v3
+- uses: actions/checkout@v4
 - run: |
 meson -Duse_libcap=disabled \
   -Duse_seccomp=false \

diff --git a/.github/workflows/ci-alpine-linux.yml 
b/.github/workflows/ci-alpine-linux.yml
index a87fdfb..575e959 100644
--- a/.github/workflows/ci-alpine-linux.yml
+++ b/.github/workflows/ci-alpine-linux.yml
@@ -28,7 +28,7 @@ jobs:
 libcap-dev \
 libseccomp \
 libseccomp-dev
-  - uses: actions/checkout@v3
+  - uses: actions/checkout@v4
   - run: meson setup -Dtests=false -Duse_fuzzing=false builddir/
   - run: meson compile -C builddir
   - run: meson test --verbose -C builddir

diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index 20a47e5..1cd6c55 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -12,7 +12,7 @@ jobs:
   coverity:
 runs-on: ubuntu-latest
 steps:
-- uses: actions/checkout@v3
+- uses: actions/checkout@v4
 - uses: vapier/coverity-scan-action@v1
   with:
 email: vap...@gentoo.org



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2024-01-02 Thread Mike Frysinger
commit: da4aab84a127ce5e201b53b08cff42b3181315cc
Author: Mike Frysinger  chromium  org>
AuthorDate: Tue Jan  2 16:35:49 2024 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Jan  2 16:35:49 2024 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=da4aab84

github: disable fuzzing on macOS

The builder doesn't work with errors like:
ld: file not found: 
/Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/lib/darwin/libclang_rt.fuzzer_osx.a

Signed-off-by: Mike Frysinger  chromium.org>
Signed-off-by: Mike Frysinger  gentoo.org>

 .github/workflows/build-test-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build-test-ci.yml 
b/.github/workflows/build-test-ci.yml
index e82f5f9..5c43a9c 100644
--- a/.github/workflows/build-test-ci.yml
+++ b/.github/workflows/build-test-ci.yml
@@ -72,7 +72,7 @@ jobs:
   -Duse_seccomp=false \
   -Dbuild_manpages=disabled \
   -Dtests=true \
-  -Duse_fuzzing=true \
+  -Duse_fuzzing=disabled \
   build
 ninja -C build
 # The unittests generally assume a Linux ELF host, so don't bother 
making



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2023-12-14 Thread Mike Frysinger
commit: 6bf7ac1211f9d15a0a359e605ddc0ac8bdb39fa7
Author: Mike Frysinger  gentoo  org>
AuthorDate: Thu Dec 14 21:27:37 2023 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Thu Dec 14 21:27:37 2023 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=6bf7ac12

github: update to checkout@v3

Signed-off-by: Mike Frysinger  chromium.org>
Signed-off-by: Mike Frysinger  gentoo.org>

 .github/workflows/build-test-ci.yml   | 4 ++--
 .github/workflows/ci-alpine-linux.yml | 2 +-
 .github/workflows/coverity.yml| 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build-test-ci.yml 
b/.github/workflows/build-test-ci.yml
index 18c13f0..e82f5f9 100644
--- a/.github/workflows/build-test-ci.yml
+++ b/.github/workflows/build-test-ci.yml
@@ -36,7 +36,7 @@ jobs:
 sudo install -Dm755 muon /usr/local/bin/muon
 ;;
 esac
-- uses: actions/checkout@v2
+- uses: actions/checkout@v3
 - run: |
 export PKG_CONFIG_PATH="/usr/lib/$(uname -m)-linux-gnu/pkgconfig/"
 case "$BB" in
@@ -66,7 +66,7 @@ jobs:
 steps:
 - name: Install dependencies
   run: brew install meson ninja
-- uses: actions/checkout@v2
+- uses: actions/checkout@v3
 - run: |
 meson -Duse_libcap=disabled \
   -Duse_seccomp=false \

diff --git a/.github/workflows/ci-alpine-linux.yml 
b/.github/workflows/ci-alpine-linux.yml
index de7157c..a87fdfb 100644
--- a/.github/workflows/ci-alpine-linux.yml
+++ b/.github/workflows/ci-alpine-linux.yml
@@ -28,7 +28,7 @@ jobs:
 libcap-dev \
 libseccomp \
 libseccomp-dev
-  - uses: actions/checkout@v2
+  - uses: actions/checkout@v3
   - run: meson setup -Dtests=false -Duse_fuzzing=false builddir/
   - run: meson compile -C builddir
   - run: meson test --verbose -C builddir

diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index 7e729c4..20a47e5 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -12,7 +12,7 @@ jobs:
   coverity:
 runs-on: ubuntu-latest
 steps:
-- uses: actions/checkout@v2
+- uses: actions/checkout@v3
 - uses: vapier/coverity-scan-action@v1
   with:
 email: vap...@gentoo.org



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2023-01-28 Thread Sam James
commit: 65f4631bdc891fb2a8cfd13f92acaeeba3d9cf2b
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 29 03:44:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 29 03:47:11 2023 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=65f4631b

.github: add Alpine CI

Signed-off-by: Sam James  gentoo.org>

 .github/workflows/ci-alpine-linux.yml | 34 ++
 1 file changed, 34 insertions(+)

diff --git a/.github/workflows/ci-alpine-linux.yml 
b/.github/workflows/ci-alpine-linux.yml
new file mode 100644
index 000..de7157c
--- /dev/null
+++ b/.github/workflows/ci-alpine-linux.yml
@@ -0,0 +1,34 @@
+name: ci_alpine_linux
+
+on: [push, pull_request]
+
+jobs:
+
+  alpine:
+name: Alpine Linux
+runs-on: ubuntu-latest
+container: alpine:latest
+strategy:
+  fail-fast: false
+  matrix:
+compiler:
+  - gcc
+  - clang
+env:
+  CC: ${{ matrix.compiler }}
+steps:
+  - run: >-
+  apk --no-cache add \
+build-base \
+clang \
+meson \
+pkgconf \
+py3-elftools \
+libcap \
+libcap-dev \
+libseccomp \
+libseccomp-dev
+  - uses: actions/checkout@v2
+  - run: meson setup -Dtests=false -Duse_fuzzing=false builddir/
+  - run: meson compile -C builddir
+  - run: meson test --verbose -C builddir



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2023-01-05 Thread Sam James
commit: 654de6dd526dc660faadee393f9de7bfc049c23f
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan  6 06:43:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan  6 06:55:04 2023 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=654de6dd

CI: Add ASAN, UBSAN to CI

Signed-off-by: Sam James  gentoo.org>

 .github/workflows/build-test-ci.yml | 10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/build-test-ci.yml 
b/.github/workflows/build-test-ci.yml
index 52c0ee1..18c13f0 100644
--- a/.github/workflows/build-test-ci.yml
+++ b/.github/workflows/build-test-ci.yml
@@ -3,12 +3,7 @@
 
 name: Build+Test CI
 
-on:
-  push:
-branches: [master, gh-actions]
-tags: [v*]
-  pull_request:
-types: [created, opened, edited]
+on: [pull_request, push]
 
 jobs:
   make:
@@ -17,11 +12,13 @@ jobs:
 os: [ubuntu-latest]
 cc: [gcc, clang]
 bb: [meson, muon]
+sanitizer: [none, address, undefined]
   fail-fast: false
 runs-on: ${{ matrix.os }}
 env:
   CC: ${{ matrix.cc }}
   BB: ${{ matrix.bb }}
+  SANITIZER: ${{ matrix.sanitizer }}
 steps:
 - name: Install dependencies
   run: |
@@ -53,6 +50,7 @@ jobs:
 -Dbuild_manpages=disabled \
 -Dtests=true \
 -Duse_fuzzing=true \
+-Db_sanitize="${SANITIZER}" \
 build
 ninja -C build
 ( cd build && "$BB" test; )



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2022-11-01 Thread Sam James
commit: fb6a858813afb897d50ecc268eab8f5bf3208490
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov  2 00:40:28 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov  2 00:40:46 2022 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=fb6a8588

.github: update muon URL

Signed-off-by: Sam James  gentoo.org>

 .github/workflows/build-test-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build-test-ci.yml 
b/.github/workflows/build-test-ci.yml
index 98a346d..52c0ee1 100644
--- a/.github/workflows/build-test-ci.yml
+++ b/.github/workflows/build-test-ci.yml
@@ -34,7 +34,7 @@ jobs:
 sudo pip3 install meson
 ;;
   muon)
-wget https://muon.build/releases/muon-amd64-linux-static -O muon
+wget https://muon.build/releases/edge/muon-edge-amd64-linux-static 
-O muon
 chmod +x muon
 sudo install -Dm755 muon /usr/local/bin/muon
 ;;



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2022-11-01 Thread Sam James
commit: b8cea120c83f70d3f9077e41c18b40443cdb8cf0
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov  2 00:37:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov  2 00:38:55 2022 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=b8cea120

.github: run build-test-ci for all branches

Signed-off-by: Sam James  gentoo.org>
Closes: https://github.com/gentoo/pax-utils/pull/8
Signed-off-by: Sam James  gentoo.org>

 .github/workflows/build-test-ci.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/workflows/build-test-ci.yml 
b/.github/workflows/build-test-ci.yml
index e2b7e0e..98a346d 100644
--- a/.github/workflows/build-test-ci.yml
+++ b/.github/workflows/build-test-ci.yml
@@ -8,8 +8,7 @@ on:
 branches: [master, gh-actions]
 tags: [v*]
   pull_request:
-types: [opened]
-branches: [master]
+types: [created, opened, edited]
 
 jobs:
   make:



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/, /

2022-07-11 Thread Sam James
commit: e41af8d4c5cc22a5dd824e3ffe84000e9aef3480
Author: Arsen Arsenović  aarsen  me>
AuthorDate: Tue Jun 28 08:38:45 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 12 06:33:20 2022 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=e41af8d4

gha: add muon to Linux test matrix

Signed-off-by: Arsen Arsenović  aarsen.me>
Closes: https://github.com/gentoo/pax-utils/pull/7
Signed-off-by: Sam James  gentoo.org>

 .github/workflows/build-test-ci.yml | 38 -
 meson_options.txt   |  6 +++---
 2 files changed, 32 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/build-test-ci.yml 
b/.github/workflows/build-test-ci.yml
index 04d6fc5..e2b7e0e 100644
--- a/.github/workflows/build-test-ci.yml
+++ b/.github/workflows/build-test-ci.yml
@@ -17,26 +17,46 @@ jobs:
   matrix:
 os: [ubuntu-latest]
 cc: [gcc, clang]
+bb: [meson, muon]
+  fail-fast: false
 runs-on: ${{ matrix.os }}
 env:
   CC: ${{ matrix.cc }}
+  BB: ${{ matrix.bb }}
 steps:
 - name: Install dependencies
   run: |
 sudo apt-get update
 sudo apt-get install -y python3-pyelftools python3-pip \
-libcap-dev libseccomp-dev ninja-build
-sudo pip3 install meson
+libcap-dev libseccomp-dev ninja-build \
+pkg-config
+case "$BB" in
+  meson)
+sudo pip3 install meson
+;;
+  muon)
+wget https://muon.build/releases/muon-amd64-linux-static -O muon
+chmod +x muon
+sudo install -Dm755 muon /usr/local/bin/muon
+;;
+esac
 - uses: actions/checkout@v2
 - run: |
-meson -Duse_libcap=enabled \
-  -Duse_seccomp=true \
-  -Dbuild_manpages=disabled \
-  -Dtests=true \
-  -Duse_fuzzing=true \
-  build
+export PKG_CONFIG_PATH="/usr/lib/$(uname -m)-linux-gnu/pkgconfig/"
+case "$BB" in
+  muon)
+alias ninja="muon samu"
+;;
+esac
+
+"$BB" setup -Duse_libcap=enabled \
+-Duse_seccomp=true \
+-Dbuild_manpages=disabled \
+-Dtests=true \
+-Duse_fuzzing=true \
+build
 ninja -C build
-ninja -C build test
+( cd build && "$BB" test; )
 
   build-macos:
 strategy:

diff --git a/meson_options.txt b/meson_options.txt
index c96865d..04b51fe 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -4,14 +4,14 @@ option('lddtree_implementation', type : 'combo',
 option('use_libcap', type : 'feature', value : 'auto',
   description : 'Enable listing capabilities in pspax output (requires libcap)'
 )
-option('use_seccomp', type : 'boolean', value : 'true',
+option('use_seccomp', type : 'boolean', value : true,
   description : 'Enable seccomp filters at runtime (does *not* require 
libseccomp, but does require kernel support)'
 )
 option('build_manpages', type : 'feature', value : 'auto',
   description : 'Build manuals via DocBook (requires xmlto)')
-option('tests', type : 'boolean', value : 'true'
+option('tests', type : 'boolean', value : true,
   description : 'Enable testing (not guaranteed to work)'
 )
-option('use_fuzzing', type : 'boolean', value : 'true',
+option('use_fuzzing', type : 'boolean', value : true,
   description : 'Also build LibFuzzer fuzzers as tests'
 )



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2022-03-24 Thread Sam James
commit: d669505668a9a5ea550841249582589c787f6d38
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu Mar 24 15:33:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 24 15:42:29 2022 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=d6695056

GH: apt-get update before installing deps

Signed-off-by: WANG Xuerui  gentoo.org>
Closes: https://github.com/gentoo/pax-utils/pull/6
Signed-off-by: Sam James  gentoo.org>

 .github/workflows/build-test-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build-test-ci.yml 
b/.github/workflows/build-test-ci.yml
index e23f0a3..1b69cc6 100644
--- a/.github/workflows/build-test-ci.yml
+++ b/.github/workflows/build-test-ci.yml
@@ -22,7 +22,7 @@ jobs:
   CC: ${{ matrix.cc }}
 steps:
 - name: Install dependencies
-  run: sudo apt-get install -y python3-pyelftools
+  run: sudo apt-get update && sudo apt-get install -y python3-pyelftools
 - uses: actions/checkout@v2
 # Hack up the man pages as installing xmlto is very expensive.
 # We'll test this in the autotools builder instead.
@@ -44,7 +44,7 @@ jobs:
   CC: ${{ matrix.cc }}
 steps:
 - name: Install dependencies
-  run: sudo apt-get install -y python3-pyelftools xmlto
+  run: sudo apt-get update && sudo apt-get install -y python3-pyelftools 
xmlto
 - name: Checkout gnulib
   uses: actions/checkout@v2
   with:



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2022-02-05 Thread Mike Frysinger
commit: 47f5c9ddd4d2123babeab152a143a0f28e4b7a99
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sun Feb  6 01:26:30 2022 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sun Feb  6 01:26:30 2022 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=47f5c9dd

GH: simplify coverity GH action

Newer version has better defaults.

Signed-off-by: Mike Frysinger  gentoo.org>

 .github/workflows/coverity.yml | 11 ++-
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index f8ae34b..7e729c4 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -10,17 +10,10 @@ on:
 
 jobs:
   coverity:
-strategy:
-  matrix:
-os: [ubuntu-latest]
-cc: [gcc]
-runs-on: ${{ matrix.os }}
-env:
-  CC: ${{ matrix.cc }}
+runs-on: ubuntu-latest
 steps:
 - uses: actions/checkout@v2
-- uses: vapier/coverity-scan-action@v0
+- uses: vapier/coverity-scan-action@v1
   with:
-project: gentoo%2Fpax-utils
 email: vap...@gentoo.org
 token: ${{ secrets.COVERITY_SCAN_TOKEN }}



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2021-10-04 Thread Mike Frysinger
commit: 5480aa80862539562d282742b6fb759aff973df9
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Oct  5 03:42:24 2021 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Oct  5 03:43:57 2021 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=5480aa80

switch back to my action name

Still trying to figure out how custom actions work.

Signed-off-by: Mike Frysinger  gentoo.org>

 .github/workflows/coverity.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index cc8ff70..f8ae34b 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -19,7 +19,7 @@ jobs:
   CC: ${{ matrix.cc }}
 steps:
 - uses: actions/checkout@v2
-- uses: actions/unofficial-coverity-scan@v0
+- uses: vapier/coverity-scan-action@v0
   with:
 project: gentoo%2Fpax-utils
 email: vap...@gentoo.org



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2021-10-04 Thread Mike Frysinger
commit: e46bcca15af0b41a59dbd4be3506fd3a6c68edfb
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Oct  5 03:33:02 2021 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Oct  5 03:33:02 2021 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=e46bcca1

switch to published action name

Signed-off-by: Mike Frysinger  gentoo.org>

 .github/workflows/coverity.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index f8ae34b..cc8ff70 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -19,7 +19,7 @@ jobs:
   CC: ${{ matrix.cc }}
 steps:
 - uses: actions/checkout@v2
-- uses: vapier/coverity-scan-action@v0
+- uses: actions/unofficial-coverity-scan@v0
   with:
 project: gentoo%2Fpax-utils
 email: vap...@gentoo.org



[gentoo-commits] proj/pax-utils:master commit in: .github/workflows/

2021-10-04 Thread Mike Frysinger
commit: 6e4bb601f5b03660a2064b9acb5cbf4965e5189e
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Oct  5 02:27:23 2021 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Oct  5 03:20:21 2021 +
URL:https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=6e4bb601

switch to Coverity Scan GH action

Signed-off-by: Mike Frysinger  gentoo.org>

 .github/workflows/coverity.yml | 36 +---
 1 file changed, 5 insertions(+), 31 deletions(-)

diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index 0cdfec2..f8ae34b 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -16,37 +16,11 @@ jobs:
 cc: [gcc]
 runs-on: ${{ matrix.os }}
 env:
-  COVERITY_EMAIL: vap...@gentoo.org
-  COVERITY_PROJECT: gentoo%2Fpax-utils
   CC: ${{ matrix.cc }}
 steps:
 - uses: actions/checkout@v2
-
-- name: Download Coverity Build Tool
-  run: |
-wget -nv https://scan.coverity.com/download/cxx/linux64 \
-  --post-data "token=${TOKEN}&project=${COVERITY_PROJECT}" \
-  -O cov-analysis-linux64.tar.gz
-mkdir cov-analysis
-tar -xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis
-  env:
-TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
-
-- name: Build with cov-build
-  run: |
-export PATH="${PWD}/cov-analysis/bin:${PATH}"
-cov-build --dir cov-int make
-
-- name: Submit the result to Coverity Scan
-  run: |
-tar -czvf cov-int.tgz cov-int
-curl \
-  --form project="${COVERITY_PROJECT}" \
-  --form token="${TOKEN}" \
-  --form email="${COVERITY_EMAIL}" \
-  --form file=@cov-int.tgz \
-  --form version="${GITHUB_SHA}" \
-  --form description="pax-utils git" \
-  "https://scan.coverity.com/builds?project=${COVERITY_PROJECT}";
-  env:
-TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
+- uses: vapier/coverity-scan-action@v0
+  with:
+project: gentoo%2Fpax-utils
+email: vap...@gentoo.org
+token: ${{ secrets.COVERITY_SCAN_TOKEN }}