mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
f
This commit is contained in:
parent
4176376b21
commit
d322d97d4a
31
.github/workflows/test-macos-runner.yml
vendored
31
.github/workflows/test-macos-runner.yml
vendored
|
@ -49,39 +49,16 @@ jobs:
|
||||||
|
|
||||||
- name: Test basic compilation
|
- name: Test basic compilation
|
||||||
run: |
|
run: |
|
||||||
echo "Current working directory:"
|
echo "Testing basic C++ compilation:"
|
||||||
pwd
|
|
||||||
ls -la
|
|
||||||
echo "Testing compilation in current directory:"
|
|
||||||
|
|
||||||
# Create test file
|
|
||||||
cat > test.cpp << 'EOF'
|
cat > test.cpp << 'EOF'
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
int main() {
|
int main() {
|
||||||
std::cout << "Hello from macOS runner!" << std::endl;
|
std::cout << "Hello from macOS 15 UTM runner!" << std::endl;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
clang++ -o test_cpp test.cpp
|
||||||
echo "File created, attempting compilation..."
|
./test_cpp
|
||||||
ls -la test.cpp
|
|
||||||
|
|
||||||
# Try compilation with verbose output
|
|
||||||
clang++ -v -o test test.cpp 2>&1 || echo "Compilation failed"
|
|
||||||
|
|
||||||
# Check if binary was created
|
|
||||||
ls -la test* || echo "No test binary found"
|
|
||||||
|
|
||||||
# If binary exists, try to run it
|
|
||||||
if [ -f test ]; then
|
|
||||||
echo "Binary found, testing execution:"
|
|
||||||
./test
|
|
||||||
else
|
|
||||||
echo "Binary not created, trying alternative approach:"
|
|
||||||
# Try compiling to home directory
|
|
||||||
clang++ -o ~/test test.cpp
|
|
||||||
~/test
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Check FairMQ dependencies
|
- name: Check FairMQ dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user