Skip to content

scda: Write and read a file header #675

scda: Write and read a file header

scda: Write and read a file header #675

Workflow file for this run

name: CI for Autotools/Darwin
on:
push:
paths-ignore:
- "**/CMakeLists.txt"
- "**.cmake"
- "**.cmake.in"
- "cmake/**"
- "CMake*"
- ".github/workflows/ci.yml"
- ".github/workflows/ci_cmake.yml"
- ".github/workflows/composite-cmake/**"
pull_request:
jobs:
darwin:
runs-on: macos-latest
name: Autotools build on Darwin
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
steps:
- run: echo "This job is running on a ${{ runner.os }} server hosted by GitHub"
- uses: actions/checkout@v4
name: Checkout source code
- name: Install system dependencies
run: brew install open-mpi libtool automake
- name: Run bootstrap script
run: ./bootstrap
- name: Make check without MPI, with debug
run: |
DIR="checkdebug" && mkdir -p "$DIR" && cd "$DIR"
../configure --enable-debug \
CFLAGS="-O0 -g -Wall -Wextra -Wno-unused-parameter"
make -j V=0
make -j check V=0
- name: Make check with MPI and debug
run: |
DIR="checkMPIdebug" && mkdir -p "$DIR" && cd "$DIR"
../configure --enable-mpi --enable-debug \
CFLAGS="-O0 -g -Wall -Wextra -Wno-unused-parameter"
make -j V=0
make -j check V=0
- name: Make check with MPI, debug and C++ compiler
run: |
DIR="checkMPIdebugCXX" && mkdir -p "$DIR" && cd "$DIR"
../configure --enable-mpi --enable-debug CC=mpicxx \
CFLAGS="-O0 -g -Wall -Wextra -Wno-unused-parameter"
make -j V=0
make -j check V=0
- name: Upload log files
if: always()
uses: actions/upload-artifact@v4
with:
name: darwin_log
path: |
./**/config.log
./**/test-suite.log
./**/test/*.log