[gentoo-commits] proj/portage-utils:master commit in: .github/workflows/
commit: c6d843bd1ed50bf20d145c9101146f5cf561baa4 Author: Fabian Groffen gentoo org> AuthorDate: Sun Feb 6 15:38:51 2022 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Feb 6 15:38:51 2022 + URL:https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=c6d843bd .github: disable macOS build, I give up for the day Signed-off-by: Fabian Groffen gentoo.org> .github/workflows/build-test-ci.yml | 65 +++-- 1 file changed, 33 insertions(+), 32 deletions(-) diff --git a/.github/workflows/build-test-ci.yml b/.github/workflows/build-test-ci.yml index d3d1ae2..8c6c54e 100644 --- a/.github/workflows/build-test-ci.yml +++ b/.github/workflows/build-test-ci.yml @@ -47,38 +47,39 @@ jobs: - name: make variant ${{ matrix.features }} run: make CFLAGS="-O3 -Wall -Wshadow -pipe" V=1 check - make-check-macos-x64: -strategy: - matrix: -os: - - macos-latest -cc: - - clang -runs-on: ${{ matrix.os }} -env: - CC: ${{ matrix.cc }} -steps: - - name: install deps -run: brew install gpgme gnupg gnu-sed coreutils bash openssl - - name: add homebrew utils to PATH -run: | - echo "$(brew --prefix)/opt/coreutils/libexec/gnubin" >> $GITHUB_PATH - echo "$(brew --prefix)/opt/gnu-sed/libexec/gnubin" >> $GITHUB_PATH - echo "$(brew --prefix)/opt/openssl@3/bin" >> $GITHUB_PATH - - name: add homebrew utils to ENV -run: | - echo 'LDFLAGS="-L'"$(brew --prefix)/opt/openssl@3/lib ${LDFLAGS}"'"' >> $GITHUB_ENV - echo 'CPPFLAGS="-I'"$(brew --prefix)/opt/openssl@3/include ${CPPFLAGS}"'"' >> $GITHUB_ENV - echo 'PKG_CONFIG_PATH="'"$(brew --prefix)/opt/openssl@3/lib/pkgconfig:${PKG_CONFIG_PATH}"'"' >> $GITHUB_ENV - - uses: actions/checkout@v2 - - name: configure -# we need to disable qmanifest for we cannot get b2sum and -# coreutils installed at the same time :/ -run: > - ./configure - --disable-maintainer-mode --disable-openmp --disable-qmanifest - - name: make -run: make CFLAGS="-O3 -Wall -Wshadow -pipe" V=1 check +# I'm too tired for now to make it work +# make-check-macos-x64: +#strategy: +# matrix: +#os: +# - macos-latest +#cc: +# - clang +#runs-on: ${{ matrix.os }} +#env: +# CC: ${{ matrix.cc }} +#steps: +# - name: install deps +#run: brew install gpgme gnupg gnu-sed coreutils bash openssl +# - name: add homebrew utils to PATH +#run: | +# echo "$(brew --prefix)/opt/coreutils/libexec/gnubin" >> $GITHUB_PATH +# echo "$(brew --prefix)/opt/gnu-sed/libexec/gnubin" >> $GITHUB_PATH +# echo "$(brew --prefix)/opt/openssl@3/bin" >> $GITHUB_PATH +# - name: add homebrew utils to ENV +#run: | +# echo 'LDFLAGS="-L'"$(brew --prefix)/opt/openssl@3/lib ${LDFLAGS}"'"' >> $GITHUB_ENV +# echo 'CPPFLAGS="-I'"$(brew --prefix)/opt/openssl@3/include ${CPPFLAGS}"'"' >> $GITHUB_ENV +# echo 'PKG_CONFIG_PATH="'"$(brew --prefix)/opt/openssl@3/lib/pkgconfig:${PKG_CONFIG_PATH}"'"' >> $GITHUB_ENV +# - uses: actions/checkout@v2 +# - name: configure +## we need to disable qmanifest for we cannot get b2sum and +## coreutils installed at the same time :/ +#run: > +# ./configure +# --disable-maintainer-mode --disable-openmp --disable-qmanifest +# - name: make +#run: make CFLAGS="-O3 -Wall -Wshadow -pipe" V=1 check coverity: runs-on: ubuntu-latest
[gentoo-commits] proj/portage-utils:master commit in: .github/workflows/
commit: 074b7d518fff59cc19b5a92b89be0aa365d449eb Author: Fabian Groffen gentoo org> AuthorDate: Sun Feb 6 15:26:08 2022 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Feb 6 15:26:08 2022 + URL:https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=074b7d51 .github: b2sum and coreutils conflict Signed-off-by: Fabian Groffen gentoo.org> .github/workflows/build-test-ci.yml | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test-ci.yml b/.github/workflows/build-test-ci.yml index fd445bd..d3d1ae2 100644 --- a/.github/workflows/build-test-ci.yml +++ b/.github/workflows/build-test-ci.yml @@ -59,7 +59,7 @@ jobs: CC: ${{ matrix.cc }} steps: - name: install deps -run: brew install gpgme gnupg gnu-sed coreutils bash openssl b2sum +run: brew install gpgme gnupg gnu-sed coreutils bash openssl - name: add homebrew utils to PATH run: | echo "$(brew --prefix)/opt/coreutils/libexec/gnubin" >> $GITHUB_PATH @@ -70,11 +70,13 @@ jobs: echo 'LDFLAGS="-L'"$(brew --prefix)/opt/openssl@3/lib ${LDFLAGS}"'"' >> $GITHUB_ENV echo 'CPPFLAGS="-I'"$(brew --prefix)/opt/openssl@3/include ${CPPFLAGS}"'"' >> $GITHUB_ENV echo 'PKG_CONFIG_PATH="'"$(brew --prefix)/opt/openssl@3/lib/pkgconfig:${PKG_CONFIG_PATH}"'"' >> $GITHUB_ENV - echo 'LDFLAGS="-L'"$(brew --prefix)/opt/b2sum/lib ${LDFLAGS}"'"' >> $GITHUB_ENV - echo 'CPPFLAGS="-I'"$(brew --prefix)/opt/b2sum/include ${CPPFLAGS}"'"' >> $GITHUB_ENV - uses: actions/checkout@v2 - name: configure -run: ./configure --disable-maintainer-mode --disable-openmp +# we need to disable qmanifest for we cannot get b2sum and +# coreutils installed at the same time :/ +run: > + ./configure + --disable-maintainer-mode --disable-openmp --disable-qmanifest - name: make run: make CFLAGS="-O3 -Wall -Wshadow -pipe" V=1 check
[gentoo-commits] proj/portage-utils:master commit in: .github/workflows/
commit: d6f203d4f250a4d2f0eabf4370971ad070ea92a9 Author: Fabian Groffen gentoo org> AuthorDate: Sun Feb 6 15:15:06 2022 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Feb 6 15:15:06 2022 + URL:https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=d6f203d4 .github: another attempt at actions Signed-off-by: Fabian Groffen gentoo.org> .github/workflows/build-test-ci.yml | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test-ci.yml b/.github/workflows/build-test-ci.yml index 7f3a262..fd445bd 100644 --- a/.github/workflows/build-test-ci.yml +++ b/.github/workflows/build-test-ci.yml @@ -57,10 +57,21 @@ jobs: runs-on: ${{ matrix.os }} env: CC: ${{ matrix.cc }} - PATH: "$(brew --prefix)/opt/coreutils/libexec/gnubin:$PATH" steps: - name: install deps -run: brew install gpgme gnupg gnu-sed coreutils bash openssl +run: brew install gpgme gnupg gnu-sed coreutils bash openssl b2sum + - name: add homebrew utils to PATH +run: | + echo "$(brew --prefix)/opt/coreutils/libexec/gnubin" >> $GITHUB_PATH + echo "$(brew --prefix)/opt/gnu-sed/libexec/gnubin" >> $GITHUB_PATH + echo "$(brew --prefix)/opt/openssl@3/bin" >> $GITHUB_PATH + - name: add homebrew utils to ENV +run: | + echo 'LDFLAGS="-L'"$(brew --prefix)/opt/openssl@3/lib ${LDFLAGS}"'"' >> $GITHUB_ENV + echo 'CPPFLAGS="-I'"$(brew --prefix)/opt/openssl@3/include ${CPPFLAGS}"'"' >> $GITHUB_ENV + echo 'PKG_CONFIG_PATH="'"$(brew --prefix)/opt/openssl@3/lib/pkgconfig:${PKG_CONFIG_PATH}"'"' >> $GITHUB_ENV + echo 'LDFLAGS="-L'"$(brew --prefix)/opt/b2sum/lib ${LDFLAGS}"'"' >> $GITHUB_ENV + echo 'CPPFLAGS="-I'"$(brew --prefix)/opt/b2sum/include ${CPPFLAGS}"'"' >> $GITHUB_ENV - uses: actions/checkout@v2 - name: configure run: ./configure --disable-maintainer-mode --disable-openmp
[gentoo-commits] proj/portage-utils:master commit in: .github/workflows/
commit: d89fc5c0d2aabe66f2ccf3214d6ed3ad429a021f Author: Fabian Groffen gentoo org> AuthorDate: Sun Feb 6 14:31:22 2022 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Feb 6 14:31:22 2022 + URL:https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=d89fc5c0 .github: try to fix macOS build Signed-off-by: Fabian Groffen gentoo.org> .github/workflows/build-test-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-test-ci.yml b/.github/workflows/build-test-ci.yml index e211b89..7f3a262 100644 --- a/.github/workflows/build-test-ci.yml +++ b/.github/workflows/build-test-ci.yml @@ -57,6 +57,7 @@ jobs: runs-on: ${{ matrix.os }} env: CC: ${{ matrix.cc }} + PATH: "$(brew --prefix)/opt/coreutils/libexec/gnubin:$PATH" steps: - name: install deps run: brew install gpgme gnupg gnu-sed coreutils bash openssl
[gentoo-commits] proj/portage-utils:master commit in: .github/workflows/
commit: 6c33449f9142125bd166c174560798dd426f1755 Author: Fabian Groffen gentoo org> AuthorDate: Sun Feb 6 13:28:51 2022 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Feb 6 13:28:51 2022 + URL:https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=6c33449f .github: coverity also needs builddeps Signed-off-by: Fabian Groffen gentoo.org> .github/workflows/build-test-ci.yml | 4 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-test-ci.yml b/.github/workflows/build-test-ci.yml index 00a93fc..e211b89 100644 --- a/.github/workflows/build-test-ci.yml +++ b/.github/workflows/build-test-ci.yml @@ -69,6 +69,10 @@ jobs: coverity: runs-on: ubuntu-latest steps: + - name: install deps +run: > + sudo apt-get install -y + libgpgme-dev gnupg2 liblz4-tool lzop zstd lzip brotli libb2-dev - uses: actions/checkout@v2 - name: configure run: >
[gentoo-commits] proj/portage-utils:master commit in: .github/workflows/
commit: 55ffda741879894c683899eed37347ff3b0b39a3 Author: Fabian Groffen gentoo org> AuthorDate: Sun Feb 6 13:02:31 2022 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Feb 6 13:02:31 2022 + URL:https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=55ffda74 .github: enable coverity, we setup the secrets Signed-off-by: Fabian Groffen gentoo.org> .github/workflows/build-test-ci.yml | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-test-ci.yml b/.github/workflows/build-test-ci.yml index 94262b6..00a93fc 100644 --- a/.github/workflows/build-test-ci.yml +++ b/.github/workflows/build-test-ci.yml @@ -66,20 +66,19 @@ jobs: - name: make run: make CFLAGS="-O3 -Wall -Wshadow -pipe" V=1 check -# until we are able to set token on Github :( -# coverity: -#runs-on: ubuntu-latest -#steps: -# - uses: actions/checkout@v2 -# - name: configure -#run: > -# ./configure -# --disable-maintainer-mode --disable-openmp -# --enable-qmanifest --enable-qtegrity -# - uses: vapier/coverity-scan-action@v1 -#with: -# email: ${{ secrets.COVERITY_SCAN_EMAIL }} -# token: ${{ secrets.COVERITY_SCAN_TOKEN }} + coverity: +runs-on: ubuntu-latest +steps: + - uses: actions/checkout@v2 + - name: configure +run: > + ./configure + --disable-maintainer-mode --disable-openmp + --enable-qmanifest --enable-qtegrity + - uses: vapier/coverity-scan-action@v1 +with: + email: ${{ secrets.COVERITY_SCAN_EMAIL }} + token: ${{ secrets.COVERITY_SCAN_TOKEN }} valgrind: runs-on: ubuntu-latest
[gentoo-commits] proj/portage-utils:master commit in: .github/workflows/
commit: 40a20be491c2247388f210807e38433c33861a86 Author: Fabian Groffen gentoo org> AuthorDate: Sun Feb 6 12:27:04 2022 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Feb 6 12:27:04 2022 + URL:https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=40a20be4 .github: have to deal with Werror=unknown-pragmas Signed-off-by: Fabian Groffen 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 228a9da..94262b6 100644 --- a/.github/workflows/build-test-ci.yml +++ b/.github/workflows/build-test-ci.yml @@ -45,7 +45,7 @@ jobs: --disable-maintainer-mode --disable-openmp ${{ matrix.features }} - name: make variant ${{ matrix.features }} -run: make CFLAGS="-O3 -Wall -Werror -Wshadow -pipe" V=1 check +run: make CFLAGS="-O3 -Wall -Wshadow -pipe" V=1 check make-check-macos-x64: strategy: @@ -64,7 +64,7 @@ jobs: - name: configure run: ./configure --disable-maintainer-mode --disable-openmp - name: make -run: make CFLAGS="-O3 -Wall -Werror -Wshadow -pipe" V=1 check +run: make CFLAGS="-O3 -Wall -Wshadow -pipe" V=1 check # until we are able to set token on Github :( # coverity:
[gentoo-commits] proj/portage-utils:master commit in: .github/workflows/
commit: da7641278eb4633f66ceca9c94c14056dfe5792f Author: Fabian Groffen gentoo org> AuthorDate: Sun Feb 6 12:24:02 2022 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Feb 6 12:24:02 2022 + URL:https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=da764127 .github: fix yaml syntax Signed-off-by: Fabian Groffen gentoo.org> .github/workflows/build-test-ci.yml | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-test-ci.yml b/.github/workflows/build-test-ci.yml index 641a5ec..228a9da 100644 --- a/.github/workflows/build-test-ci.yml +++ b/.github/workflows/build-test-ci.yml @@ -37,13 +37,13 @@ jobs: - name: install deps run: > sudo apt-get install -y -libgpgme-dev gnupg2 liblz4-tool lzop zstd lzip brotli libb2-dev + libgpgme-dev gnupg2 liblz4-tool lzop zstd lzip brotli libb2-dev - uses: actions/checkout@v2 - name: configure variant ${{ matrix.features }} run: > ./configure ---disable-maintainer-mode --disable-openmp -${{ matrix.features }} + --disable-maintainer-mode --disable-openmp + ${{ matrix.features }} - name: make variant ${{ matrix.features }} run: make CFLAGS="-O3 -Wall -Werror -Wshadow -pipe" V=1 check @@ -74,8 +74,8 @@ jobs: # - name: configure #run: > # ./configure -#--disable-maintainer-mode --disable-openmp -#--enable-qmanifest --enable-qtegrity +# --disable-maintainer-mode --disable-openmp +# --enable-qmanifest --enable-qtegrity # - uses: vapier/coverity-scan-action@v1 #with: # email: ${{ secrets.COVERITY_SCAN_EMAIL }} @@ -87,13 +87,13 @@ jobs: - name: install deps run: > sudo apt-get install -y -libgpgme-dev gnupg2 liblz4-tool lzop zstd lzip brotli libb2-dev -valgrind + libgpgme-dev gnupg2 liblz4-tool lzop zstd lzip brotli libb2-dev + valgrind - uses: actions/checkout@v2 - name: configure run: > ./configure ---disable-maintainer-mode --disable-openmp ---enable-qmanifest --enable-qtegrity + --disable-maintainer-mode --disable-openmp + --enable-qmanifest --enable-qtegrity - name: make run: make CFLAGS="-g -pipe" Q_RUN_WITH_VALGRIND=1 V=1 check
[gentoo-commits] proj/portage-utils:master commit in: .github/workflows/
commit: 146d1bdf696c23084a7951696a992ef73766e01c Author: Fabian Groffen gentoo org> AuthorDate: Sun Feb 6 12:22:50 2022 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Feb 6 12:22:50 2022 + URL:https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=146d1bdf .github: try libgpgme-dev iso numbered variant Signed-off-by: Fabian Groffen 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 272eff8..641a5ec 100644 --- a/.github/workflows/build-test-ci.yml +++ b/.github/workflows/build-test-ci.yml @@ -37,7 +37,7 @@ jobs: - name: install deps run: > sudo apt-get install -y -libgpgme11-dev gnupg2 liblz4-tool lzop zstd lzip brotli libb2-dev +libgpgme-dev gnupg2 liblz4-tool lzop zstd lzip brotli libb2-dev - uses: actions/checkout@v2 - name: configure variant ${{ matrix.features }} run: > @@ -87,7 +87,7 @@ jobs: - name: install deps run: > sudo apt-get install -y -libgpgme11-dev gnupg2 liblz4-tool lzop zstd lzip brotli libb2-dev +libgpgme-dev gnupg2 liblz4-tool lzop zstd lzip brotli libb2-dev valgrind - uses: actions/checkout@v2 - name: configure
[gentoo-commits] proj/portage-utils:master commit in: .github/workflows/
commit: 7f952b13493b2177ca2bc4bc68f9d9ba39c9d40c Author: Fabian Groffen gentoo org> AuthorDate: Sun Feb 6 12:02:23 2022 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Feb 6 12:02:23 2022 + URL:https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=7f952b13 .github: first attempt at build/test automation to replace Travis The Coverity task is disabled for I don't have access to the Github project to add the necessary secrets :( Signed-off-by: Fabian Groffen gentoo.org> .github/workflows/build-test-ci.yml | 99 + 1 file changed, 99 insertions(+) diff --git a/.github/workflows/build-test-ci.yml b/.github/workflows/build-test-ci.yml new file mode 100644 index 000..272eff8 --- /dev/null +++ b/.github/workflows/build-test-ci.yml @@ -0,0 +1,99 @@ +# GitHub actions workflow. +# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions + +name: Build+Test CI + +on: + push: +branches: + - master +tags: + - v* + pull_request: +types: + - opened +branches: + - master + +jobs: + make-check-ubuntu-x64: +strategy: + matrix: +os: + - ubuntu-latest +cc: + - gcc + - clang +features: + - --enable-qmanifest --enable-qtegrity + - --disable-qmanifest --enable-qtegrity + - --enable-qmanifest --disable-qtegrity + - --disable-qmanifest --disable-qtegrity + - "" +runs-on: ${{ matrix.os }} +env: + CC: ${{ matrix.cc }} +steps: + - name: install deps +run: > + sudo apt-get install -y +libgpgme11-dev gnupg2 liblz4-tool lzop zstd lzip brotli libb2-dev + - uses: actions/checkout@v2 + - name: configure variant ${{ matrix.features }} +run: > + ./configure +--disable-maintainer-mode --disable-openmp +${{ matrix.features }} + - name: make variant ${{ matrix.features }} +run: make CFLAGS="-O3 -Wall -Werror -Wshadow -pipe" V=1 check + + make-check-macos-x64: +strategy: + matrix: +os: + - macos-latest +cc: + - clang +runs-on: ${{ matrix.os }} +env: + CC: ${{ matrix.cc }} +steps: + - name: install deps +run: brew install gpgme gnupg gnu-sed coreutils bash openssl + - uses: actions/checkout@v2 + - name: configure +run: ./configure --disable-maintainer-mode --disable-openmp + - name: make +run: make CFLAGS="-O3 -Wall -Werror -Wshadow -pipe" V=1 check + +# until we are able to set token on Github :( +# coverity: +#runs-on: ubuntu-latest +#steps: +# - uses: actions/checkout@v2 +# - name: configure +#run: > +# ./configure +#--disable-maintainer-mode --disable-openmp +#--enable-qmanifest --enable-qtegrity +# - uses: vapier/coverity-scan-action@v1 +#with: +# email: ${{ secrets.COVERITY_SCAN_EMAIL }} +# token: ${{ secrets.COVERITY_SCAN_TOKEN }} + + valgrind: +runs-on: ubuntu-latest +steps: + - name: install deps +run: > + sudo apt-get install -y +libgpgme11-dev gnupg2 liblz4-tool lzop zstd lzip brotli libb2-dev +valgrind + - uses: actions/checkout@v2 + - name: configure +run: > + ./configure +--disable-maintainer-mode --disable-openmp +--enable-qmanifest --enable-qtegrity + - name: make +run: make CFLAGS="-g -pipe" Q_RUN_WITH_VALGRIND=1 V=1 check