Skip to content

Commit

Permalink
drone build: Don't use pre-compiled cmake binary (Rasbats#199).
Browse files Browse the repository at this point in the history
  • Loading branch information
Alec Leamas committed Sep 14, 2021
1 parent 523db41 commit 7a5c23d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions ci/drone-build-raspbian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@ sudo apt-get -q --allow-unauthenticated install -f

git fetch --all --tags

# Temporary fix until 3.19 is available as a pypi package
# 3.19 is needed: https://gitlab.kitware.com/cmake/cmake/-/issues/20568
url='https://dl.cloudsmith.io/public/alec-leamas/opencpn-plugins-stable/deb/debian'
wget $url/pool/${OCPN_TARGET/-*/}/main/c/cm/cmake-data_3.19.3-0.1_all.deb
wget $url/pool/${OCPN_TARGET/-*/}/main/c/cm/cmake_3.19.3-0.1_armhf.deb
sudo apt install ./cmake_3.19.3-0.1_armhf.deb ./cmake-data_3.19.3-0.1_all.deb
# Install a modern cmake, Debian's is too old:
python3 -m pip install --user -q cmake

rm -rf build; mkdir build; cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
Expand Down

0 comments on commit 7a5c23d

Please sign in to comment.