Skip to content

Commit 5bbbcd8

Browse files
committed
ci: drop macos build
It's really getting in the way. It needs special care to be in sync with Iain's own rebased branch. Until it is easier to use, remove it from our CI. ChangeLog: * .github/workflows/ccpp.yml (build-and-check-clang-macos): Remove. Signed-off-by: Marc Poulhiès <[email protected]>
1 parent 1a1ba41 commit 5bbbcd8

File tree

1 file changed

+0
-78
lines changed

1 file changed

+0
-78
lines changed

.github/workflows/ccpp.yml

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -368,84 +368,6 @@ jobs:
368368
exit 0; \
369369
fi
370370
371-
build-and-check-clang-macos:
372-
373-
env:
374-
# Force CC/CXX to be explicitly clang to make it clear which compiler is used
375-
CC: clang
376-
CXX: clang++
377-
378-
runs-on: macos-15
379-
380-
steps:
381-
- uses: actions/checkout@v4
382-
with:
383-
fetch-depth: 0
384-
385-
- name: Handle ARM64
386-
# TODO: update commit hash as required
387-
# it should be equivalent to the master-wip-apple-si branch
388-
# but, to keep things from breaking unexpectedly, the hash
389-
# is hardcoded.
390-
run: |
391-
git remote add arm-ian 'https://github.com/iains/gcc-darwin-arm64.git';
392-
git fetch arm-ian;
393-
GIT_AUTHOR_NAME=CI \
394-
GIT_AUTHOR_EMAIL='ci@invalid' \
395-
git merge --no-edit 5335688e426583c2f4703e25cc24c69cf74280ed;
396-
397-
- name: Install Deps
398-
run: |
399-
brew install dejagnu mpfr libmpc gmp;
400-
# install Rust directly using rustup
401-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;
402-
403-
- name: Make Source Read-Only
404-
run: chmod -R a-w ./*
405-
406-
- name: Configure
407-
run: |
408-
mkdir -p gccrs-build;
409-
cd gccrs-build;
410-
../configure \
411-
--enable-languages=rust \
412-
--disable-bootstrap \
413-
--enable-multilib \
414-
--with-gmp="$(brew --prefix gmp)" \
415-
--with-mpfr="$(brew --prefix mpfr)" \
416-
--with-mpc="$(brew --prefix libmpc)" \
417-
--with-native-system-header-dir=/usr/include \
418-
--with-sysroot=$(xcrun --show-sdk-path)
419-
420-
- name: Build
421-
shell: bash
422-
run: |
423-
cd gccrs-build; \
424-
make -j $(sysctl -n hw.ncpu) 2>&1 | tee log
425-
426-
- name: Run Tests
427-
run: |
428-
cd gccrs-build; \
429-
make check-rust
430-
431-
- name: Archive check-rust results
432-
uses: actions/upload-artifact@v4
433-
with:
434-
name: check-rust-logs-macos
435-
path: |
436-
gccrs-build/gcc/testsuite/rust/
437-
438-
- name: Check regressions
439-
run: |
440-
cd gccrs-build; \
441-
if grep -e "unexpected" -e "unresolved" -e "ERROR:" gcc/testsuite/rust/rust.sum;\
442-
then \
443-
echo "::error title=Regression test failed::some tests are not correct"; \
444-
exit 1; \
445-
else \
446-
exit 0; \
447-
fi
448-
449371
build-and-check-asan:
450372

451373
env:

0 commit comments

Comments
 (0)