Bump org.junit.jupiter:junit-jupiter from 5.10.0 to 5.10.1 #64
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/codeql.yml: codeql workflow for apple-gdb-1824 | |
# For most projects, this workflow file will not need changing; you simply need | |
# to commit it to your repository. | |
# | |
# You may wish to alter this file to override the set of languages analyzed, | |
# or to provide custom queries or build logic. | |
# | |
# ******** NOTE ******** | |
# We have attempted to detect the languages in your repository. Please check | |
# the `language` matrix defined below to confirm you have the correct set of | |
# supported CodeQL languages. | |
# | |
name: "CodeQL" | |
on: | |
push: | |
branches: | |
- master | |
- main | |
- dependabot/* | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: | |
- master | |
- main | |
- dependabot/* | |
schedule: | |
- cron: '38 5 * * 2' | |
jobs: | |
analyze: | |
name: Analyze | |
# Runner size impacts CodeQL analysis time. To learn more, please see: | |
# - https://gh.io/recommended-hardware-resources-for-running-codeql | |
# - https://gh.io/supported-runners-and-hardware-resources | |
# - https://gh.io/using-larger-runners | |
# Consider using larger runners for possible analysis time improvements. | |
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} | |
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby' ] | |
# CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ] | |
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both | |
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both | |
# Learn more about CodeQL language support at: | |
# https://aka.ms/codeql-docs/language-support | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
# If you wish to specify custom queries, you can do so here or in a config file. | |
# By default, queries listed here will override any specified in a config file. | |
# Prefix the list here with "+" to use these queries and those in the config file. | |
# For more details on CodeQL's query packs, refer to: | |
# https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs | |
# queries: security-extended,security-and-quality | |
- name: Create builddirs | |
run: | | |
if test ! -d build; then mkdir build; else stat build; fi | |
if test ! -d /home/runner/work/apple-gdb-1824/build; then \ | |
if test -w /home/runner/work/apple-gdb-1824; then \ | |
mkdir /home/runner/work/apple-gdb-1824/build; \ | |
elif test -w /home/runner/work -o -w /home/runner -o -w /home; then \ | |
mkdir -p /home/runner/work/apple-gdb-1824/build; \ | |
fi; \ | |
else \ | |
stat /home/runner/work/apple-gdb-1824/build; \ | |
fi | |
cd src | |
- name: Dependencies | |
if: matrix.language == 'c-cpp' | |
run: sudo apt-get -y install autopoint gobjc clang | |
- name: Syntax check | |
if: matrix.language == 'ruby' | |
run: ruby -c src/gdb/testsuite/gdb.apple/gen-x86-prologues.rb | |
- name: Setup Gradle | |
if: matrix.language == 'java-kotlin' | |
uses: gradle/gradle-build-action@v2 | |
- name: Run build with Gradle Wrapper | |
if: matrix.language == 'java-kotlin' && success() | |
run: ./gradlew build || stat ./gradlew | |
# Can try bringing back autobuild for 'c-cpp' once darling has xcrun: | |
- name: Autobuild | |
if: matrix.language != 'c-cpp' | |
uses: github/codeql-action/autobuild@v2 | |
- name: Manual build | |
if: matrix.language == 'c-cpp' | |
run: | | |
test -e ./.profile_generic && source ./.profile_generic | |
./configure --enable-silent-rules | |
make -ki -C libcheckpoint || make -ki -C libcheckpoint -f Makefile_orig || make -ki -C macsbug || make -ki -C macsbug/gdb_plugin_support || (if test -x "$(which ant)"; then ant; fi) | |
cd src | |
./configure --disable-werror --enable-silent-rules | |
make configure-bfd | |
make -C bfd headers | |
if test ! -e bfd/bfd.h; then make -C bfd bfd.h; else stat bfd/bfd.h; fi | |
if test -e autogen/Makefile; then \ | |
make -C autogen; \ | |
elif test -d autogen; then \ | |
ls autogen/Makefile*; \ | |
else \ | |
echo "skipping autogen"; \ | |
fi | |
make -C bfd diststuff | |
echo "make all-cgen" && (time make all-cgen) && echo "done making all-cgen" | |
echo "make all-libiberty" && (time make -j"$(nproc)" all-libiberty) && echo "done making all-libiberty" | |
echo "make all-intl" && (time make all-intl) && echo "done making all-intl" | |
echo "make all-etc" && (time make all-etc) && echo "done making all-etc" | |
echo "make all-libdecnumber" && (time make all-libdecnumber) && echo "done making all-libdecnumber" | |
echo "make all-mmalloc" && (time make all-mmalloc) && echo "done making all-mmalloc" | |
make configure-electric-fence | |
make configure-readline | |
for dir in libtool_gnu sim utils tcl expect dejagnu itcl tk libgui; do \ | |
if test -e ${dir}/configure; then \ | |
make configure-${dir}; \ | |
elif test -d ${dir}; then \ | |
ls ${dir}/configure*; \ | |
else \ | |
echo "skipping configuring in ${dir}"; \ | |
fi; \ | |
done | |
for dir in sim utils tcl expect dejagnu itcl tk libgui; do \ | |
if test -e ${dir}/Makefile; then \ | |
echo "doing make in ${dir}" && (time make -j"$(nproc)" -C ${dir}) && echo "done running make in ${dir}"; \ | |
elif test -d ${dir}; then \ | |
ls ${dir}/Makefile*; \ | |
else \ | |
echo "skipping ${dir}"; \ | |
fi; \ | |
done | |
make check-libiberty | |
for dir in sim itcl; do \ | |
if test -e ${dir}/Makefile; then \ | |
make check-${dir} V=0 RUNTESTFLAGS="-v"; \ | |
elif test -d ${dir}; \ | |
then ls ${dir}/Makefile*; \ | |
else \ | |
echo "skipping testing ${dir}"; \ | |
fi; \ | |
done | |
- name: Extra coverage build (C) | |
if: matrix.language == 'c-cpp' && success() | |
run: | | |
cd src | |
if test -d autogen; then \ | |
pushd autogen; \ | |
if test -x ./configure; then \ | |
./configure --disable-werror --enable-silent-rules --disable-option-checking CFLAGS="-w" || stat -t ./configure; \ | |
elif test -x ./config.status; then \ | |
./config.status || stat -t ./config.status; \ | |
elif test -f Makefile; then \ | |
make V=0 || stat -t Makefile; \ | |
else \ | |
pwd && ls; \ | |
fi; \ | |
popd; \ | |
else \ | |
echo "warning: autogen appears to be missing?"; \ | |
fi | |
# shellcheck disable=SC2001,SC2235 | |
for subdir in autogen/agen5 autogen/autoopts autogen/columns autogen/compat autogen/getdefs autogen/snprintfv autogen/xml2ag bfd bfd/doc binutils dejagnu dejagnu/contrib/bluegnu2.0.3/example/calc dejagnu/example/calc electric-fence expect expect/example expect/testsuite gdb gdb/gdbserver gdb/gnulib gdb/gnulib/import gdb/multi-ice gdb/nlm gdb/rdi-share gdb/rem-multi_old gdb/testsuite gdb/testsuite/gdb.apple gdb/testsuite/gdb.apple/debug-in-ofile gdb/testsuite/gdb.apple/gused gdb/testsuite/gdb.apple/xcode gdb/testsuite/gdb.arch gdb/testsuite/gdb.base gdb/testsuite/gdb.btrace gdb/testsuite/gdb.cell gdb/testsuite/gdb.dwarf2 gdb/testsuite/gdb.gdbtk gdb/testsuite/gdb.guile gdb/testsuite/gdb.hp gdb/testsuite/gdb.hp/gdb.aCC gdb/testsuite/gdb.hp/gdb.base-hp gdb/testsuite/gdb.hp/gdb.compat gdb/testsuite/gdb.hp/gdb.defects gdb/testsuite/gdb.linespec gdb/testsuite/gdb.mi gdb/testsuite/gdb.modula2 gdb/testsuite/gdb.multi gdb/testsuite/gdb.opt gdb/testsuite/gdb.perf gdb/testsuite/gdb.python gdb/testsuite/gdb.reverse gdb/testsuite/gdb.server gdb/testsuite/gdb.stabs gdb/testsuite/gdb.threads gdb/testsuite/gdb.trace gdb/tui intl itcl/itcl/win itcl/itk/win libbacktrace libdecnumber libgui/src libiberty libiberty/testsuite libtool_gnu/libltdl libtool_gnu/tests/cdemo libtool_gnu/tests/demo libtool_gnu/tests/depdemo libtool_gnu/tests/depdemo/l1 libtool_gnu/tests/depdemo/l2 libtool_gnu/tests/depdemo/l3 libtool_gnu/tests/depdemo/l4 libtool_gnu/tests/f77demo libtool_gnu/tests/fcdemo libtool_gnu/tests/mdemo libtool_gnu/tests/mdemo2 libtool_gnu/tests/pdemo mmalloc opcodes readline readline/examples readline/examples/rlfe.dir sim/common sim/igen sim/testsuite/common tcl/unix tcl/unix/dltest tcl/win tk/unix tk/win utils/amd-udi/mondfe utils/amd-udi/montip utils/amd-udi/udi utils/decomment.tproj utils/misc/doschk utils/relpath.tproj utils/sparclite utils/spu utils/wince zlib zlib/contrib/minizip; do \ | |
if test -e "${subdir}/Makefile" || test -x "${subdir}/configure"; then \ | |
pushd "${subdir}"; \ | |
if test ! -r Makefile && test -x ./configure; then \ | |
echo "configuring in ${subdir}"; \ | |
./configure --disable-werror --enable-silent-rules --disable-option-checking CFLAGS="-w" || stat -t ./configure; \ | |
elif test ! -e Makefile && test -x ./config.status; then \ | |
echo "checking with ./config.status in ${subdir}"; \ | |
./config.status CFLAGS="-w" || stat -t ./config.status; \ | |
else \ | |
echo "assuming we are fully configured in ${subdir}"; \ | |
fi | |
for srcfile in *.c; do \ | |
echo "attempting to use $(which make) to compile ${srcfile} in ${subdir}"; \ | |
make "$(echo "${srcfile}" | sed "s/\.c/.o/g")" V=0 CFLAGS="-w" || stat -t "${srcfile}"; \ | |
done; \ | |
popd; \ | |
elif test -d "${subdir}" && (test -r "${subdir}/Makefile.in" || test -r "${subdir}/Makefile.am" || test -r "${subdir}/Makefile.def" || test -r "${subdir}/Makefile.tpl"); then \ | |
echo "no unsuffixed Makefile in ${subdir}, but there are these ones with suffixes:"; \ | |
ls ${subdir}/Makefile* || echo "... $(ls ${subdir}/Makefile*)"; \ | |
else \ | |
echo "skipping attempting to build additional objfiles in ${subdir}"; \ | |
fi; \ | |
done | |
find . -name '*.o' -exec cp -v {} . ";" || echo "failed copying an object file" | |
# shellcheck disable=SC2001,SC2044 | |
for cfile in $(find . -name '*.c' -type f); do \ | |
cobjfile="$(echo "${cfile}" | sed "s/\.c/.o/g")"; \ | |
if test ! -e "${cobjfile}"; then \ | |
echo "One last attempt at compiling ${cfile}..."; \ | |
gcc -c -w "${cfile}" || gcc -c -w -I. "${cfile}" || gcc -c -w -I. -I.. "${cfile}" || stat -t "${cfile}" || echo "cfile is ${cfile}"; \ | |
else \ | |
echo "object file ${cobjfile} already exists for ${cfile}."; \ | |
cp -v "${cobjfile}" "$(dirname "${cfile}")" || cp -v "${cobjfile}" . || cp -v "${cobjfile}" ..; \ | |
fi; \ | |
done | |
- name: Extra coverage build (C++) | |
if: matrix.language == 'c-cpp' && success() | |
run: | | |
cd src | |
if test -d gdb/testsuite; then \ | |
pushd gdb/testsuite; \ | |
if test -x ./configure; then \ | |
./configure || stat ./configure; \ | |
elif test -x ./config.status; then \ | |
./config.status || stat ./config.status; \ | |
elif test -f Makefile; then \ | |
make || stat Makefile; \ | |
else \ | |
pwd && ls; \ | |
fi; \ | |
popd; \ | |
else \ | |
echo "warning: gdb testsuite appears to be missing?"; \ | |
fi | |
# shellcheck disable=SC2001 | |
for subdir in dejagnu/testsuite/libdejagnu gdb/testsuite/gdb.apple gdb/testsuite/gdb.apple/gused gdb/testsuite/gdb.apple/ld-r gdb/testsuite/gdb.btrace gdb/testsuite/gdb.c++ gdb/testsuite/gdb.cp gdb/testsuite/gdb.gdbtk gdb/testsuite/gdb.hp gdb/testsuite/gdb.linespec gdb/testsuite/gdb.mi gdb/testsuite/gdb.python gdb/testsuite/gdb.trace; do \ | |
if test -e "${subdir}/Makefile" && test -r "${subdir}/Makefile"; then \ | |
pushd "${subdir}"; \ | |
if test -w . && test -w Makefile && test -n "$(wc -l Makefile)"; then \ | |
touch Makefile; \ | |
fi; \ | |
for srcfile in *.cc; do \ | |
echo "attempting to use $(which make) to compile ${srcfile} in ${subdir}"; \ | |
make "$(echo "${srcfile}" | sed "s/\.cc/.o/g")" || stat "${srcfile}"; \ | |
done; \ | |
cp -v ./*.o .. || ls ./*.o || pwd; \ | |
popd; \ | |
elif test -d "${subdir}"; \ | |
then ls ${subdir}/Makefile*; \ | |
else \ | |
echo "skipping attempting to build additional objfiles in ${subdir}"; \ | |
fi; \ | |
done | |
# shellcheck disable=SC2044 | |
for ccfile in $(find . -name '*.cc' -type f); do \ | |
echo "One last attempt at compiling ${ccfile}..."; \ | |
g++ -c "${ccfile}" || g++ -c -I. "${ccfile}" || g++ -c -I. -I.. "${ccfile}" || stat "${ccfile}"; \ | |
done | |
if test -e gdb/testsuite/gdb.apple/Makefile; then \ | |
pushd gdb/testsuite/gdb.apple; \ | |
make file-statics-cpp.o || stat file-statics-cpp.cpp; \ | |
make var-path-expr.o || stat var-path-expr.cpp; \ | |
cp -v ./*.o .. || ls ./*.o || pwd; \ | |
popd; \ | |
fi | |
# shellcheck disable=SC2044 | |
for cppfile in $(find . -name '*.cpp' -type f); do \ | |
echo "One last attempt at compiling ${cppfile}..."; \ | |
g++ -c "${cppfile}" || g++ -c -I. "${cppfile}" || g++ -c -I. -I.. "${cppfile}" || stat "${cppfile}"; \ | |
done | |
if test -e gdb/testsuite/gdb.base/Makefile && test -e gdb/testsuite/gdb.base/langs2.cxx; then \ | |
pushd gdb/testsuite/gdb.base; \ | |
make langs2.o || stat langs2.cxx; \ | |
cp -v ./*.o .. || ls ./*.o || pwd; \ | |
popd; \ | |
fi | |
# shellcheck disable=SC2044 | |
for cxxfile in $(find . -name '*.cxx' -type f); do \ | |
echo "One last attempt at compiling ${cxxfile}..."; \ | |
g++ -c "${cxxfile}" || g++ -c -I. "${cxxfile}" || g++ -c -I. -I.. "${cxxfile}" || stat "${cxxfile}"; \ | |
done | |
if test -e mmalloc/Makefile; then \ | |
pushd mmalloc; \ | |
make mmallocplusplus.o || stat mmallocplusplus.cp; \ | |
cp -v ./*.o .. || ls ./*.o || pwd; \ | |
popd; \ | |
fi | |
- name: Extra coverage build (Java) | |
if: matrix.language == 'java-kotlin' && success() | |
run: | | |
# shellcheck disable=SC2044 | |
for javafile in $(find . -name '*.java' -type f); do \ | |
javac "${javafile}" || stat "${javafile}"; \ | |
done | |
- name: Clang static analysis | |
if: matrix.language == 'c-cpp' && success() | |
run: | | |
cd src | |
# shellcheck disable=SC2001 | |
if test -x "$(which clang)"; then | |
for subdir in bfd electric-fence gdb utils/misc/doschk utils/spu; do \ | |
if test -e ${subdir}/Makefile; then \ | |
pushd "${subdir}"; \ | |
for srcfile in *.c; do \ | |
make "$(echo "${srcfile}" | sed "s/\.c/.plist/g")" || stat "${srcfile}"; \ | |
done; \ | |
popd; \ | |
elif test -d "${subdir}"; \ | |
then ls ${subdir}/Makefile*; \ | |
else \ | |
echo "skipping attempting to do static analysis with clang in ${subdir}"; \ | |
fi; \ | |
done; \ | |
else \ | |
echo "clang missing"; \ | |
fi | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 | |
with: | |
category: "/language:${{matrix.language}}" |