Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kinokrt authored Dec 15, 2023
1 parent b9c4ff6 commit 96d6fe7
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ jobs:
--profile:host conan_profile \
--build missing
- name: Generate documentation using Conan and Doxygen
- name: Generate code documentation using Conan and Doxygen
run: |
conan build .
- name: Package documentation [full, API-only, landing page]
- name: Create documentation tarball [full, API-only, landing page]
run: |
cd $GITHUB_WORKSPACE/doc/ipc_doc
$GITHUB_WORKSPACE/tools/doc/stage_generated_docs.sh $GITHUB_WORKSPACE/build/${{ matrix.build-config.conan-profile-build-type }}
Expand Down Expand Up @@ -325,23 +325,23 @@ jobs:
- name: Run link test [`ipc_core` - Flow-IPC Core]
if: |
(!cancelled())
!cancelled()
run: |
${{ env.setup-tests-env-vars }}
cd ${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin
./ipc_core_link_test.exec
- name: Run link test [`ipc_transport_structured` - Flow-IPC Structured Transport]
if: |
(!cancelled())
!cancelled()
run: |
${{ env.setup-tests-env-vars }}
cd ${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin
./ipc_transport_structured_link_test.exec
- name: Run link test [`ipc_session` - Flow-IPC Sessions]
if: |
(!cancelled())
!cancelled()
run: |
${{ env.setup-tests-env-vars }}
cd ${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin
Expand All @@ -351,7 +351,7 @@ jobs:
- name: Run link test [`ipc_shm` - Flow-IPC Shared Memory]
if: |
(!cancelled())
!cancelled()
run: |
${{ env.setup-tests-env-vars }}
cd ${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin
Expand All @@ -361,7 +361,7 @@ jobs:
- name: Run link test [`ipc_shm_arena_lend` - Flow-IPC SHM-jemalloc]
if: |
(!cancelled())
!cancelled()
run: |
${{ env.setup-tests-env-vars }}
cd ${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin
Expand All @@ -373,7 +373,7 @@ jobs:
# like the ones below.
- name: Run unit tests
if: |
(!cancelled())
!cancelled()
run: |
${{ env.setup-tests-env-vars }}
echo $TSAN_OPTIONS
Expand All @@ -393,7 +393,7 @@ jobs:
# This follows the instructions in bin/transport_test/README.txt.
- name: Prepare run script for [transport_test - Scripted mode] variations below
if: |
(!cancelled()) && !matrix.build-and-test-config.skip-transport-tests
!cancelled() && !matrix.build-and-test-config.skip-transport-tests
run: |
${{ env.setup-tests-env-vars }}
cat <<'EOF' > ${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin/run_transport_test_sc.sh
Expand Down Expand Up @@ -421,21 +421,21 @@ jobs:
- name: Run integration test [transport_test - Scripted mode]
id: transport_test_scripted
if: |
(!cancelled()) && !matrix.build-and-test-config.skip-transport-tests
!cancelled() && !matrix.build-and-test-config.skip-transport-tests
run: |
${{ env.setup-tests-env-vars }}
/usr/bin/bash -e \
${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin/run_transport_test_sc.sh \
info
info
- name: Re-run with increased logging, on failure only
if: |
(!cancelled()) && (steps.transport_test_scripted.outcome == 'failure') && !matrix.build-and-test-config.skip-transport-tests
!cancelled() && (steps.transport_test_scripted.outcome == 'failure') && !matrix.build-and-test-config.skip-transport-tests
run: |
${{ env.setup-tests-env-vars }}
/usr/bin/bash -e \
${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin/run_transport_test_sc.sh \
data
data
# The following [Exercise mode] tests follow the instructions in bin/transport_test/README.txt.
# Note that the creation of ~/bin/ex_..._run and placement of executables there, plus
Expand All @@ -444,7 +444,7 @@ jobs:

- name: Prepare IPC-session safety-friendly run-time environment for [transport_test - Exercise mode]
if: |
(!cancelled()) && !matrix.build-and-test-config.skip-transport-tests
!cancelled() && !matrix.build-and-test-config.skip-transport-tests
run: |
rm -rf $GITHUB_WORKSPACE/build/${{ matrix.build-and-test-config.conan-profile-build-type }}
mkdir -p ~/bin/ex_srv_run ~/bin/ex_cli_run
Expand All @@ -455,7 +455,7 @@ jobs:
- name: Prepare run script for [transport_test - Exercise mode] variations below
if: |
(!cancelled()) && !matrix.build-and-test-config.skip-transport-tests
!cancelled() && !matrix.build-and-test-config.skip-transport-tests
run: |
cat <<'EOF' > ${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin/run_transport_test_ex.sh
# Script created by pipeline during job.
Expand Down Expand Up @@ -484,59 +484,59 @@ jobs:
- name: Run integration test [transport_test - Exercise mode - Heap sub-mode]
id: transport_test_ex_heap
if: |
(!cancelled()) && !matrix.build-and-test-config.skip-transport-tests
!cancelled() && !matrix.build-and-test-config.skip-transport-tests
run: |
${{ env.setup-tests-env-vars }}
/usr/bin/bash -e \
${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin/run_transport_test_ex.sh \
info heap
info heap
- name: Re-run with increased logging, on failure only
if: |
(!cancelled()) && (steps.transport_test_ex_heap.outcome == 'failure') && !matrix.build-and-test-config.skip-transport-tests
!cancelled() && (steps.transport_test_ex_heap.outcome == 'failure') && !matrix.build-and-test-config.skip-transport-tests
run: |
${{ env.setup-tests-env-vars }}
/usr/bin/bash -e \
${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin/run_transport_test_ex.sh \
data heap_log_level_data
data heap_log_level_data
- name: Run integration test [transport_test - Exercise mode - SHM-classic sub-mode]
id: transport_test_ex_shm_c
if: |
(!cancelled()) && !matrix.build-and-test-config.skip-transport-tests
!cancelled() && !matrix.build-and-test-config.skip-transport-tests
run: |
${{ env.setup-tests-env-vars }}
/usr/bin/bash -e \
${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin/run_transport_test_ex.sh \
info shm_classic -shm-c
info shm_classic -shm-c
- name: Re-run with increased logging, on failure only
if: |
(!cancelled()) && (steps.transport_test_ex_shm_c.outcome == 'failure') && !matrix.build-and-test-config.skip-transport-tests
!cancelled() && (steps.transport_test_ex_shm_c.outcome == 'failure') && !matrix.build-and-test-config.skip-transport-tests
run: |
${{ env.setup-tests-env-vars }}
/usr/bin/bash -e \
${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin/run_transport_test_ex.sh \
data shm_classic_log_level_data -shm-c
data shm_classic_log_level_data -shm-c
- name: Run integration test [transport_test - Exercise mode - SHM-jemalloc sub-mode]
id: transport_test_ex_shm_j
if: |
(!cancelled()) && !matrix.build-and-test-config.skip-transport-tests
!cancelled() && !matrix.build-and-test-config.skip-transport-tests
run: |
${{ env.setup-tests-env-vars }}
/usr/bin/bash -e \
${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin/run_transport_test_ex.sh \
info shm_jemalloc -shm-j
info shm_jemalloc -shm-j
- name: Re-run with increased logging, on failure only
if: |
(!cancelled()) && (steps.transport_test_ex_shm_j.outcome == 'failure') && !matrix.build-and-test-config.skip-transport-tests
!cancelled() && (steps.transport_test_ex_shm_j.outcome == 'failure') && !matrix.build-and-test-config.skip-transport-tests
run: |
${{ env.setup-tests-env-vars }}
/usr/bin/bash -e \
${{ github.workspace }}/install/${{ matrix.build-and-test-config.conan-profile-build-type }}/usr/local/bin/run_transport_test_ex.sh \
data shm_jemalloc_log_level_data -shm-j
data shm_jemalloc_log_level_data -shm-j
- name: Upload logs for [transport_test - All modes]
if: |
Expand Down

0 comments on commit 96d6fe7

Please sign in to comment.