mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-24 00:29:58 -05:00
- Fix windows ci workflow to install bison and flex.
This commit is contained in:
parent
5bd07f8e88
commit
d1f388ec93
2 changed files with 146 additions and 152 deletions
297
.github/workflows/analysis_ports.yml
vendored
297
.github/workflows/analysis_ports.yml
vendored
|
|
@ -14,148 +14,148 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
# - name: GCC on Linux
|
- name: GCC on Linux
|
||||||
# os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
# config: "--enable-debug --disable-flto"
|
config: "--enable-debug --disable-flto"
|
||||||
# make_test: "yes"
|
make_test: "yes"
|
||||||
# - name: Clang-analyzer
|
- name: Clang-analyzer
|
||||||
# os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
# config: "CC=clang --enable-debug --disable-flto --disable-static"
|
config: "CC=clang --enable-debug --disable-flto --disable-static"
|
||||||
# make_test: "yes"
|
make_test: "yes"
|
||||||
# clang_analysis: "yes"
|
clang_analysis: "yes"
|
||||||
# - name: libevent
|
- name: libevent
|
||||||
# os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
# install_libevent: "yes"
|
install_libevent: "yes"
|
||||||
# config: "CC=clang --enable-debug --disable-flto --with-libevent --disable-static"
|
config: "CC=clang --enable-debug --disable-flto --with-libevent --disable-static"
|
||||||
# make_test: "yes"
|
make_test: "yes"
|
||||||
# clang_analysis: "yes"
|
clang_analysis: "yes"
|
||||||
# - name: OS X
|
- name: OS X
|
||||||
# os: macos-latest
|
os: macos-latest
|
||||||
# install_expat: "yes"
|
install_expat: "yes"
|
||||||
# config: "--enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat"
|
config: "--enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat"
|
||||||
# make_test: "yes"
|
make_test: "yes"
|
||||||
# - name: Clang on OS X
|
- name: Clang on OS X
|
||||||
# os: macos-latest
|
os: macos-latest
|
||||||
# install_expat: "yes"
|
install_expat: "yes"
|
||||||
# config: "CC=clang --enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat --disable-static"
|
config: "CC=clang --enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat --disable-static"
|
||||||
# make_test: "yes"
|
make_test: "yes"
|
||||||
# clang_analysis: "yes"
|
clang_analysis: "yes"
|
||||||
# - name: ubsan (gcc undefined behaviour sanitizer)
|
- name: ubsan (gcc undefined behaviour sanitizer)
|
||||||
# os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
# config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=undefined -fno-sanitize-recover=all" --disable-flto --disable-static'
|
config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=undefined -fno-sanitize-recover=all" --disable-flto --disable-static'
|
||||||
# make_test: "yes"
|
make_test: "yes"
|
||||||
# - name: asan (gcc address sanitizer)
|
- name: asan (gcc address sanitizer)
|
||||||
# os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
# config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=address" --disable-flto --disable-static'
|
config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=address" --disable-flto --disable-static'
|
||||||
# make_test: "yes"
|
make_test: "yes"
|
||||||
# - name: Apple iPhone on iOS, armv7
|
- name: Apple iPhone on iOS, armv7
|
||||||
# os: macos-latest
|
os: macos-latest
|
||||||
# AUTOTOOLS_HOST: armv7-apple-ios
|
AUTOTOOLS_HOST: armv7-apple-ios
|
||||||
# OPENSSL_HOST: ios-cross
|
OPENSSL_HOST: ios-cross
|
||||||
# IOS_SDK: iPhoneOS
|
IOS_SDK: iPhoneOS
|
||||||
# IOS_CPU: armv7s
|
IOS_CPU: armv7s
|
||||||
# test_ios: "yes"
|
test_ios: "yes"
|
||||||
# config: "no"
|
config: "no"
|
||||||
# make: "no"
|
make: "no"
|
||||||
# - name: Apple iPhone on iOS, arm64
|
- name: Apple iPhone on iOS, arm64
|
||||||
# os: macos-latest
|
os: macos-latest
|
||||||
# AUTOTOOLS_HOST: aarch64-apple-ios
|
AUTOTOOLS_HOST: aarch64-apple-ios
|
||||||
# OPENSSL_HOST: ios64-cross
|
OPENSSL_HOST: ios64-cross
|
||||||
# IOS_SDK: iPhoneOS
|
IOS_SDK: iPhoneOS
|
||||||
# IOS_CPU: arm64
|
IOS_CPU: arm64
|
||||||
# test_ios: "yes"
|
test_ios: "yes"
|
||||||
# config: "no"
|
config: "no"
|
||||||
# make: "no"
|
make: "no"
|
||||||
# - name: Apple TV on iOS, arm64
|
- name: Apple TV on iOS, arm64
|
||||||
# os: macos-latest
|
os: macos-latest
|
||||||
# AUTOTOOLS_HOST: aarch64-apple-ios
|
AUTOTOOLS_HOST: aarch64-apple-ios
|
||||||
# OPENSSL_HOST: ios64-cross
|
OPENSSL_HOST: ios64-cross
|
||||||
# IOS_SDK: AppleTVOS
|
IOS_SDK: AppleTVOS
|
||||||
# IOS_CPU: arm64
|
IOS_CPU: arm64
|
||||||
# test_ios: "yes"
|
test_ios: "yes"
|
||||||
# config: "no"
|
config: "no"
|
||||||
# make: "no"
|
make: "no"
|
||||||
# - name: Apple Watch on iOS, armv7
|
- name: Apple Watch on iOS, armv7
|
||||||
# os: macos-latest
|
os: macos-latest
|
||||||
# AUTOTOOLS_HOST: armv7-apple-ios
|
AUTOTOOLS_HOST: armv7-apple-ios
|
||||||
# OPENSSL_HOST: ios-cross
|
OPENSSL_HOST: ios-cross
|
||||||
# IOS_SDK: WatchOS
|
IOS_SDK: WatchOS
|
||||||
# IOS_CPU: armv7k
|
IOS_CPU: armv7k
|
||||||
# test_ios: "yes"
|
test_ios: "yes"
|
||||||
# config: "no"
|
config: "no"
|
||||||
# make: "no"
|
make: "no"
|
||||||
# - name: iPhoneSimulator on OS X, i386
|
- name: iPhoneSimulator on OS X, i386
|
||||||
# os: macos-latest
|
os: macos-latest
|
||||||
# AUTOTOOLS_HOST: i386-apple-ios
|
AUTOTOOLS_HOST: i386-apple-ios
|
||||||
# OPENSSL_HOST: iphoneos-cross
|
OPENSSL_HOST: iphoneos-cross
|
||||||
# IOS_SDK: iPhoneSimulator
|
IOS_SDK: iPhoneSimulator
|
||||||
# IOS_CPU: i386
|
IOS_CPU: i386
|
||||||
# test_ios: "yes"
|
test_ios: "yes"
|
||||||
# config: "no"
|
config: "no"
|
||||||
# make: "no"
|
make: "no"
|
||||||
# - name: iPhoneSimulator on OS X, x86_64
|
- name: iPhoneSimulator on OS X, x86_64
|
||||||
# os: macos-latest
|
os: macos-latest
|
||||||
# AUTOTOOLS_HOST: x86_64-apple-ios
|
AUTOTOOLS_HOST: x86_64-apple-ios
|
||||||
# OPENSSL_HOST: iphoneos-cross
|
OPENSSL_HOST: iphoneos-cross
|
||||||
# IOS_SDK: iPhoneSimulator
|
IOS_SDK: iPhoneSimulator
|
||||||
# IOS_CPU: x86_64
|
IOS_CPU: x86_64
|
||||||
# test_ios: "yes"
|
test_ios: "yes"
|
||||||
# config: "no"
|
config: "no"
|
||||||
# make: "no"
|
make: "no"
|
||||||
# - name: AppleTVSimulator on OS X, x86_64
|
- name: AppleTVSimulator on OS X, x86_64
|
||||||
# os: macos-latest
|
os: macos-latest
|
||||||
# AUTOTOOLS_HOST: x86_64-apple-ios
|
AUTOTOOLS_HOST: x86_64-apple-ios
|
||||||
# OPENSSL_HOST: iphoneos-cross
|
OPENSSL_HOST: iphoneos-cross
|
||||||
# IOS_SDK: AppleTVSimulator
|
IOS_SDK: AppleTVSimulator
|
||||||
# IOS_CPU: x86_64
|
IOS_CPU: x86_64
|
||||||
# test_ios: "yes"
|
test_ios: "yes"
|
||||||
# config: "no"
|
config: "no"
|
||||||
# make: "no"
|
make: "no"
|
||||||
# - name: WatchSimulator on OS X, i386
|
- name: WatchSimulator on OS X, i386
|
||||||
# os: macos-latest
|
os: macos-latest
|
||||||
# AUTOTOOLS_HOST: i386-apple-ios
|
AUTOTOOLS_HOST: i386-apple-ios
|
||||||
# OPENSSL_HOST: iphoneos-cross
|
OPENSSL_HOST: iphoneos-cross
|
||||||
# IOS_SDK: WatchSimulator
|
IOS_SDK: WatchSimulator
|
||||||
# IOS_CPU: i386
|
IOS_CPU: i386
|
||||||
# test_ios: "yes"
|
test_ios: "yes"
|
||||||
# config: "no"
|
config: "no"
|
||||||
# make: "no"
|
make: "no"
|
||||||
# - name: Android armv7a
|
- name: Android armv7a
|
||||||
# os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
# AUTOTOOLS_HOST: armv7a-linux-androidabi
|
AUTOTOOLS_HOST: armv7a-linux-androidabi
|
||||||
# OPENSSL_HOST: android-arm
|
OPENSSL_HOST: android-arm
|
||||||
# ANDROID_CPU: armv7a
|
ANDROID_CPU: armv7a
|
||||||
# ANDROID_API: 23
|
ANDROID_API: 23
|
||||||
# test_android: "yes"
|
test_android: "yes"
|
||||||
# config: "no"
|
config: "no"
|
||||||
# make: "no"
|
make: "no"
|
||||||
# - name: Android aarch64
|
- name: Android aarch64
|
||||||
# os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
# AUTOTOOLS_HOST: aarch64-linux-android
|
AUTOTOOLS_HOST: aarch64-linux-android
|
||||||
# OPENSSL_HOST: android-arm64
|
OPENSSL_HOST: android-arm64
|
||||||
# ANDROID_CPU: aarch64
|
ANDROID_CPU: aarch64
|
||||||
# ANDROID_API: 23
|
ANDROID_API: 23
|
||||||
# test_android: "yes"
|
test_android: "yes"
|
||||||
# config: "no"
|
config: "no"
|
||||||
# make: "no"
|
make: "no"
|
||||||
# - name: Android x86
|
- name: Android x86
|
||||||
# os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
# AUTOTOOLS_HOST: i686-linux-android
|
AUTOTOOLS_HOST: i686-linux-android
|
||||||
# OPENSSL_HOST: android-x86
|
OPENSSL_HOST: android-x86
|
||||||
# ANDROID_CPU: x86
|
ANDROID_CPU: x86
|
||||||
# ANDROID_API: 23
|
ANDROID_API: 23
|
||||||
# test_android: "yes"
|
test_android: "yes"
|
||||||
# config: "no"
|
config: "no"
|
||||||
# make: "no"
|
make: "no"
|
||||||
# - name: Android x86_64
|
- name: Android x86_64
|
||||||
# os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
# AUTOTOOLS_HOST: x86_64-linux-android
|
AUTOTOOLS_HOST: x86_64-linux-android
|
||||||
# OPENSSL_HOST: android-x86_64
|
OPENSSL_HOST: android-x86_64
|
||||||
# ANDROID_CPU: x86_64
|
ANDROID_CPU: x86_64
|
||||||
# ANDROID_API: 23
|
ANDROID_API: 23
|
||||||
# test_android: "yes"
|
test_android: "yes"
|
||||||
# config: "no"
|
config: "no"
|
||||||
# make: "no"
|
make: "no"
|
||||||
- name: Windows
|
- name: Windows
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
test_windows: "yes"
|
test_windows: "yes"
|
||||||
|
|
@ -175,18 +175,11 @@ jobs:
|
||||||
cd ..
|
cd ..
|
||||||
export prepath=`pwd`
|
export prepath=`pwd`
|
||||||
echo prepath=${prepath}
|
echo prepath=${prepath}
|
||||||
echo "choco winflexbison3"
|
echo "choco install winflexbison3"
|
||||||
choco install winflexbison3
|
choco install winflexbison3
|
||||||
echo "dir"
|
echo 'LEX="win_flex"'
|
||||||
ls -l "C:/ProgramData/chocolatey/lib/winflexbison3/tools"
|
|
||||||
ls -l "C:\\ProgramData\\chocolatey\\lib\\winflexbison3\\tools"
|
|
||||||
echo "win_ prefixed"
|
|
||||||
win_flex -h
|
|
||||||
win_bison -h
|
|
||||||
echo "in chocho dir"
|
|
||||||
C:/ProgramData/chocolatey/bin/win_flex.exe -h
|
|
||||||
C:/ProgramData/chocolatey/bin/win_bison.exe -h
|
|
||||||
export LEX="win_flex"
|
export LEX="win_flex"
|
||||||
|
echo 'YACC="win_bison -y"'
|
||||||
export YACC="win_bison -y"
|
export YACC="win_bison -y"
|
||||||
#echo "curl cpanm"
|
#echo "curl cpanm"
|
||||||
#curl -L -k -s -S -o cpanm https://cpanmin.us/
|
#curl -L -k -s -S -o cpanm https://cpanmin.us/
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
21 August 2023: Wouter
|
21 August 2023: Wouter
|
||||||
- Debug Windows ci workflow.
|
- Debug Windows ci workflow.
|
||||||
|
- Fix windows ci workflow to install bison and flex.
|
||||||
|
|
||||||
18 August 2023: Wouter
|
18 August 2023: Wouter
|
||||||
- Fix for iter_dec_attempts that could cause a hang, part of
|
- Fix for iter_dec_attempts that could cause a hang, part of
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue