Skip to content

Commit

Permalink
Merge pull request #1602 from pmienk/master
Browse files Browse the repository at this point in the history
Regenerate artifacts.
  • Loading branch information
evoskuil authored Jan 29, 2025
2 parents a31857c + fd927c3 commit 324923d
Showing 1 changed file with 104 additions and 17 deletions.
121 changes: 104 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ jobs:
optimization: "debug"
assert: "debug"
coverage: "nocov"
detectcpuflags: "ignore"
boost: "--build-boost"
icu: ""
llvm: ""
secp256k1: "--build-secp256k1"
cc: "clang-16"
flags: "-Og -fPIE"
options: "--enable-isystem --enable-avx2 --enable-sse4"
options: "--enable-isystem --enable-avx2 --enable-sse41"
packager: "apt"
packages: ""

Expand All @@ -39,6 +40,7 @@ jobs:
optimization: "size"
assert: "ndebug"
coverage: "nocov"
detectcpuflags: "ignore"
boost: "--build-boost"
icu: "--build-icu --with-icu"
llvm: ""
Expand All @@ -55,27 +57,29 @@ jobs:
optimization: "size"
assert: "ndebug"
coverage: "nocov"
detectcpuflags: "ignore"
boost: "--build-boost"
icu: ""
llvm: ""
secp256k1: "--build-secp256k1"
cc: "gcc-12"
flags: "-Os -fPIE"
options: "--enable-isystem --enable-sse4"
options: "--enable-isystem --enable-sse41"
packager: "apt"
packages: ""

- os: ubuntu-24.04
cxx: "g++-12"
cxx: "g++"
link: "static"
optimization: "size"
assert: "ndebug"
coverage: "cov"
detectcpuflags: "detect"
boost: "--build-boost"
icu: "--build-icu --with-icu"
llvm: ""
secp256k1: "--build-secp256k1"
cc: "gcc-12"
cc: "gcc"
flags: "-Os -g --coverage -fPIE"
options: "--enable-isystem"
packager: "apt"
Expand All @@ -87,6 +91,7 @@ jobs:
optimization: "size"
assert: "ndebug"
coverage: "nocov"
detectcpuflags: "ignore"
boost: "--build-boost"
icu: ""
llvm: "llvm@16"
Expand All @@ -103,6 +108,7 @@ jobs:
optimization: "size"
assert: "ndebug"
coverage: "nocov"
detectcpuflags: "ignore"
boost: "--build-boost"
icu: ""
llvm: "llvm@16"
Expand Down Expand Up @@ -145,6 +151,29 @@ jobs:
echo "PATH=/opt/homebrew/opt/${{ matrix.llvm }}/bin:$PATH" >> $GITHUB_ENV
fi
- name: Determine CPU flags
shell: bash
run: |
if [[ -n $(cat /proc/cpuinfo | grep flags | grep " sse4_1 ") ]]; then
echo "CPU_SUPPORT_SSE41=--enable-sse41" >> $GITHUB_ENV
fi
if [[ -n $(cat /proc/cpuinfo | grep flags | grep " avx " | grep " avx2 ") ]]; then
echo "CPU_SUPPORT_AVX2=--enable-avx2" >> $GITHUB_ENV
fi
if [[ -n $(cat /proc/cpuinfo | grep flags | grep " avx512bw ") ]]; then
echo "CPU_SUPPORT_AVX512=--enable-avx512" >> $GITHUB_ENV
fi
if [[ -n $(cat /proc/cpuinfo | grep flags | grep " sha_ni ") ]]; then
echo "CPU_SUPPORT_SHANI=--enable-shani" >> $GITHUB_ENV
fi
if [[ ${{ matrix.detectcpuflags }} == 'detect' ]]; then
echo "CPU_SUPPORTED_FLAGS='$CPU_SUPPORT_SSE41 $CPU_SUPPORT_AVX2 $CPU_SUPPORT_AVX512 $CPU_SUPPORT_SHANI'" >> $GITHUB_ENV
fi
- name: Denormalize parameterization
shell: bash
run: |
Expand Down Expand Up @@ -183,16 +212,17 @@ jobs:
--prefix=${{ env.LIBBITCOIN_SRC_PATH }}prefix
${{ env.LINKAGE }}
${{ env.ASSERT_NDEBUG }}
${{ env.CPU_SUPPORTED_FLAGS }}
${{ matrix.boost }}
${{ matrix.icu }}
${{ matrix.secp256k1 }}
- name: Coveralls Calculation
if: ${{ matrix.coverage == 'cov' }}
run: |
lcov --directory . --capture --ignore-errors version --output-file coverage.info
lcov --remove coverage.info "/usr/*" "${{ env.LIBBITCOIN_SRC_PATH }}prefix/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/src/wallet/addresses/qrencode/*" --output-file --ignore-errors version coverage.info
lcov --list --ignore-errors version coverage.info
lcov --ignore-errors version,gcov,mismatch --directory . --capture --output-file coverage.info
lcov --ignore-errors unused --remove coverage.info "/usr/*" "${{ env.LIBBITCOIN_SRC_PATH }}prefix/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/src/wallet/addresses/qrencode/*" --output-file coverage.info
lcov --list coverage.info
- name: Coveralls.io Upload
if: ${{ matrix.coverage == 'cov' }}
Expand Down Expand Up @@ -264,13 +294,14 @@ jobs:
optimization: "debug"
assert: "debug"
coverage: "nocov"
detectcpuflags: "ignore"
boost: "--build-boost"
icu: ""
llvm: ""
secp256k1: "--build-secp256k1"
cc: "clang-16"
flags: "-Og -fPIE"
options: "-Denable-avx2=on -Denable-sse4=on"
options: "-Denable-avx2=on -Denable-sse41=on"
packager: "apt"
packages: ""

