Skip to content

Commit

Permalink
MMAP: add mmap transport unit test to Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ozog committed Jun 5, 2024
1 parent d89e6a7 commit c2b8baa
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -707,3 +707,38 @@ jobs:
make check TESTS= -j
SHMEM_DEBUG=1 SHMEM_INFO=1 make VERBOSE=1 TEST_RUNNER="${SOS_PM} -np 2" check
${SOS_PM} -np 1 modules/tests-sos/test/unit/hello
mmap_only:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- config_name: transport_none
sos_config: [--enable-mmap --enable-shr-atomics --enable-error-checking --enable-pmi-simple]

steps:
- name: Checking OS version
run: |
echo "OS_NAME=$(lsb_release -si)-$(ls_release -sr)" >> $GITHUB_ENV
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get install -y gfortran mpich libmpich-dev libev-dev libev-libevent-dev
sudo sysctl -w kernel.yama.ptrace_scope=0
sudo sysctl -w kernel.randomize_va_space=0
# SOS
- name: Build SOS (${{ matrix.name }})
run: |
./autogen.sh
mkdir build; cd build
../configure --prefix=${SOS_INSTALL_DIR} ${{ matrix.sos_config }}
make -j
make install
- name: Test SOS (${{ matrix.name }})
run: |
cd build
make check TESTS= -j
SHMEM_DEBUG=1 SHMEM_INFO=1 make VERBOSE=1 TEST_RUNNER="${SOS_PM} -np 2" check
cat modules/tests-sos/test/unit/hello.log

0 comments on commit c2b8baa

Please sign in to comment.