Skip to content

Commit

Permalink
Add debian:12 to CI
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Dec 5, 2023
1 parent d3e5f7b commit f49637f
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 15 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/bootstrap-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,11 @@ case "${1}" in
[ -n "${GITHUB_ENV}" ] && echo "PAWPAW_PACK_NAME=${1}-$(sw_vers -productVersion)" >> "${GITHUB_ENV}"
;;
*)
sed -i "s/deb http/deb [arch=i386,amd64] http/" /etc/apt/sources.list
sed -i "s/deb mirror/deb [arch=i386,amd64] mirror/" /etc/apt/sources.list
if [ ! -e /etc/debian_version ]; then
sed -i "s/deb http/deb [arch=i386,amd64] http/" /etc/apt/sources.list
sed -i "s/deb mirror/deb [arch=i386,amd64] mirror/" /etc/apt/sources.list
fi

apt-get update -qq
apt-get install -yqq autoconf automake autopoint binfmt-support build-essential curl cmake git jq lsb-release meson gperf patchelf qemu-user-static

Expand All @@ -84,7 +87,7 @@ case "${1}" in

if [ -n "${arch}" ]; then
dpkg --add-architecture ${arch}
if [ "${arch}" != "amd64" ] && [ "${arch}" != "i386" ]; then
if [ "${arch}" != "amd64" ] && [ "${arch}" != "i386" ] && [ ! -e /etc/debian_version ]; then
echo "deb [arch=${arch}] http://ports.ubuntu.com/ubuntu-ports ${release} main restricted universe multiverse" | tee -a /etc/apt/sources.list
echo "deb [arch=${arch}] http://ports.ubuntu.com/ubuntu-ports ${release}-updates main restricted universe multiverse" | tee -a /etc/apt/sources.list
echo "deb [arch=${arch}] http://ports.ubuntu.com/ubuntu-ports ${release}-backports main restricted universe multiverse" | tee -a /etc/apt/sources.list
Expand Down
47 changes: 35 additions & 12 deletions .github/workflows/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,28 @@ jobs:
os: macos-11
- target: macos-universal-10.15
os: macos-11
# debian:12
- target: linux-aarch64
container: debian:12
os: ubuntu-latest
- target: linux-armhf
container: debian:12
os: ubuntu-latest
- target: linux-i686
container: debian:12
os: ubuntu-latest
- target: linux-x86_64
container: debian:12
os: ubuntu-latest
- target: wasm
container: debian:12
os: ubuntu-latest
- target: win32
container: debian:12
os: ubuntu-latest
- target: win64
container: debian:12
os: ubuntu-latest
# ubuntu:18.04
- target: linux-aarch64
container: ubuntu:18.04
Expand Down Expand Up @@ -136,18 +158,19 @@ jobs:
- target: macos-universal-10.15
os: macos-11
# ubuntu:18.04
- 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
# FIXME needs new cmake
#- 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

0 comments on commit f49637f

Please sign in to comment.