Expand All @@ -280,6 +311,7 @@ jobs:
optimization: "size"
assert: "ndebug"
coverage: "nocov"
detectcpuflags: "ignore"
boost: "--build-boost"
icu: "--build-icu --with-icu"
llvm: ""
Expand All @@ -296,13 +328,14 @@ jobs:
optimization: "size"
assert: "ndebug"
coverage: "nocov"
detectcpuflags: "ignore"
boost: "--build-boost"
icu: ""
llvm: ""
secp256k1: "--build-secp256k1"
cc: "gcc-12"
flags: "-Os -fPIE"
options: "-Denable-sse4=on"
options: "-Denable-sse41=on"
packager: "apt"
packages: ""

Expand All @@ -312,6 +345,7 @@ jobs:
optimization: "size"
assert: "ndebug"
coverage: "nocov"
detectcpuflags: "ignore"
boost: "--build-boost"
icu: "--build-icu --with-icu"
llvm: ""
Expand All @@ -328,6 +362,7 @@ jobs:
optimization: "size"
assert: "ndebug"
coverage: "nocov"
detectcpuflags: "ignore"
boost: "--build-boost"
icu: ""
llvm: "llvm@16"
Expand All @@ -344,6 +379,7 @@ jobs:
optimization: "size"
assert: "ndebug"
coverage: "nocov"
detectcpuflags: "ignore"
boost: "--build-boost"
icu: ""
llvm: "llvm@16"
Expand Down Expand Up @@ -386,6 +422,29 @@ jobs:
echo "PATH=/opt/homebrew/opt/${{ matrix.llvm }}/bin:$PATH" >> $GITHUB_ENV
fi
- name: Determine CPU flags
shell: bash
run: |
if [[ -n $(cat /proc/cpuinfo | grep flags | grep " sse4_1 ") ]]; then
echo "CPU_SUPPORT_SSE41=-Denable-sse41=on" >> $GITHUB_ENV
fi
if [[ -n $(cat /proc/cpuinfo | grep flags | grep " avx " | grep " avx2 ") ]]; then
echo "CPU_SUPPORT_AVX2=-Denable-avx2=on" >> $GITHUB_ENV
fi
if [[ -n $(cat /proc/cpuinfo | grep flags | grep " avx512bw ") ]]; then
echo "CPU_SUPPORT_AVX512=-Denable-avx512=on" >> $GITHUB_ENV
fi
if [[ -n $(cat /proc/cpuinfo | grep flags | grep " sha_ni ") ]]; then
echo "CPU_SUPPORT_SHANI=-Denable-shani=on" >> $GITHUB_ENV
fi
if [[ ${{ matrix.detectcpuflags }} == 'detect' ]]; then
echo "CPU_SUPPORTED_FLAGS='$CPU_SUPPORT_SSE41 $CPU_SUPPORT_AVX2 $CPU_SUPPORT_AVX512 $CPU_SUPPORT_SHANI'" >> $GITHUB_ENV
fi
- name: Denormalize parameterization
shell: bash
run: |
Expand Down Expand Up @@ -427,16 +486,17 @@ jobs:
--prefix=${{ env.LIBBITCOIN_SRC_PATH }}prefix
${{ env.LINKAGE }}
${{ env.ASSERT_NDEBUG }}
${{ env.CPU_SUPPORTED_FLAGS }}
${{ matrix.boost }}
${{ matrix.icu }}
${{ matrix.secp256k1 }}
- name: Coveralls Calculation
if: ${{ matrix.coverage == 'cov' }}
run: |
lcov --directory . --capture --ignore-errors version --output-file coverage.info
lcov --remove coverage.info "/usr/*" "${{ env.LIBBITCOIN_SRC_PATH }}prefix/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/src/wallet/addresses/qrencode/*" --output-file --ignore-errors version coverage.info
lcov --list --ignore-errors version coverage.info
lcov --ignore-errors version,gcov,mismatch --directory . --capture --output-file coverage.info
lcov --ignore-errors unused --remove coverage.info "/usr/*" "${{ env.LIBBITCOIN_SRC_PATH }}prefix/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/src/wallet/addresses/qrencode/*" --output-file coverage.info
lcov --list coverage.info
- name: Coveralls.io Upload
if: ${{ matrix.coverage == 'cov' }}
Expand Down Expand Up @@ -519,13 +579,14 @@ jobs:
optimization: "debug"
assert: "debug"
coverage: "nocov"
detectcpuflags: "ignore"
boost: "--build-boost"
icu: ""
llvm: ""
secp256k1: "--build-secp256k1"
cc: "clang-16"
flags: "-Og -fPIE"
options: "-Denable-avx2=on -Denable-sse4=on"
options: "-Denable-avx2=on -Denable-sse41=on"
packager: "apt"
packages: ""

