try adding a macos CI runner #1
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
name: cooljeanius/apple-gdb-1824-macos | |
on: | |
push: | |
branches: | |
- "**/*" | |
pull_request: | |
jobs: | |
test: | |
runs-on: macos-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- run: brew update | |
- run: sudo apt-get install autogen libobjc2 objc-codegenutils objc-run objconv texi2html texinfo flex aarch64-elf-binutils arm-linux-gnueabihf-binutils arm-none-eabi-binutils binutils i686-elf-binutils riscv64-elf-binutils x86_64-elf-binutils x86_64-linux-gnu-binutils pax ncurses deja-gnu expect guile tcl-tk m4 osxutils dmalloc fastjar gdb gettext gperf help2man ant ant-contrib findutils grep coreutils | |
- run: test -e ./.profile_generic && source ./.profile_generic | |
- run: ./configure --enable-silent-rules | |
- 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; fi) | |
- run: cd src && ./configure --disable-werror --disable-opts-test --enable-carbon-framework --enable-debug-symbols-framework --enable-64-bit-bfd --enable-silent-rules | |
- run: cd src && make | |
- run: cd src && make check | |
- run: pwd | |
if: "${{ success() }}" | |
- run: find . -name config.log -print0 | xargs cat | grep -i error | sort | uniq | |
if: "${{ failure() }}" | |
strategy: | |
matrix: | |
compiler: | |
- clang | |
- gcc |