File tree 2 files changed +50
-2
lines changed
2 files changed +50
-2
lines changed Original file line number Diff line number Diff line change @@ -320,3 +320,42 @@ jobs:
320
320
shell : bash
321
321
run : |
322
322
test/run-tests.sh
323
+
324
+ cygwin :
325
+ strategy :
326
+ matrix :
327
+ bits : [32, 64]
328
+ include :
329
+ - bits : 32
330
+ arch : x86
331
+ - bits : 64
332
+ arch : x86_64
333
+ fail-fast : false
334
+ runs-on : windows-2019
335
+ timeout-minutes : 30
336
+ defaults :
337
+ run :
338
+ shell : C:\cygwin\bin\bash.exe '{0}'
339
+ steps :
340
+ - name : Checkout repo
341
+ uses : actions/checkout@v4
342
+ - name : Setup Cygwin
343
+ uses : cygwin/cygwin-install-action@v4
344
+ with :
345
+ platform : ${{ matrix.arch }}
346
+ packages : >-
347
+ bison
348
+ gcc-g++
349
+ git
350
+ libpng-devel
351
+ make
352
+ pkg-config
353
+ - name : Build & install using Make
354
+ run : |
355
+ PATH="/usr/bin:$(cygpath "${SYSTEMROOT}")/System32"
356
+ make develop -kj Q=
357
+ make install -j Q=
358
+ - name : Run tests
359
+ run : |
360
+ PATH="/usr/bin:$(cygpath "${SYSTEMROOT}")/System32"
361
+ test/run-tests.sh --only-internal
Original file line number Diff line number Diff line change @@ -6,13 +6,15 @@ cd "$(dirname "$0")"
6
6
usage () {
7
7
echo " Runs regression tests on RGBDS."
8
8
echo " Options:"
9
- echo " -h, --help show this help message"
10
- echo " --only-free skip tests that build nonfree codebases"
9
+ echo " -h, --help show this help message"
10
+ echo " --only-free skip tests that build nonfree codebases"
11
+ echo " --only-internal skip tests that build external codebases"
11
12
}
12
13
13
14
# Parse options in pure Bash because macOS `getopt` is stuck
14
15
# in what util-linux `getopt` calls `GETOPT_COMPATIBLE` mode
15
16
nonfree=true
17
+ external=true
16
18
FETCH_TEST_DEPS=" fetch-test-deps.sh"
17
19
while [[ $# -gt 0 ]]; do
18
20
case " $1 " in
@@ -24,6 +26,9 @@ while [[ $# -gt 0 ]]; do
24
26
nonfree=false
25
27
FETCH_TEST_DEPS=" fetch-test-deps.sh --only-free"
26
28
;;
29
+ --only-internal)
30
+ external=false
31
+ ;;
27
32
--)
28
33
break
29
34
;;
@@ -49,6 +54,10 @@ for dir in asm link fix gfx; do
49
54
popd
50
55
done
51
56
57
+ if ! " $external " ; then
58
+ exit
59
+ fi
60
+
52
61
# Test some significant external projects that use RGBDS
53
62
# When adding new ones, don't forget to add them to the .gitignore!
54
63
# When updating subprojects, change the commit being checked out, and set the `shallow-since`
You can’t perform that action at this time.
0 commit comments