Expand All @@ -536,6 +597,7 @@ jobs:
optimization: "size"
assert: "ndebug"
coverage: "nocov"
detectcpuflags: "ignore"
boost: "--build-boost"
icu: "--build-icu --with-icu"
llvm: ""
Expand All @@ -553,13 +615,14 @@ jobs:
optimization: "size"
assert: "ndebug"
coverage: "nocov"
detectcpuflags: "ignore"
boost: "--build-boost"
icu: ""
llvm: ""
secp256k1: "--build-secp256k1"
cc: "gcc-12"
flags: "-Os -fPIE"
options: "-Denable-sse4=on"
options: "-Denable-sse41=on"
packager: "apt"
packages: ""

Expand Down Expand Up @@ -595,6 +658,29 @@ jobs:
echo "PATH=/opt/homebrew/opt/${{ matrix.llvm }}/bin:$PATH" >> $GITHUB_ENV
fi
- name: Determine CPU flags
shell: bash
run: |
if [[ -n $(cat /proc/cpuinfo | grep flags | grep " sse4_1 ") ]]; then
echo "CPU_SUPPORT_SSE41=-Denable-sse41=on" >> $GITHUB_ENV
fi
if [[ -n $(cat /proc/cpuinfo | grep flags | grep " avx " | grep " avx2 ") ]]; then
echo "CPU_SUPPORT_AVX2=-Denable-avx2=on" >> $GITHUB_ENV
fi
if [[ -n $(cat /proc/cpuinfo | grep flags | grep " avx512bw ") ]]; then
echo "CPU_SUPPORT_AVX512=-Denable-avx512=on" >> $GITHUB_ENV
fi
if [[ -n $(cat /proc/cpuinfo | grep flags | grep " sha_ni ") ]]; then
echo "CPU_SUPPORT_SHANI=-Denable-shani=on" >> $GITHUB_ENV
fi
if [[ ${{ matrix.detectcpuflags }} == 'detect' ]]; then
echo "CPU_SUPPORTED_FLAGS='$CPU_SUPPORT_SSE41 $CPU_SUPPORT_AVX2 $CPU_SUPPORT_AVX512 $CPU_SUPPORT_SHANI'" >> $GITHUB_ENV
fi
- name: Denormalize parameterization
shell: bash
run: |
Expand Down Expand Up @@ -637,16 +723,17 @@ jobs:
--preset=${{ matrix.preset }}
${{ env.LINKAGE }}
${{ env.ASSERT_NDEBUG }}
${{ env.CPU_SUPPORTED_FLAGS }}
${{ matrix.boost }}
${{ matrix.icu }}
${{ matrix.secp256k1 }}
- name: Coveralls Calculation
if: ${{ matrix.coverage == 'cov' }}
run: |
lcov --directory . --capture --ignore-errors version --output-file coverage.info
lcov --remove coverage.info "/usr/*" "${{ env.LIBBITCOIN_SRC_PATH }}prefix/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/src/wallet/addresses/qrencode/*" --output-file --ignore-errors version coverage.info
lcov --list --ignore-errors version coverage.info
lcov --ignore-errors version,gcov,mismatch --directory . --capture --output-file coverage.info
lcov --ignore-errors unused --remove coverage.info "/usr/*" "${{ env.LIBBITCOIN_SRC_PATH }}prefix/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/src/wallet/addresses/qrencode/*" --output-file coverage.info
lcov --list coverage.info
- name: Coveralls.io Upload
if: ${{ matrix.coverage == 'cov' }}
Expand Down

0 comments on commit 324923d

Please sign in to comment.