Skip to content

Commit 99571e5

Browse files
committed
Syncing .github/workflows/dunedaq-develop-cpp-ci.yml
1 parent 597857b commit 99571e5

File tree

1 file changed

+3
-68
lines changed

1 file changed

+3
-68
lines changed

.github/workflows/dunedaq-develop-cpp-ci.yml

Lines changed: 3 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -18,72 +18,7 @@ on:
1818

1919
workflow_dispatch:
2020

21-
2221
jobs:
23-
Build_against_dev_release:
24-
name: build_against_dev_on_${{ matrix.os_name }}
25-
# The type of runner that the job will run on
26-
runs-on: ubuntu-latest
27-
strategy:
28-
matrix:
29-
include:
30-
- image: "ghcr.io/dune-daq/nightly-release-alma9:development_v5"
31-
os_name: "a9"
32-
container:
33-
image: ${{ matrix.image }}
34-
defaults:
35-
run:
36-
shell: bash
37-
38-
# Steps represent a sequence of tasks that will be executed as part of the job
39-
steps:
40-
# Runs a single command using the runners shell
41-
42-
- name: Checkout daq-release
43-
uses: actions/checkout@v4
44-
with:
45-
repository: DUNE-DAQ/daq-release
46-
path: daq-release
47-
48-
- name: setup dev area
49-
run: |
50-
export REPO=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')
51-
source /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh
52-
setup_dbt latest_v5 || true
53-
release_name="last_fddaq"
54-
55-
if [[ -n $( sed -r -n '/- name: '$REPO'$/p' daq-release/configs/nddaq/nddaq-develop/release.yaml ) ]] ; then release_name="last_nddaq"; fi
56-
57-
dbt-create -n $release_name dev-${{ matrix.os_name }}
58-
59-
- name: checkout package for CI
60-
uses: actions/checkout@v4
61-
with:
62-
path: ${{ github.repository }}
63-
64-
- name: setup build env, build the repo against the development release
65-
run: |
66-
export REPO=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')
67-
cd $GITHUB_WORKSPACE/dev-${{ matrix.os_name }}
68-
source env.sh
69-
test $REPO == "dbe" && spack load dbe
70-
cp -pr $GITHUB_WORKSPACE/DUNE-DAQ/$REPO $GITHUB_WORKSPACE/dev-${{ matrix.os_name }}/sourcecode
71-
dbt-build # --unittest done elsewhere; --lint unavailable due to llvm being too large for images
72-
73-
- name: upload build log file
74-
uses: actions/upload-artifact@v4
75-
with:
76-
name: build_log_${{ matrix.os_name }}
77-
path: ${{ github.workspace }}/dev-${{ matrix.os_name }}/log/build*.log
78-
79-
# - name: upload linter output file
80-
# uses: actions/upload-artifact@v4
81-
# with:
82-
# name: linting_log_${{ matrix.os_name }}
83-
# path: ${{ github.workspace }}/dev-${{ matrix.os_name }}/log/linting*
84-
85-
# - name: upload unittest output file
86-
# uses: actions/upload-artifact@v4
87-
# with:
88-
# name: unit_tests_log_${{ matrix.os_name }}
89-
# path: ${{ github.workspace }}/dev-${{ matrix.os_name }}/log/unit_tests*
22+
build_develop_dispatch:
23+
name: Build against the development release
24+
uses: DUNE-DAQ/.github/.github/workflows/dunedaq-develop-cpp-ci.yml@develop

0 commit comments

Comments
 (0)