• Home
  • Raw
  • Download

Lines Matching +full:djgpp +full:- +full:linux64 +full:- +full:gcc1220

3 # SPDX-License-Identifier: curl
5 name: non-native
10 - master
11 - '*/ci'
12 paths-ignore:
13 - '**/*.md'
14 - '.circleci/**'
15 - 'appveyor.*'
16 - 'packages/**'
17 - 'plan9/**'
18 - 'projects/**'
19 - 'winbuild/**'
22 - master
23 paths-ignore:
24 - '**/*.md'
25 - '.circleci/**'
26 - 'appveyor.*'
27 - 'packages/**'
28 - 'plan9/**'
29 - 'projects/**'
30 - 'winbuild/**'
33 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
34 cancel-in-progress: true
41 runs-on: ubuntu-latest
42 timeout-minutes: 10
47 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
49 persist-credentials: false
50 - name: 'cmake'
51 uses: cross-platform-actions/action@fe0167d8082ac584754ef3ffb567fded22642c7d # v0.27.0
58 …time sudo pkgin -y install cmake ninja-build pkg-config perl brotli heimdal openldap-client libssh…
59 time cmake -B bld -G Ninja \
60 -DCMAKE_UNITY_BUILD=ON -DCURL_TEST_BUNDLES=ON \
61 -DCURL_WERROR=ON \
62 -DENABLE_DEBUG=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG= \
63 -DCURL_USE_OPENSSL=ON \
64 -DCURL_USE_GSSAPI=ON \
67 …echo '::group::curl_config.h'; grep -F '#define' bld/lib/curl_config.h | sort || true; echo '::end…
68 time cmake --build bld --config Debug
69 bld/src/curl --disable --version
71 time cmake --build bld --config Debug --target testdeps
72 export TFLAGS='-j4'
73 time cmake --build bld --config Debug --target test-ci
76 time cmake --build bld --config Debug --target curl-examples
81 runs-on: ubuntu-latest
82 timeout-minutes: 10
87 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
89 persist-credentials: false
90 - name: 'cmake'
91 uses: cross-platform-actions/action@fe0167d8082ac584754ef3ffb567fded22642c7d # v0.27.0
99 …time sudo pkg_add cmake ninja brotli openldap-client-- libssh2 libidn2 libpsl nghttp2 python3 py3-
100 time cmake -B bld -G Ninja \
101 -DCMAKE_UNITY_BUILD=ON -DCURL_TEST_BUNDLES=ON \
102 -DCURL_WERROR=ON \
103 -DENABLE_DEBUG=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG= \
104 -DCURL_USE_OPENSSL=ON \
107 …echo '::group::curl_config.h'; grep -F '#define' bld/lib/curl_config.h | sort || true; echo '::end…
108 time cmake --build bld --config Debug
109 bld/src/curl --disable --version
111 time cmake --build bld --config Debug --target testdeps
112 …export TFLAGS='-j8 ~3017 ~TFTP ~FTP' # FIXME: TFTP requests executed twice? Related: `curl: (69) …
113 time cmake --build bld --config Debug --target test-ci
116 time cmake --build bld --config Debug --target curl-examples
121 runs-on: ubuntu-latest
122 timeout-minutes: 20
126 - { build: 'autotools', arch: 'x86_64', compiler: 'clang' }
127 - { build: 'autotools', arch: 'arm64', compiler: 'clang' }
128 - { build: 'cmake' , arch: 'arm64', compiler: 'clang' }
129 fail-fast: false
131 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
133 persist-credentials: false
134 - name: 'autotools'
136 uses: cross-platform-actions/action@fe0167d8082ac584754ef3ffb567fded22642c7d # v0.27.0
143 time sudo pkg install -y autoconf automake libtool \
144 pkgconf brotli openldap26-client libidn2 libnghttp2 stunnel py311-impacket
145 time autoreconf -fi
147 …r bld && cd bld && time ../configure --enable-unity --enable-test-bundles --enable-debug --enable-
148 --prefix="${HOME}"/install \
149 --with-openssl \
150--with-brotli --enable-ldap --enable-ldaps --with-libidn2 --with-libssh2 --with-nghttp2 --with-gss…
151 --disable-dependency-tracking || { tail -n 1000 config.log; false; }
153 …echo '::group::curl_config.h'; grep -F '#define' lib/curl_config.h | sort || true; echo '::endgrou…
154 time make -j3 install
155 src/curl --disable --version
157 time make -j3 -C tests
158 time make test-ci V=1 TFLAGS='-j4'
161 time make -j3 examples
164 - name: 'cmake'
166 uses: cross-platform-actions/action@fe0167d8082ac584754ef3ffb567fded22642c7d # v0.27.0
173 time sudo pkg install -y cmake-core ninja perl5 \
174 pkgconf brotli openldap26-client libidn2 libnghttp2 stunnel py311-impacket
175 time cmake -B bld -G Ninja \
176 -DCMAKE_C_COMPILER='${{ matrix.compiler }}' \
177 -DCMAKE_UNITY_BUILD=ON -DCURL_TEST_BUNDLES=ON \
178 -DCURL_WERROR=ON \
179 -DENABLE_DEBUG=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG= \
180 -DCURL_USE_OPENSSL=ON \
181 -DCURL_USE_GSSAPI=ON \
184 …echo '::group::curl_config.h'; grep -F '#define' bld/lib/curl_config.h | sort || true; echo '::end…
185 time cmake --build bld --config Debug
186 bld/src/curl --disable --version
188 time cmake --build bld --config Debug --target testdeps
189 time cmake --build bld --config Debug --target test-ci
192 time cmake --build bld --config Debug --target curl-examples
197 runs-on: ubuntu-latest
198 timeout-minutes: 15
200 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
202 persist-credentials: false
203 - name: 'autotools'
204 uses: vmactions/omnios-vm@8eba2a9217262f275d4566751a92d6ef2f433d00 # v1
208 prepare: pkg install build-essential libtool nghttp2
210 set -e
211 … ln -s /usr/bin/gcpp /usr/bin/cpp # Some tests expect `cpp`, which is named `gcpp` in this env.
212 time autoreconf -fi
213 …r bld && cd bld && time ../configure --enable-unity --enable-test-bundles --enable-debug --enable-
214 --prefix="${HOME}"/install \
215 --with-openssl \
216 --disable-dependency-tracking || { tail -n 1000 config.log; false; }
218 …echo '::group::curl_config.h'; grep -F '#define' lib/curl_config.h | sort || true; echo '::endgrou…
219 time gmake -j3 install
220 src/curl --disable --version
221 time gmake -j3 -C tests
222 time gmake test-ci V=1
224 time gmake -j3 examples
228 …name: "iOS, ${{ (matrix.build.generator && format('CM-{0}', matrix.build.generator)) || (matrix.bu…
229 runs-on: 'macos-latest'
230 timeout-minutes: 10
234 MAKEFLAGS: -j 4
235 …# renovate: datasource=github-tags depName=libressl-portable/portable versioning=semver registryUr…
236 libressl-version: 4.0.0
238 fail-fast: false
241 - name: 'libressl'
243 configure: --with-openssl="$HOME/libressl" --without-libpsl
245 - name: 'libressl'
248 generate: >-
249 -DOPENSSL_INCLUDE_DIR="$HOME/libressl/include"
250 -DOPENSSL_SSL_LIBRARY="$HOME/libressl/lib/libssl.a"
251 -DOPENSSL_CRYPTO_LIBRARY="$HOME/libressl/lib/libcrypto.a"
252 -DCURL_USE_LIBPSL=OFF
254 - name: 'libressl'
257 generate: >-
258 -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=OFF
259 -DMACOSX_BUNDLE_GUI_IDENTIFIER=se.curl
260 -DOPENSSL_INCLUDE_DIR="$HOME/libressl/include"
261 -DOPENSSL_SSL_LIBRARY="$HOME/libressl/lib/libssl.a"
262 -DOPENSSL_CRYPTO_LIBRARY="$HOME/libressl/lib/libcrypto.a"
263 -DCURL_USE_LIBPSL=OFF
266 - name: 'brew install'
269 echo automake libtool | xargs -Ix -n1 echo brew '"x"' > /tmp/Brewfile
270 … $? == 0 ]]; do for i in 1 2 3; do brew update && brew bundle install --no-lock --file /tmp/Brewfi…
272 - name: 'toolchain versions'
274 which "${CC}"; "${CC}" --version || true
275 xcodebuild -version || true
276 xcodebuild -sdk -version | grep '^Path:' || true
277 xcrun --sdk iphoneos --show-sdk-path 2>/dev/null || true
278 xcrun --sdk iphoneos --show-sdk-version || true
279 …echo '::group::macros predefined'; "${CC}" -dM -E - < /dev/null | sort || true; echo '::endgroup::'
280 echo '::group::brew packages installed'; ls -l "$(brew --prefix)/opt"; echo '::endgroup::'
282 - name: 'cache libressl'
285 id: cache-libressl
287 cache-name: cache-libressl
290 key: iOS-${{ env.cache-name }}-${{ env.libressl-version }}
292 - name: 'build libressl'
293 …if: contains(matrix.build.install_steps, 'libressl') && steps.cache-libressl.outputs.cache-hit != …
295 curl -LsSf --retry 6 --retry-connrefused --max-time 999 \
296 …/portable/releases/download/v${{ env.libressl-version }}/libressl-${{ env.libressl-version }}.tar.…
297 cd libressl-${{ env.libressl-version }}
298 # FIXME: on the 4.0.1 release, delete '-DHAVE_ENDIAN_H=0'
300 -DHAVE_ENDIAN_H=0 \
301 -DCMAKE_INSTALL_PREFIX="$HOME/libressl" \
302 -DCMAKE_SYSTEM_NAME=iOS \
303 -DCMAKE_SYSTEM_PROCESSOR=aarch64 \
304 -DBUILD_SHARED_LIBS=OFF \
305 -DLIBRESSL_APPS=OFF \
306 -DLIBRESSL_TESTS=OFF
307 cmake --build .
308 cmake --install . --verbose
310 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
312 persist-credentials: false
314 - name: 'autoreconf'
316 run: autoreconf -fi
318 - name: 'configure'
320 if [ -n '${{ matrix.build.generate }}' ]; then
321 …tps://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-for-ios-tvos-visi…
322 [ -n '${{ matrix.build.generator }}' ] && options='-G ${{ matrix.build.generator }}'
323 cmake -B bld -DCMAKE_UNITY_BUILD=ON -DCURL_TEST_BUNDLES=ON -DCURL_WERROR=ON \
324 -DCMAKE_SYSTEM_NAME=iOS \
325 -DUSE_APPLE_IDN=ON \
328 …mkdir bld && cd bld && ../configure --enable-unity --enable-test-bundles --enable-warnings --enabl…
329 --disable-dependency-tracking \
330 CFLAGS="-isysroot $(xcrun --sdk iphoneos --show-sdk-path 2>/dev/null)" \
331 --host=aarch64-apple-darwin \
332 --with-apple-idn \
336 - name: 'configure log'
340 - name: 'curl_config.h'
343 grep -F '#define' bld/lib/curl_config.h | sort || true
345 - name: 'build'
347 if [ -n '${{ matrix.build.generate }}' ]; then
348 cmake --build bld --verbose
350 make -C bld V=1
353 - name: 'curl info'
354 run: find . -type f \( -name curl -o -name '*.dylib' -o -name '*.a' \) -exec file '{}' \;
356 - name: 'build tests'
358 if [ -n '${{ matrix.build.generate }}' ]; then
359 cmake --build bld --target testdeps --verbose
361 make -C bld V=1 -C tests
364 - name: 'build examples'
366 if [ -n '${{ matrix.build.generate }}' ]; then
367 cmake --build bld --target curl-examples --verbose
369 make -C bld examples V=1
374 runs-on: 'ubuntu-latest'
375 timeout-minutes: 25
377 VCPKG_BINARY_SOURCES: 'clear;x-gha,readwrite'
379 MAKEFLAGS: -j 5
383- { build: 'autotools', platform: '21', name: "openssl", install: 'brotli zstd libpsl nghttp2 open…
384 options: '--with-openssl --with-brotli' }
386- { build: 'cmake' , platform: '21', name: "openssl", install: 'brotli zstd libpsl nghttp2 open…
387 options: '-DCURL_USE_OPENSSL=ON' }
389- { build: 'autotools', platform: '35', name: "openssl", install: 'brotli zstd libpsl nghttp2 open…
390 options: '--with-openssl --with-brotli' }
392- { build: 'cmake' , platform: '35', name: "openssl", install: 'brotli zstd libpsl nghttp2 open…
393 options: '-DCURL_USE_OPENSSL=ON' }
395 # FIXME: Must disable zstd explicitly, otherwise cmake/pkg-config finds it in /usr/include
398- { build: 'cmake' , platform: '35', name: "boringssl !zstd", install: 'libpsl boringssl',
399 options: '-DCURL_USE_OPENSSL=ON -DOPENSSL_USE_STATIC_LIBS=ON -DCURL_ZSTD=OFF' }
401 fail-fast: false
403 - name: 'vcpkg cache setup'
405 uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
411 - name: 'vcpkg versions'
413 timeout-minutes: 1
415 git -C "$VCPKG_INSTALLATION_ROOT" show --no-patch --format='%H %ai'
418 - name: 'install prereqs for vcpkg'
420 timeout-minutes: 5
422 sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
423 sudo apt-get -o Dpkg::Use-Pty=0 update
424 sudo apt-get -o Dpkg::Use-Pty=0 install nasm
426 - name: 'vcpkg build'
428 timeout-minutes: 20
429 run: vcpkg x-set-installed ${{ matrix.install }} '--triplet=arm64-android'
431 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
433 persist-credentials: false
435 - name: 'autoreconf'
437 run: autoreconf -fi
439 - name: 'configure'
441 export PKG_CONFIG_PATH="$VCPKG_INSTALLATION_ROOT/installed/arm64-android/lib/pkgconfig"
443 cmake -B bld \
444 -DANDROID_ABI=arm64-v8a \
445 -DANDROID_PLATFORM='android-${{ matrix.platform }}' \
446 -DCMAKE_TOOLCHAIN_FILE="$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" \
447-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake -DCMAKE_W…
448 -DVCPKG_INSTALLED_DIR="$VCPKG_INSTALLATION_ROOT/installed" \
449 -DVCPKG_TARGET_TRIPLET=arm64-android \
450 -DCMAKE_UNITY_BUILD=ON -DCURL_TEST_BUNDLES=ON \
451 -DCURL_WERROR=ON \
454 TOOLCHAIN="${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64"
455 …ld && cd bld && ../configure --disable-dependency-tracking --enable-unity --enable-test-bundles --
456 CC="$TOOLCHAIN/bin/aarch64-linux-android${{ matrix.platform }}-clang" \
457 AR="$TOOLCHAIN/bin/llvm-ar" \
458 RANLIB="$TOOLCHAIN/bin/llvm-ranlib" \
459 --host=aarch64-linux-android${{ matrix.platform }} \
463 - name: 'configure log'
467 - name: 'curl_config.h'
470 grep -F '#define' bld/lib/curl_config.h | sort || true
472 - name: 'build'
475 cmake --build bld --verbose
477 make -j5 -C bld V=1
480 - name: 'curl info'
481 run: find . -type f \( -name curl -o -name '*.so' -o -name '*.a' \) -exec file '{}' \;
483 - name: 'build tests'
486 cmake --build bld --target testdeps
488 make -j5 -C bld -C tests
491 - name: 'build examples'
494 cmake --build bld --target curl-examples
496 make -j5 -C bld examples
501 runs-on: 'ubuntu-latest'
502 timeout-minutes: 5
504 amissl-version: 5.18
508 fail-fast: false
510 - name: 'install compiler'
511 if: ${{ steps.cache-compiler.outputs.cache-hit != 'true' }}
514 … curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 120 --retry 3 \
515--location https://github.com/bebbo/amiga-gcc/releases/download/Mechen/amiga-gcc.tgz | tar -xz
517 curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 60 --retry 3 \
518--location https://github.com/jens-maus/amissl/releases/download/${{ env.amissl-version }}/AmiSSL-
519 7z x -bd -y bin.lha
520 rm -f bin.lha
523 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
525 persist-credentials: false
527 - name: 'configure'
530 cmake -B bld \
531 -DAMIGA=1 \
532 -DCMAKE_SYSTEM_NAME=Generic \
533 -DCMAKE_SYSTEM_PROCESSOR=m68k \
534 -DCMAKE_C_COMPILER_TARGET=m68k-unknown-amigaos \
535 -DCMAKE_C_COMPILER=/opt/appveyor/build-agent/opt/amiga/bin/m68k-amigaos-gcc \
536 -DCMAKE_C_FLAGS='-O0 -msoft-float -mcrt=clib2' \
537 -DCMAKE_UNITY_BUILD=ON -DCURL_TEST_BUNDLES=ON \
538 -DCURL_WERROR=ON \
539 -DCURL_USE_LIBPSL=OFF \
540 -DAMISSL_INCLUDE_DIR=/opt/appveyor/AmiSSL/Developer/include \
541 -DAMISSL_STUBS_LIBRARY=/opt/appveyor/AmiSSL/Developer/lib/AmigaOS3/libamisslstubs.a \
542 -DAMISSL_AUTO_LIBRARY=/opt/appveyor/AmiSSL/Developer/lib/AmigaOS3/libamisslauto.a
544 autoreconf -fi
545 …ld && cd bld && ../configure --disable-dependency-tracking --enable-unity --enable-test-bundles --
546 CC=/opt/appveyor/build-agent/opt/amiga/bin/m68k-amigaos-gcc \
547 AR=/opt/appveyor/build-agent/opt/amiga/bin/m68k-amigaos-ar \
548 RANLIB=/opt/appveyor/build-agent/opt/amiga/bin/m68k-amigaos-ranlib \
549 --host=m68k-amigaos \
550 --disable-shared \
551 --without-libpsl \
552 --with-amissl \
553 LDFLAGS=-L/opt/appveyor/AmiSSL/Developer/lib/AmigaOS3 \
554 CPPFLAGS=-I/opt/appveyor/AmiSSL/Developer/include \
555 CFLAGS='-O0 -msoft-float -mcrt=clib2' \
556 LIBS='-lnet -lm -latomic'
559 - name: 'configure log'
563 - name: 'curl_config.h'
566 grep -F '#define' bld/lib/curl_config.h | sort || true
568 - name: 'build'
571 cmake --build bld --parallel 5
573 make -j5 -C bld
576 - name: 'curl info'
577 run: find . -type f \( -name curl -o -name '*.a' \) -exec file '{}' \;
579 - name: 'build tests'
583 cmake --build bld --parallel 5 --target testdeps
585 make -j5 -C bld -C tests
588 - name: 'build examples'
592 cmake --build bld --parallel 5 --target curl-examples
594 make -j5 -C bld examples
598 name: "MS-DOS, ${{ matrix.build == 'cmake' && 'CM' || 'AM' }} djgpp openssl i586"
599 runs-on: 'ubuntu-latest'
600 timeout-minutes: 5
602 toolchain-version: '3.4'
606 fail-fast: false
608 - name: 'install packages'
609 …run: sudo apt-get -o Dpkg::Use-Pty=0 install libfl2 ${{ matrix.build == 'cmake' && 'ninja-build' |…
611 - name: 'cache compiler (djgpp)'
613 id: cache-compiler
615 path: ~/djgpp
616 key: ${{ runner.os }}-djgpp-${{ env.toolchain-version }}-amd64
618 - name: 'install compiler (djgpp)'
619 if: ${{ steps.cache-compiler.outputs.cache-hit != 'true' }}
622 … curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 120 --retry 3 \
623--location 'https://github.com/andrewwutw/build-djgpp/releases/download/v${{ env.toolchain-version…
624 cd djgpp || exit 1
626 … curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 60 --retry 3 \
627 "https://www.delorie.com/pub/djgpp/current/v2tk/$f" --output bin.zip
628 unzip -q bin.zip
629 rm -f bin.zip
632 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
634 persist-credentials: false
636 - name: 'configure'
639 cmake -B bld -G Ninja \
640 -DCMAKE_SYSTEM_NAME=DOS \
641 -DCMAKE_SYSTEM_PROCESSOR=x86 \
642 -DCMAKE_C_COMPILER_TARGET=i586-pc-msdosdjgpp \
643 -DCMAKE_C_COMPILER="$HOME/djgpp/bin/i586-pc-msdosdjgpp-gcc" \
644 -DCMAKE_UNITY_BUILD=ON -DCURL_TEST_BUNDLES=ON \
645 -DCURL_WERROR=ON \
646 -DCURL_USE_LIBPSL=OFF \
647 -DOPENSSL_INCLUDE_DIR="$HOME/djgpp/include" \
648 -DOPENSSL_SSL_LIBRARY="$HOME/djgpp/lib/libssl.a" \
649 -DOPENSSL_CRYPTO_LIBRARY="$HOME/djgpp/lib/libcrypto.a" \
650 -DZLIB_INCLUDE_DIR="$HOME/djgpp/include" \
651 -DZLIB_LIBRARY="$HOME/djgpp/lib/libz.a" \
652 -DWATT_ROOT="$HOME/djgpp/net/watt"
654 autoreconf -fi
655 …ld && cd bld && ../configure --disable-dependency-tracking --enable-unity --enable-test-bundles --
656 CC="$HOME/djgpp/bin/i586-pc-msdosdjgpp-gcc" \
657 AR="$HOME/djgpp/bin/i586-pc-msdosdjgpp-ar" \
658 RANLIB="$HOME/djgpp/bin/i586-pc-msdosdjgpp-ranlib" \
659 WATT_ROOT="$HOME/djgpp/net/watt" \
660 --host=i586-pc-msdosdjgpp \
661 --with-openssl="$HOME/djgpp" \
662 --with-zlib="$HOME/djgpp" \
663 --without-libpsl \
664 --disable-shared
667 - name: 'configure log'
671 - name: 'curl_config.h'
674 grep -F '#define' bld/lib/curl_config.h | sort || true
676 - name: 'build'
679 cmake --build bld
681 make -j5 -C bld
684 - name: 'curl info'
685 run: find . \( -name '*.exe' -o -name '*.a' \) -exec file '{}' \;
687 - name: 'build tests'
691 cmake --build bld --target testdeps
693 make -j5 -C bld -C tests
696 - name: 'build examples'
700 cmake --build bld --target curl-examples
702 make -j5 -C bld examples