File tree Expand file tree Collapse file tree 7 files changed +22
-16
lines changed
infra/base-images/base-builder Expand file tree Collapse file tree 7 files changed +22
-16
lines changed Original file line number Diff line number Diff line change 1919source /etc/os-release
2020
2121if [[ " $VERSION_ID " == " 20.04" ]]; then
22- SWIFT_PACKAGES=" wget \
23- binutils \
22+ SWIFT_PACKAGES=" binutils \
2423 git \
24+ unzip \
2525 gnupg2 \
2626 libc6-dev \
27- libcurl4 \
27+ libcurl4-openssl-dev \
2828 libedit2 \
29- libgcc-9 -dev \
30- libpython2.7 \
29+ libgcc-11 -dev \
30+ libpython3-dev \
3131 libsqlite3-0 \
32- libstdc++-9 -dev \
33- libxml2 \
32+ libstdc++-11 -dev \
33+ libxml2-dev \
3434 libz3-dev \
3535 pkg-config \
36+ python3-lldb-13 \
3637 tzdata \
3738 zlib1g-dev"
3839 SWIFT_URL=" https://download.swift.org/swift-5.10.1-release/ubuntu2004/swift-5.10.1-RELEASE/swift-5.10.1-RELEASE-ubuntu_20_04.tar.gz"
3940 SWIFT_DIR=" swift-5.10.1-RELEASE-ubuntu_20_04"
4041elif [[ " $VERSION_ID " == " 24.04" ]]; then
41- SWIFT_PACKAGES=" wget \
42- binutils \
42+ SWIFT_PACKAGES=" binutils \
4343 git \
44+ unzip \
4445 gnupg2 \
4546 libc6-dev \
46- libcurl4 \
47+ libcurl4-openssl-dev \
4748 libedit2 \
4849 libgcc-13-dev \
50+ libpython3-dev \
4951 libsqlite3-0 \
5052 libstdc++-13-dev \
51- libxml2 \
53+ libxml2-dev \
54+ libncurses-dev \
5255 libz3-dev \
5356 pkg-config \
5457 tzdata \
5558 zlib1g-dev"
56- SWIFT_URL=" https://download.swift.org/swift-5.10.1 -release/ubuntu2404/swift-5.10.1 -RELEASE/swift-5.10.1 -RELEASE-ubuntu24.04.tar.gz"
57- SWIFT_DIR=" swift-5.10.1 -RELEASE-ubuntu24.04"
59+ SWIFT_URL=" https://download.swift.org/swift-6.2.3 -release/ubuntu2404/swift-6.2.3 -RELEASE/swift-6.2.3 -RELEASE-ubuntu24.04.tar.gz"
60+ SWIFT_DIR=" swift-6.2.3 -RELEASE-ubuntu24.04"
5861else
5962 echo " Unsupported Ubuntu version: $VERSION_ID "
6063 exit 1
Original file line number Diff line number Diff line change 1414#
1515# ###############################################################################
1616
17- FROM gcr.io/oss-fuzz-base/base-builder-swift
17+ FROM gcr.io/oss-fuzz-base/base-builder-swift:ubuntu-24-04
1818
1919# specific to project
2020RUN apt-get update && apt-get install -y zlib1g-dev
Original file line number Diff line number Diff line change @@ -11,3 +11,4 @@ sanitizers:
1111- address
1212- thread
1313main_repo : ' https://github.com/grpc/grpc-swift'
14+ base_os_version : ubuntu-24-04
Original file line number Diff line number Diff line change 1414#
1515# ###############################################################################
1616
17- FROM gcr.io/oss-fuzz-base/base-builder-swift
17+ FROM gcr.io/oss-fuzz-base/base-builder-swift:ubuntu-24-04
1818
1919# specific swift-nio
2020RUN git clone --depth 1 https://github.com/google/fuzzing
Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ sanitizers:
1212- address
1313- thread
1414main_repo : ' https://github.com/apple/swift-nio.git'
15+ base_os_version : ubuntu-24-04
Original file line number Diff line number Diff line change 1414#
1515# ###############################################################################
1616
17- FROM gcr.io/oss-fuzz-base/base-builder-swift
17+ FROM gcr.io/oss-fuzz-base/base-builder-swift:ubuntu-24-04
1818
1919RUN git clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/apple/swift-protobuf.git
2020COPY build.sh $SRC
Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ coverage_extra_args: >
1515 -ignore-filename-regex=.*\.pb\.swift
1616 -ignore-filename-regex=.*/\.build/.*
1717main_repo : ' https://github.com/apple/swift-protobuf.git'
18+ base_os_version : ubuntu-24-04
You can’t perform that action at this time.
0 commit comments