Use configured ABI test compilers
Independent component release / publish (push) Failing after 6s

This commit is contained in:
faumaray committed 2026-07-30 00:04:29 +03:00
1 parent fccdb2e159
commit 847308c160
1 file changed
+3 -2
+3 -2
View File
@@ -3,6 +3,7 @@
from __future__ import annotations
import os
from pathlib import Path
import subprocess
import tempfile
@@ -56,10 +57,10 @@ int main(void) {
self.assertEqual(result.returncode, 0, result.stderr)
def test_header_is_c11(self) -> None:
self.compile("cc", "c", "-std=c11")
self.compile(os.environ.get("CC", "cc"), "c", "-std=c11")
def test_header_is_cpp20(self) -> None:
self.compile("c++", "cpp", "-std=c++20")
self.compile(os.environ.get("CXX", "c++"), "cpp", "-std=c++20")
if __name__ == "__main__":