-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: I75eea1441d7b799f4fa1819b0432708914be26c2
- Loading branch information
1 parent
09feae0
commit df4d19f
Showing
13 changed files
with
421 additions
and
412 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,18 +32,18 @@ jobs: | |
- run: test -e ./.profile_generic && test -r ./.profile_generic && source ./.profile_generic && (env | uniq | sort | uniq) && sync | ||
- run: ./configure --enable-silent-rules CC=${{ matrix.compiler }} OBJC=${{ matrix.compiler }} | ||
- run: 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; else echo "ant missing"; fi) | ||
- run: if test ! -e libcheckpoint/libcheckpoint.dylib; then (echo "ensuring libcheckpoint is built" && sync && make -ki -C libcheckpoint -f Makefile_orig RC_CFLAGS="-std=gnu89 -w -Wno-error") || (sync && make -ki -C macsbug) || (sync && make -ki -C macsbug/gdb_plugin_support) || (if test -x "$(which ant)"; then ant; else echo "ant missing"; fi); else (sync && stat libcheckpoint/libcheckpoint.dylib); fi | ||
- run: if test -d .. && test -w .. && test ! -e ../gdb; then (echo "symlinking source directory" && pushd .. && ln -sv apple-gdb-1824 gdb && sync && readlink gdb && popd); else (sync && stat .. && ls ..); fi | ||
- run: if test ! -e libcheckpoint/libcheckpoint.dylib; then (sync && echo "ensuring libcheckpoint is built" && sync && make -ki -C libcheckpoint -f Makefile_orig RC_CFLAGS="-std=gnu89 -w -Wno-error" && sync) || (sync && make -ki -C macsbug) || (sync && make -ki -C macsbug/gdb_plugin_support) || (if test -x "$(which ant)"; then ant; else echo "ant missing"; fi); else (sync && stat libcheckpoint/libcheckpoint.dylib); fi | ||
- run: if test -d .. && test -w .. && test ! -e ../gdb; then (echo "symlinking source directory" && pushd .. && ln -sv apple-gdb-1824 gdb && sync && readlink gdb && sync && popd); else (sync && stat .. && ls ..); fi | ||
- run: (if test -n "$(type ant 2>/dev/null)" && test -x "$(which ant)" && test -r build.xml; then if test ! -d build; then mkdir build; elif test ! -d "${HOME}"/work/apple-gdb-1824/build; then mkdir -pv "${HOME}"/work/apple-gdb-1824/build; fi; ant; else (echo "ant missing" && sync); fi) || (if test -x ./gradlew; then (./gradlew build || ./gradlew assemble || ./gradlew); elif test -r ./gradlew; then sh ./gradlew; elif test -e ./gradlew; then stat ./gradlew; else echo "gradlewrapper missing"; fi) || (if test -x "$(which gradle)"; then gradle; else echo "gradle missing"; fi) || (if test -x ~rc/bin/buildit; then sudo ~rc/bin/buildit "$(pwd)" -arch ppc -arch i386 -arch armv5 -target cross -project gdb -release RELEASENAME RC_CROSS_ARCHS=armv6; else echo "buildit missing"; fi) || ls | ||
- run: (if test -x ./gradlew; then (./gradlew build || ./gradlew assemble || ./gradlew); elif test -r ./gradlew; then sh ./gradlew; elif test -e ./gradlew; then stat ./gradlew; else echo "gradlewrapper missing" >&2; fi) || (if test -x "$(which gradle)"; then gradle; else echo "gradle missing"; fi) || (if test -x ~rc/bin/buildit; then sudo ~rc/bin/buildit "$(pwd)" -arch ppc -arch i386 -arch armv5 -target cross -project gdb -release RELEASENAME RC_CROSS_ARCHS=armv6; else echo "buildit missing"; fi) || ls | ||
- run: cd src && ./configure --disable-werror --disable-opts-test --enable-carbon-framework --enable-debug-symbols-framework --enable-64-bit-bfd --enable-silent-rules CC=${{ matrix.compiler }} OBJC=${{ matrix.compiler }} | ||
- run: cd src && make configure-bfd | ||
- run: cd src && make -C bfd headers | ||
- run: cd src && if test ! -e bfd/bfd.h; then make -C bfd bfd.h; else stat bfd/bfd.h; fi | ||
- run: cd src && if test ! -e bfd/bfd.h; then (sync && make -C bfd bfd.h); else (sync && stat bfd/bfd.h); fi | ||
- run: cd src && make -C bfd diststuff | ||
- run: cd src && make all-bfd | ||
- run: if test ! -e macsbug/MacsBug_plugin; then make -ki -C macsbug || make -ki -C macsbug/gdb_plugin_support || (if test -x "$(which ant)"; then ant; else echo "ant missing"; fi); else stat macsbug/MacsBug_plugin; fi | ||
- run: if test ! -e macsbug/gdb_plugin_support/gdb_plugin_support.o; then make -ki -C macsbug/gdb_plugin_support TARGET_ARCHITECTURE="x86_64" || (if test -x "$(which ant)"; then ant; fi) || (for cfile in macsbug/gdb_plugin_support/*.c; do ${{ matrix.compiler }} -c "${cfile}" || stat "${cfile}"; done); else stat macsbug/gdb_plugin_support/gdb_plugin_support.o; fi | ||
- run: if test ! -e macsbug/gdb_plugin_support/gdb_plugin_support.o; then (sync && make -ki -C macsbug/gdb_plugin_support TARGET_ARCHITECTURE="x86_64") || (if test -x "$(which ant)"; then ant; fi) || (for cfile in macsbug/gdb_plugin_support/*.c; do ${{ matrix.compiler }} -c "${cfile}" || stat "${cfile}"; done); else stat macsbug/gdb_plugin_support/gdb_plugin_support.o; fi | ||
- run: cd src && make all-opcodes | ||
- run: cd src && make configure-binutils | ||
- name: Backup that annoying arparse.h header | ||
|
@@ -53,28 +53,34 @@ jobs: | |
if test ! -e arparse.h; then \ | ||
echo "make my_arparse.h"; \ | ||
make my_arparse.h; \ | ||
else \ | ||
sync && stat arparse.h; \ | ||
fi | ||
if test ! -f arparse.h; then \ | ||
echo "remake arparse.c"; \ | ||
remake arparse.c; \ | ||
else \ | ||
sync && wc -l arparse.h; \ | ||
fi | ||
# shellcheck disable=SC2046 | ||
if test ! -e arparse.h; then \ | ||
echo "trying the relevant Makefile rule as copied into this CI workflow"; \ | ||
/bin/sh ./../ylwrap arparse.y y.tab.c arparse.c y.tab.h "$(echo arparse.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/)" y.output arparse.output -- $(if [ -f ../bison/bison ]; then echo ../bison/bison -y -L./../bison/; else echo bison -o y.tab.c; fi) -d -t -v -k; \ | ||
else \ | ||
sync && du arparse.h; \ | ||
fi | ||
if test -e arparse.h; then \ | ||
if test ! -e ../bfd/arparse.h; then \ | ||
cp -v arparse.h ../bfd; \ | ||
sync && cp -v arparse.h ../bfd; \ | ||
elif test ! -e ../include/arparse.h; then \ | ||
cp -v arparse.h ../include; \ | ||
sync && cp -v arparse.h ../include; \ | ||
else \ | ||
stat arparse.h; \ | ||
sync && stat arparse.h; \ | ||
fi; \ | ||
else \ | ||
ls ./*.h || ls || pwd; \ | ||
fi | ||
find . -name arparse.h -type f -print | ||
sync && find . -name arparse.h -type f -print | ||
- run: cd src && make all-binutils | ||
- run: cd src && make all-cgen && make all-libiberty && make all-intl | ||
- run: cd src && make all-electric-fence | ||
|
@@ -116,21 +122,24 @@ jobs: | |
make check-local || make check stamp-framework ls; \ | ||
elif test ${{ matrix.compiler }} == gcc; then \ | ||
pushd bfd; \ | ||
make check-DEJAGNU; \ | ||
sync && make check-DEJAGNU; \ | ||
popd; \ | ||
pushd mmalloc; \ | ||
make info dvi stamp-framework-headers ls; \ | ||
sync && make info dvi stamp-framework-headers ls; \ | ||
popd; \ | ||
pushd electric-fence; \ | ||
make check stamp-framework ls; \ | ||
sync && make check stamp-framework ls; \ | ||
popd; \ | ||
pushd readline; \ | ||
make lint || make lint-local || make my_TAGS || make tags-local; \ | ||
popd; \ | ||
else \ | ||
echo "error, unhandled compiler!" >&2 && exit 1; \ | ||
fi | ||
- run: cd src && make check-opcodes && make check-intl | ||
- run: cd src && make check-opcodes && sync && make check-intl | ||
- run: cd src && make check-binutils | ||
- run: cd src && make check-utils | ||
- run: time (pwd && ls) | ||
- run: time (pwd && sync && ls) | ||
if: "${{ success() }}" | ||
- name: Upload a Build Artifact | ||
uses: actions/[email protected] | ||
|
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
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
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
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
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
Oops, something went wrong.