@@ -56,11 +56,16 @@ jobs:
5656 apt update
5757 apt install -y git
5858 - uses : actions/checkout@v4
59+
60+ - name : Install build tools
61+ run : |
62+ ./scripts/container.setup.sh
5963
6064 - name : Configure
6165 run : |
6266 git config --global --add safe.directory $PWD
6367 ./scripts/cmake.configure.sh -DCMAKE_BUILD_TYPE=${{ matrix.BuildType }}
68+
6469 - name : Build
6570 run :
6671 ./scripts/cmake.build.sh
9297
9398 - name : Configure
9499 run : ./scripts/cmake.configure.sh -DCMAKE_BUILD_TYPE=${{ matrix.BuildType }}
100+
95101 - name : Build
96102 run : ./scripts/cmake.build.sh
103+ - name : Upload FileOp.7z
104+ if : always()
105+ uses : actions/upload-artifact@v4
106+ with :
107+ name : app-windows${{ matrix.BuildType == 'Profile' && '-profile' || ''}}
108+ path : build/FileOp.7z
109+
97110 - name : Test
98111 run : |
99112 ./scripts/cmake.test.sh || ExitCode=$?
@@ -104,6 +117,12 @@ jobs:
104117 - name : Run performance test
105118 if : always()
106119 run : ./scripts/run_test_performance.sh 2>&1 | tee performance.txt
120+ - name : Upload performance report
121+ if : ${{ matrix.BuildType == 'Release' && always() }}
122+ uses : actions/upload-artifact@v4
123+ with :
124+ name : performance
125+ path : performance.txt
107126
108127 - name : Create coverage report
109128 if : ${{ matrix.BuildType == 'Profile' && always() }}
@@ -123,13 +142,6 @@ jobs:
123142 name : coverage
124143 path : coverage.*
125144
126- - name : Upload ZIP
127- if : always()
128- uses : actions/upload-artifact@v4
129- with :
130- name : app-windows${{ matrix.BuildType == 'Profile' && '-profile' || ''}}
131- path : build/FileOp.7z
132-
133145 deploy :
134146 needs :
135147 - container-build
@@ -149,7 +161,11 @@ jobs:
149161 - name : Download coverage report
150162 uses : actions/download-artifact@v4
151163 with :
152- pattern : coverage
164+ name : coverage
165+ - name : Download performance report
166+ uses : actions/download-artifact@v4
167+ with :
168+ name : performance
153169 # cspell:ignore oapp
154170 - name : Test container release build
155171 run : |
@@ -175,7 +191,9 @@ jobs:
175191 echo ""
176192 echo "# Test coverage report"
177193 echo ""
194+ echo '```'
178195 cat coverage.txt
196+ echo '```'
179197 echo ""
180198 cat performance.txt
181199 ) >> $GITHUB_STEP_SUMMARY
@@ -187,7 +205,8 @@ jobs:
187205 git config --global user.name "FileOp authors"
188206
189207 # Create the tag and print the output.
190- git tag -a "$FILEOP_VERSION" -m "$FILEOP_VERSION ($(date -I))"
208+ sed -e "/^# / { s/^# //; s/$/ $(date -I)/; }" release_notes.md | tee commit_msg.txt
209+ git tag -a "$FILEOP_VERSION" -F commit_msg.txt
191210 git tag --list -n "$FILEOP_VERSION"
192211
193212 - name : Push new tag
0 commit comments