Skip to content

Commit

Permalink
build: simplify internal CI slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
jgriffiths committed Nov 8, 2023
1 parent 80fdf45 commit 88cbaa0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
11 changes: 4 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ variables:
GIT_SUBMODULE_STRATEGY: recursive

build_wally_release_files:
image: greenaddress/wallycore@sha256:eb0bdb6119f40df02bbc3cd38ba64ea1c3de64c2d065e61a0447986068fca6be
image: greenaddress/wallycore@sha256:21112c3d05f0f541a43636bb5c7e1826292f9c66fca0b68546b963adac4fc4c3
artifacts:
expire_in: 7 days
name: wallycore-bindings
Expand All @@ -18,8 +18,7 @@ build_wally_release_files:
- pip install --find-links=./dist wallycore
- python -c "import wallycore as w; assert w.hex_from_bytes(w.hex_to_bytes('ff')) == 'ff'"
- deactivate
- rm -rf .smoketest
- rm dist/*.whl
- rm -rf .smoketest dist/*.whl
- mv dist wally_dist
- ./tools/build_android_libraries.sh
- mv release wallycore-android-jni
Expand All @@ -37,7 +36,7 @@ build_wally_release_files:
- rmdir wally_dist

build_mingw_static:
image: greenaddress/wallycore@sha256:eb0bdb6119f40df02bbc3cd38ba64ea1c3de64c2d065e61a0447986068fca6be
image: greenaddress/wallycore@sha256:21112c3d05f0f541a43636bb5c7e1826292f9c66fca0b68546b963adac4fc4c3
tags:
- ga
script:
Expand All @@ -46,15 +45,13 @@ build_mingw_static:
- make -j $(($(grep ^processor /proc/cpuinfo | wc -l) / 2))

run_tests:
image: greenaddress/wallycore@sha256:eb0bdb6119f40df02bbc3cd38ba64ea1c3de64c2d065e61a0447986068fca6be
image: greenaddress/wallycore@sha256:21112c3d05f0f541a43636bb5c7e1826292f9c66fca0b68546b963adac4fc4c3
tags:
- ga
artifacts:
reports:
codequality: valgrind.json
script:
- apt install --no-install-recommends valgrind jq -yqq
- pip install valgrind-codequality
- ./tools/cleanup.sh && ./tools/autogen.sh
- ./configure --enable-export-all --enable-swig-python --enable-swig-java --enable-shared --disable-static
- make -j $(($(grep ^processor /proc/cpuinfo | wc -l) / 2))
Expand Down
4 changes: 2 additions & 2 deletions contrib/bullseye_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ windows_packages=
if [ -z "$skip_windows" ]; then
windows_packages="g++-mingw-w64-x86-64"
fi
apt install --no-install-recommends unzip autoconf automake autotools-dev pkg-config build-essential libtool python3{,-dev,-pip,-virtualenv} python{,-dev}-is-python3 clang{,-format,-tidy} git swig curl cmake libssl-dev libtool-bin $java_packages curl $windows_packages -yqq
apt install --no-install-recommends unzip autoconf automake autotools-dev pkg-config build-essential libtool python3{,-dev,-pip,-virtualenv} python{,-dev}-is-python3 clang{,-format,-tidy} git swig curl cmake libssl-dev libtool-bin $java_packages curl $windows_packages valgrind jq -yqq

if [ -z "$skip_java" ]; then
update-java-alternatives -s java-1.11.0-openjdk-amd64
fi

pip3 install -r contrib/requirements.txt
pip3 install valgrind-codequality -r contrib/requirements.txt

pushd /opt

Expand Down

0 comments on commit 88cbaa0

Please sign in to comment.