Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gccrs: disable macos github workflow #3312

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 58 additions & 58 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -367,64 +367,64 @@ jobs:
exit 0; \
fi

build-and-check-clang-macos:

env:
# Force CC/CXX to be explicitly clang to make it clear which compiler is used
CC: clang
CXX: clang++

runs-on: macos-13

steps:
- uses: actions/checkout@v4

- name: Install Deps
run: |
brew install dejagnu mpfr libmpc gmp;
# install Rust directly using rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;

- name: Make Source Read-Only
run: chmod -R a-w ./*

- name: Configure
run: |
mkdir -p gccrs-build;
cd gccrs-build;
../configure \
--enable-languages=rust \
--disable-bootstrap \
--enable-multilib \
--with-native-system-header-dir=/usr/include \
--with-sysroot=$(xcrun --show-sdk-path)

- name: Build
shell: bash
run: |
cd gccrs-build; \
make -j $(sysctl -n hw.ncpu) 2>&1 | tee log

- name: Run Tests
run: |
cd gccrs-build; \
make check-rust
- name: Archive check-rust results
uses: actions/upload-artifact@v3
with:
name: check-rust-logs-macos
path: |
gccrs-build/gcc/testsuite/rust/
- name: Check regressions
run: |
cd gccrs-build; \
if grep -e "unexpected" -e "unresolved" -e "ERROR:" gcc/testsuite/rust/rust.sum;\
then \
echo "::error title=Regression test failed::some tests are not correct"; \
exit 1; \
else \
exit 0; \
fi
# build-and-check-clang-macos:

# env:
# # Force CC/CXX to be explicitly clang to make it clear which compiler is used
# CC: clang
# CXX: clang++

# runs-on: macos-13

# steps:
# - uses: actions/checkout@v4

# - name: Install Deps
# run: |
# brew install dejagnu mpfr libmpc gmp;
# # install Rust directly using rustup
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;

# - name: Make Source Read-Only
# run: chmod -R a-w ./*

# - name: Configure
# run: |
# mkdir -p gccrs-build;
# cd gccrs-build;
# ../configure \
# --enable-languages=rust \
# --disable-bootstrap \
# --enable-multilib \
# --with-native-system-header-dir=/usr/include \
# --with-sysroot=$(xcrun --show-sdk-path)

# - name: Build
# shell: bash
# run: |
# cd gccrs-build; \
# make -j $(sysctl -n hw.ncpu) 2>&1 | tee log

# - name: Run Tests
# run: |
# cd gccrs-build; \
# make check-rust
# - name: Archive check-rust results
# uses: actions/upload-artifact@v3
# with:
# name: check-rust-logs-macos
# path: |
# gccrs-build/gcc/testsuite/rust/
# - name: Check regressions
# run: |
# cd gccrs-build; \
# if grep -e "unexpected" -e "unresolved" -e "ERROR:" gcc/testsuite/rust/rust.sum;\
# then \
# echo "::error title=Regression test failed::some tests are not correct"; \
# exit 1; \
# else \
# exit 0; \
# fi

build-and-check-asan:

Expand Down
Loading