GitHub Actions: drop CXXFLAGS as no C++ remains

This commit is contained in:
David Adam 2024-06-22 23:48:36 +08:00
parent 73c46db609
commit 2d3bb36b8c

View File

@ -24,9 +24,6 @@ jobs:
# Generate a locale that uses a comma as decimal separator. # Generate a locale that uses a comma as decimal separator.
sudo locale-gen fr_FR.UTF-8 sudo locale-gen fr_FR.UTF-8
- name: cmake - name: cmake
env:
# Some warnings upgraded to errors to match Open Build Service platforms
CXXFLAGS: "-Werror=address -Werror=return-type"
run: | run: |
mkdir build && cd build mkdir build && cd build
cmake .. cmake ..
@ -53,7 +50,6 @@ jobs:
sudo pip3 install pexpect sudo pip3 install pexpect
- name: cmake - name: cmake
env: env:
CXXFLAGS: "-m32 -Werror=address -Werror=return-type"
CFLAGS: "-m32" CFLAGS: "-m32"
run: | run: |
mkdir build && cd build mkdir build && cd build
@ -92,7 +88,6 @@ jobs:
- name: cmake - name: cmake
env: env:
CC: clang CC: clang
CXX: clang++
run: | run: |
mkdir build && cd build mkdir build && cd build
# Rust's ASAN requires the build system to explicitly pass a --target triple. We read that # Rust's ASAN requires the build system to explicitly pass a --target triple. We read that
@ -136,8 +131,6 @@ jobs:
# env: # env:
# FISH_CI_SAN: 1 # FISH_CI_SAN: 1
# CC: clang # CC: clang
# CXX: clang++
# CXXFLAGS: "-fsanitize=thread"
# run: | # run: |
# mkdir build && cd build # mkdir build && cd build
# cmake .. # cmake ..