Skip to content

Commit

Permalink
syncing ; previous commit: Author: John Freeman <jcfree@fnal.gov>
Browse files Browse the repository at this point in the history
Date:   Fri Dec 15 18:06:44 2023 -0600

    syncing ; previous commit: Author: John Freeman <jcfree@fnal.gov>
    Date:   Tue Dec 12 19:37:17 2023 -0600

        syncing ; previous commit: Author: Pengfei Ding <9438483+dingp@users.noreply.github.com>
        Date:   Fri Sep 8 12:14:48 2023 -0500

            syncing ; previous commit: Author: Pengfei Ding <9438483+dingp@users.noreply.github.com>
            Date:   Tue Aug 29 17:25:18 2023 -0500

                syncing ; previous commit: Author: Pengfei Ding <9438483+dingp@users.noreply.github.com>
                Date:   Tue Aug 29 16:28:16 2023 -0500

                    syncing dunedaq-develop-cpp-ci.yml; previous commit: Merge: 99fbdcb 711c1a4
                    Author: bieryAtFnal <36311946+bieryAtFnal@users.noreply.github.com>
                    Date:   Wed Mar 29 12:07:30 2023 -0500

                        Merge pull request #24 from DUNE-DAQ/kbiery/version_update

                        Updated version to v1.0.8
  • Loading branch information
jcfreeman2 committed Jan 8, 2024
1 parent 20ff2f6 commit ce9dec6
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/dunedaq-develop-cpp-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ on:


jobs:
Spack_Build_against_dev_release:
name: spack_build_against_dev_on_${{ matrix.os_name }}
Build_against_dev_release:
name: build_against_dev_on_${{ matrix.os_name }}
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
include:
- image: "ghcr.io/dune-daq/alma9-slim-externals:spack-dev-v2.0"
- image: "ghcr.io/dune-daq/nightly-release-alma9:latest"
os_name: "a9"
container:
image: ${{ matrix.image }}
Expand All @@ -50,9 +50,13 @@ jobs:
export REPO=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')
source /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh
setup_dbt latest || true
release_name="last_fddaq"
nd_config=$GITHUB_WORKSPACE/daq-release/configs/nddaq/nddaq-develop/release.yaml
if grep -q "name: ${REPO}\n" $nd_config; then release_name="last_nddaq"; fi
release_name=
if [[ -n $( sed -r -n '/- name: '$REPO'$/p' daq-release/configs/fddaq/fddaq-develop/release.yaml ) ]] ; then release_name="last_fddaq"; fi
if [[ -n $( sed -r -n '/- name: '$REPO'$/p' daq-release/configs/nddaq/nddaq-develop/release.yaml ) ]] ; then release_name="last_nddaq"; fi
test -z $release_name && exit 10
dbt-create -n $release_name dev-${{ matrix.os_name }}
- name: checkout package for CI
Expand All @@ -61,32 +65,28 @@ jobs:
path: ${{ github.repository }}

- name: setup build env, build the repo against the development release
#- name: setup build env, build and lint the repo against the development release
run: |
export REPO=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')
cd $GITHUB_WORKSPACE/dev-${{ matrix.os_name }}
source env.sh || true
spack unload $REPO || true
cp -pr $GITHUB_WORKSPACE/DUNE-DAQ/$REPO $GITHUB_WORKSPACE/dev-${{ matrix.os_name }}/sourcecode
dbt-build
#[[ $REPO == "daq-cmake" ]] && dbt-build || dbt-build --lint
dbt-workarea-env
#dbt-build --unittest
dbt-build --unittest # --lint
- name: upload build log file
uses: actions/upload-artifact@v3
with:
name: spack_build_log_${{ matrix.os_name }}
name: build_log_${{ matrix.os_name }}
path: ${{ github.workspace }}/dev-${{ matrix.os_name }}/log/build*.log

#- name: upload linter output file
#uses: actions/upload-artifact@v3
#with:
#name: spack_linting_log_${{ matrix.os_name }}
#path: ${{ github.workspace }}/dev-${{ matrix.os_name }}/log/linting*
# - name: upload linter output file
# uses: actions/upload-artifact@v3
# with:
# name: linting_log_${{ matrix.os_name }}
# path: ${{ github.workspace }}/dev-${{ matrix.os_name }}/log/linting*

#- name: upload unittest output file
#uses: actions/upload-artifact@v2
#with:
#name: spack_unit_tests_log_${{ matrix.os_name }}
#path: ${{ github.workspace }}/dev-${{ matrix.os_name }}/log/unit_tests*
- name: upload unittest output file
uses: actions/upload-artifact@v3
with:
name: unit_tests_log_${{ matrix.os_name }}
path: ${{ github.workspace }}/dev-${{ matrix.os_name }}/log/unit_tests*

0 comments on commit ce9dec6

Please sign in to comment.