@@ -17,17 +17,13 @@ concurrency:
17
17
cancel-in-progress : true
18
18
19
19
jobs :
20
- test-nix :
20
+ test-time-linux :
21
21
if : github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
22
- strategy :
23
- matrix :
24
- os : [ubuntu-20.04, macos-12]
25
- fail-fast : false
26
- runs-on : ${{ matrix.os }}
22
+ runs-on : ubuntu-latest
27
23
steps :
28
24
- uses : actions/checkout@v4
29
25
- name : Build V
30
- run : make -j4
26
+ run : make
31
27
- name : Test time functions in a timezone UTC-12
32
28
run : TZ=Etc/GMT+12 ./v test vlib/time/
33
29
- name : Test time functions in a timezone UTC-3
@@ -36,10 +32,28 @@ jobs:
36
32
run : TZ=Etc/GMT-3 ./v test vlib/time/
37
33
- name : Test time functions in a timezone UTC+12
38
34
run : TZ=Etc/GMT-12 ./v test vlib/time/
39
- - name : Test time functions in a timezone using daylight saving (Europe/Paris)
35
+ - name : Test in a timezone using daylight saving (Europe/Paris)
40
36
run : TZ=Europe/Paris ./v test vlib/time/
41
37
42
- test-windows :
38
+ test-time-macos :
39
+ if : github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
40
+ runs-on : macos-latest
41
+ steps :
42
+ - uses : actions/checkout@v4
43
+ - name : Build V
44
+ run : make
45
+ - name : Test time functions in a timezone UTC-12
46
+ run : TZ=Etc/GMT+12 ./v test vlib/time/
47
+ - name : Test time functions in a timezone UTC-3
48
+ run : TZ=Etc/GMT+3 ./v test vlib/time/
49
+ - name : Test time functions in a timezone UTC+3
50
+ run : TZ=Etc/GMT-3 ./v test vlib/time/
51
+ - name : Test time functions in a timezone UTC+12
52
+ run : TZ=Etc/GMT-12 ./v test vlib/time/
53
+ - name : Test in a timezone using daylight saving (Europe/Paris)
54
+ run : TZ=Europe/Paris ./v test vlib/time/
55
+
56
+ test-time-windows :
43
57
if : github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
44
58
runs-on : windows-2019
45
59
steps :
54
68
run : tzutil /s "Russian Standard Time" && ./v test vlib/time/
55
69
- name : Test time functions in a timezone UTC+12
56
70
run : tzutil /s "New Zealand Standard Time" && ./v test vlib/time/
57
- - name : Test time functions in a timezone using daylight saving (Europe/Paris)
71
+ - name : Test in a timezone using daylight saving (Europe/Paris)
58
72
run : tzutil /s "W. Europe Standard Time" && ./v test vlib/time/
0 commit comments