Skip to content

Commit b5c354d

Browse files
committed
gccrs: disable macos github workflow
Its broken at the moment. ChangeLog: * .github/workflows/ccpp.yml: comment it out Signed-off-by: Philip Herron <herron.philip@googlemail.com>
1 parent 19fa68d commit b5c354d

File tree

1 file changed

+58
-58
lines changed

1 file changed

+58
-58
lines changed

.github/workflows/ccpp.yml

+58-58
Original file line numberDiff line numberDiff line change
@@ -367,64 +367,64 @@ jobs:
367367
exit 0; \
368368
fi
369369
370-
build-and-check-clang-macos:
371-
372-
env:
373-
# Force CC/CXX to be explicitly clang to make it clear which compiler is used
374-
CC: clang
375-
CXX: clang++
376-
377-
runs-on: macos-13
378-
379-
steps:
380-
- uses: actions/checkout@v4
381-
382-
- name: Install Deps
383-
run: |
384-
brew install dejagnu mpfr libmpc gmp;
385-
# install Rust directly using rustup
386-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;
387-
388-
- name: Make Source Read-Only
389-
run: chmod -R a-w ./*
390-
391-
- name: Configure
392-
run: |
393-
mkdir -p gccrs-build;
394-
cd gccrs-build;
395-
../configure \
396-
--enable-languages=rust \
397-
--disable-bootstrap \
398-
--enable-multilib \
399-
--with-native-system-header-dir=/usr/include \
400-
--with-sysroot=$(xcrun --show-sdk-path)
401-
402-
- name: Build
403-
shell: bash
404-
run: |
405-
cd gccrs-build; \
406-
make -j $(sysctl -n hw.ncpu) 2>&1 | tee log
407-
408-
- name: Run Tests
409-
run: |
410-
cd gccrs-build; \
411-
make check-rust
412-
- name: Archive check-rust results
413-
uses: actions/upload-artifact@v3
414-
with:
415-
name: check-rust-logs-macos
416-
path: |
417-
gccrs-build/gcc/testsuite/rust/
418-
- name: Check regressions
419-
run: |
420-
cd gccrs-build; \
421-
if grep -e "unexpected" -e "unresolved" -e "ERROR:" gcc/testsuite/rust/rust.sum;\
422-
then \
423-
echo "::error title=Regression test failed::some tests are not correct"; \
424-
exit 1; \
425-
else \
426-
exit 0; \
427-
fi
370+
# build-and-check-clang-macos:
371+
372+
# env:
373+
# # Force CC/CXX to be explicitly clang to make it clear which compiler is used
374+
# CC: clang
375+
# CXX: clang++
376+
377+
# runs-on: macos-13
378+
379+
# steps:
380+
# - uses: actions/checkout@v4
381+
382+
# - name: Install Deps
383+
# run: |
384+
# brew install dejagnu mpfr libmpc gmp;
385+
# # install Rust directly using rustup
386+
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;
387+
388+
# - name: Make Source Read-Only
389+
# run: chmod -R a-w ./*
390+
391+
# - name: Configure
392+
# run: |
393+
# mkdir -p gccrs-build;
394+
# cd gccrs-build;
395+
# ../configure \
396+
# --enable-languages=rust \
397+
# --disable-bootstrap \
398+
# --enable-multilib \
399+
# --with-native-system-header-dir=/usr/include \
400+
# --with-sysroot=$(xcrun --show-sdk-path)
401+
402+
# - name: Build
403+
# shell: bash
404+
# run: |
405+
# cd gccrs-build; \
406+
# make -j $(sysctl -n hw.ncpu) 2>&1 | tee log
407+
408+
# - name: Run Tests
409+
# run: |
410+
# cd gccrs-build; \
411+
# make check-rust
412+
# - name: Archive check-rust results
413+
# uses: actions/upload-artifact@v3
414+
# with:
415+
# name: check-rust-logs-macos
416+
# path: |
417+
# gccrs-build/gcc/testsuite/rust/
418+
# - name: Check regressions
419+
# run: |
420+
# cd gccrs-build; \
421+
# if grep -e "unexpected" -e "unresolved" -e "ERROR:" gcc/testsuite/rust/rust.sum;\
422+
# then \
423+
# echo "::error title=Regression test failed::some tests are not correct"; \
424+
# exit 1; \
425+
# else \
426+
# exit 0; \
427+
# fi
428428

429429
build-and-check-asan:
430430

0 commit comments

Comments
 (0)