added search functionality to g4dialog #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
# Triggers the workflow on all pushes | |
push: | |
pull_request: | |
types: | |
# only run workflow when a commit is pushed to a PR branch | |
# instead of running for all other PR events | |
- synchronize | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build_and_test: | |
strategy: | |
# max-parallel: 4 | |
matrix: | |
container: | |
- name: ubuntu24 | |
image: jeffersonlab/geant4:g4v11.2.2-ubuntu24 | |
- name: fedora36 | |
image: jeffersonlab/geant4:g4v11.2.2-fedora36 | |
- name: almalinux93 | |
image: jeffersonlab/geant4:g4v11.2.2-almalinux93 | |
# NOTE1: `b_sanitize=memory` is not used because `libc++` needs to be re-compiled with `-fsanitize=memory`, otherwise | |
# we are bothered by false positives (e.g., from `std::map` insertion) | |
# NOTE2: additional packages needed for the sanitizer: libasan libubsan libtsan | |
# NOTE3: address, thread, leak: some examples are not working. Need to investigate. | |
#sanitize: [ standard, address, thread, leak, undefined ] | |
sanitize: [ standard, undefined ] | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
container: ${{ matrix.container.image }} | |
name: ${{ matrix.container.name }} - ${{ matrix.sanitize }} | |
steps: | |
# - name: Collect Workflow Telemetry | |
# uses: catchpoint/workflow-telemetry-action@v2 | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Fix Ownership | |
run: | | |
# this is to fix GIT not liking owner of the checkout dir | |
chown -R $(id -u):$(id -g) $PWD | |
git fetch --prune --unshallow --tags | |
git config --global --add safe.directory '*' | |
- name: Build ${{ matrix.sanitize }} | |
run: | | |
./ci/build.sh ${{ matrix.sanitize }} | |
- name: Test | |
run: | | |
./ci/test.sh |