File tree Expand file tree Collapse file tree 3 files changed +20
-25
lines changed Expand file tree Collapse file tree 3 files changed +20
-25
lines changed Original file line number Diff line number Diff line change 9696 tag : ${{ needs.compute-version.outputs.new_tag }}
9797 body : ${{ github.event.pull_request.body }}
9898
99+
100+ build-and-run-release-tests :
101+ needs : [compute-version, create-release]
102+ runs-on : ubuntu-latest
103+ steps :
104+ - name : Build release test Docker image
105+ uses : docker/build-push-action@v6
106+ with :
107+ build-args : |
108+ RELEASE_DOWNLOAD_URL=https://github.com/KIT-MRT/util_caching/releases/download/${{ needs.compute-version.outputs.new_tag }}
109+ push : false
110+ tags : release_tester
111+ target : release_test
112+
113+ - name : Run unit tests with/against released version
114+ run : |
115+ docker run --rm release_tester
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -48,10 +48,12 @@ RUN cmake .. && \
4848
4949FROM base AS release_test
5050
51+ ARG RELEASE_DOWNLOAD_URL=https://github.com/KIT-MRT/util_caching/releases/latest/download/
52+
5153# This downloads the latest util_caching debian release and adds it to the docker image
5254# This "bloats" the image. But otherwise, we'd have to installing wget and ca-certificates
5355# temporarily to download and install the package in one docker layer…
54- ADD https://github.com/KIT-MRT/util_caching/releases/latest/download /libutil-caching-dev.deb /tmp/debfiles/
56+ ADD ${RELEASE_DOWNLOAD_URL} /libutil-caching-dev.deb /tmp/debfiles/
5557
5658# Install util_caching from release debian package
5759RUN dpkg -i /tmp/debfiles/*.deb && \
You can’t perform that action at this time.
0 commit comments