File tree Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -96,4 +96,7 @@ Thumbs.db
96
96
97
97
# Ignore built ts files
98
98
__tests__ /runner /*
99
- lib /** /*
99
+ lib /** /*
100
+
101
+ # Ignore downloaded 64-bit minimal SDK
102
+ /git-sdk-64-minimal /
Original file line number Diff line number Diff line change 3
3
" CHERE_INVOKING" ,
4
4
" makepkg-git" ,
5
5
" mingw-w64-git" ,
6
+ " mingw64" ,
6
7
" vstfs://.*"
7
8
],
8
9
"cSpell.words" : [
9
10
" Pacman" ,
10
11
" autodrain" ,
11
12
" unzipper" ,
12
13
" vercel"
13
- ]
14
+ ],
15
+ "git.ignoreLimitWarning" : true
14
16
}
Original file line number Diff line number Diff line change 1
1
/* eslint-disable no-console */
2
+ import { statSync } from 'fs'
2
3
import * as process from 'process'
3
4
import * as child_process from 'child_process'
4
5
import * as path from 'path'
@@ -38,4 +39,23 @@ if (process.env.RUN_NETWORK_TESTS !== 'true') {
38
39
} )
39
40
) . toEqual ( 1 )
40
41
} )
42
+
43
+ jest . setTimeout ( 5 * 60 * 1000 ) // this can easily take a minute or five
44
+
45
+ test ( 'extract the 64-bit minimal SDK' , async ( ) => {
46
+ const outputDirectory = `${ __dirname } /../git-sdk-64-minimal`
47
+ expect (
48
+ await runAction ( {
49
+ env : {
50
+ INPUT_FLAVOR : 'minimal' ,
51
+ INPUT_ARCHITECTURE : 'x86_64' ,
52
+ INPUT_PATH : outputDirectory ,
53
+ INPUT_VERBOSE : '250'
54
+ }
55
+ } )
56
+ ) . toEqual ( 0 )
57
+ expect (
58
+ statSync . bind ( null , `${ outputDirectory } /mingw64/bin/gcc.exe` )
59
+ ) . not . toThrow ( )
60
+ } )
41
61
}
You can’t perform that action at this time.
0 commit comments