File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
actions/test_macvim_artifacts Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This is a clone of test_artifacts for MacVim-specific files
2
+ name : ' test_macvim_artifacts'
3
+ description : " Upload failed MacVim test artifacts"
4
+ runs :
5
+ using : " composite"
6
+ steps :
7
+ - name : Upload failed tests
8
+ uses : actions/upload-artifact@v4
9
+ with :
10
+ # Name of the artifact to upload.
11
+ name : ${{ github.workflow }}-${{ github.job }}-${{ join(matrix.*, '-') }}-failed-macvim-tests
12
+
13
+ # A file, directory or wildcard pattern that describes what
14
+ # to upload.
15
+ path : |
16
+ /Users/runner/Library/Developer/Xcode/DerivedData/MacVim-*/Logs/Test/*.xcresult
17
+ # The desired behavior if no files are found using the
18
+ # provided path.
19
+ if-no-files-found : ignore
20
+
21
+ # Duration after which artifact will expire in days. 0 means
22
+ # using repository settings.
23
+ retention-days : 0
24
+
25
+ # If true, an artifact with a matching name will be deleted
26
+ overwrite : true
Original file line number Diff line number Diff line change @@ -207,6 +207,7 @@ jobs:
207
207
else
208
208
CONFOPT+=(
209
209
--disable-sparkle # Disable Sparkle for testing that this flag builds and works
210
+ --enable-nls=no --enable-libsodium=no # Disable gettext and libsodium unless we built them ourselves for publish
210
211
)
211
212
fi
212
213
if ${{ matrix.legacy == true }}; then
@@ -354,6 +355,10 @@ jobs:
354
355
run : |
355
356
make ${MAKE_BUILD_ARGS} -C src macvim-tests
356
357
358
+ - name : Upload failed MacVim test results
359
+ if : ${{ !cancelled() && failure() }}
360
+ uses : ./.github/actions/test_macvim_artifacts
361
+
357
362
- name : Build Vim test binaries
358
363
run : |
359
364
# Build the unit test binaries first. With link-time-optimization they take some time to link. Running them
You can’t perform that action at this time.
0 commit comments