Skip to content

Commit

Permalink
Update cmake and meson via pip
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Dec 7, 2023
1 parent 665284e commit 29f262c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 38 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/bootstrap-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,10 @@ case "${1}" in
fi

case "${release}" in
"bionic"|"focal")
apt-get install -yqq python3-pkg-resources
curl -sOL https://launchpad.net/~kxstudio-debian/+archive/ubuntu/toolchain/+files/meson_0.56.0-1kxstudio4_all.deb
if [ "${release}" = "bionic" ]; then
curl -sOL https://launchpad.net/~kxstudio-debian/+archive/ubuntu/toolchain/+files/cmake_3.13.4-1kxstudio1_$(dpkg-architecture -qDEB_HOST_ARCH).deb
curl -sOL https://launchpad.net/~kxstudio-debian/+archive/ubuntu/toolchain/+files/cmake-data_3.13.4-1kxstudio1_all.deb
fi
dpkg -i *.deb
rm *.deb
"bionic"|"bookworm"|"focal")
apt-get install -yqq --no-install-recommends python3-pip
pip3 install --isolated --upgrade pip
pip3 install --isolated --upgrade cmake meson
;;
esac

Expand Down
53 changes: 24 additions & 29 deletions .github/workflows/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,19 +237,18 @@ jobs:
container: debian:12
os: ubuntu-latest
# ubuntu:18.04
# FIXME needs CMake 3.15
#- target: linux-aarch64
#container: ubuntu:18.04
#os: ubuntu-latest
#- target: linux-armhf
#container: ubuntu:18.04
#os: ubuntu-latest
#- target: linux-i686
#container: ubuntu:18.04
#os: ubuntu-latest
#- target: linux-x86_64
#container: ubuntu:18.04
#os: ubuntu-latest
- target: linux-aarch64
container: ubuntu:18.04
os: ubuntu-latest
- target: linux-armhf
container: ubuntu:18.04
os: ubuntu-latest
- target: linux-i686
container: ubuntu:18.04
os: ubuntu-latest
- target: linux-x86_64
container: ubuntu:18.04
os: ubuntu-latest
# ubuntu:20.04
- target: linux-aarch64
container: ubuntu:20.04
Expand Down Expand Up @@ -795,13 +794,12 @@ jobs:
- target: macos-universal-10.15
os: macos-12
# debian 11
# FIXME debian:11 needs meson 0.58
#- target: linux-x86_64
#container: debian:11
#os: ubuntu-latest
#- target: win64
#container: debian:11
#os: ubuntu-latest
- target: linux-x86_64
container: debian:11
os: ubuntu-latest
- target: win64
container: debian:11
os: ubuntu-latest
# debian 12
- target: linux-x86_64
container: debian:12
Expand All @@ -811,16 +809,13 @@ jobs:
#container: debian:12
#os: ubuntu-latest
# ubuntu 18.04
# FIXME ubuntu:18.04 needs CMake 3.15
# FIXME ubuntu:18.04 needs meson 0.58
#- target: linux-x86_64
#container: ubuntu:18.04
#os: ubuntu-latest
- target: linux-x86_64
container: ubuntu:18.04
os: ubuntu-latest
# ubuntu 20.04
# FIXME ubuntu:20.04 needs meson 0.58
#- target: linux-x86_64
#container: ubuntu:20.04
#os: ubuntu-latest
- target: linux-x86_64
container: ubuntu:20.04
os: ubuntu-latest
# ubuntu 22.04
- target: linux-x86_64
container: ubuntu:22.04
Expand Down

0 comments on commit 29f262c

Please sign in to comment.