1+ # for Actions OS info, see https://github.com/actions/runner-images#available-images
2+
13name : test suite
24concurrency :
35 group : " ${{github.workflow}}-${{github.ref}}"
@@ -20,29 +22,16 @@ jobs:
2022 strategy :
2123 fail-fast : false
2224 matrix :
23- os : ["ubuntu-latest", "macos-latest", "windows-2022"]
25+ os : [ubuntu-latest, macos-latest, windows-2022]
26+ # use quotes for versions, otherwise "3.0" -> "3", "2.10" -> "2.1"
2427 ruby : ["3.1", "3.0", "2.7", "2.6"]
25- lib : [" system", " packaged" ]
28+ lib : [system, packaged]
2629 include :
27- - os : " ubuntu-latest"
28- ruby : " truffleruby-head"
29- lib : " packaged"
30-
31- - os : " ubuntu-22.04"
32- ruby : " head"
33- lib : " packaged"
34-
35- - os : " ubuntu-22.04"
36- ruby : " head"
37- lib : " system"
38-
39- - os : " windows-2022"
40- ruby : " ucrt"
41- lib : " system"
42-
43- - os : " windows-2022"
44- ruby : " mswin"
45- lib : " system"
30+ - { os: ubuntu-latest, ruby: truffleruby-head, lib: packaged }
31+ - { os: ubuntu-22.04 , ruby: head , lib: packaged }
32+ - { os: ubuntu-22.04 , ruby: head , lib: system }
33+ - { os: windows-2022 , ruby: ucrt , lib: system }
34+ - { os: windows-2022 , ruby: mswin , lib: system }
4635
4736 runs-on : ${{matrix.os}}
4837 steps :
@@ -56,10 +45,10 @@ jobs:
5645 with :
5746 ruby-version : ${{matrix.ruby}}
5847 bundler-cache : true
59- apt-get : " libsqlite3-dev"
60- brew : " sqlite3"
61- mingw : " sqlite3"
62- vcpkg : " sqlite3"
48+ apt-get : libsqlite3-dev
49+ brew : sqlite3
50+ mingw : sqlite3
51+ vcpkg : sqlite3
6352 - if : matrix.lib == 'packaged'
6453 uses : actions/cache@v3
6554 with :
@@ -91,13 +80,12 @@ jobs:
9180 strategy :
9281 fail-fast : false
9382 matrix :
94- os : ["ubuntu-latest", "macos-latest", "windows-2022"]
83+ os : [ubuntu-latest, macos-latest, windows-2022]
84+ # use quotes for versions, otherwise "3.0" -> "3", "2.10" -> "2.1"
9585 ruby : ["3.1", "2.6"] # oldest and newest
9686 include :
97- - os : " windows-2022"
98- ruby : " mingw"
99- - os : " windows-2022"
100- ruby : " mswin"
87+ - { os: windows-2022, ruby: mingw }
88+ - { os: windows-2022, ruby: mswin }
10189 runs-on : ${{matrix.os}}
10290 steps :
10391 - if : matrix.os == 'windows-2022'
11098 with :
11199 ruby-version : ${{matrix.ruby}}
112100 bundler-cache : true
113- apt-get : " libsqlcipher-dev"
114- brew : " sqlcipher"
115- mingw : " sqlcipher"
116- vcpkg : " sqlcipher"
101+ apt-get : libsqlcipher-dev
102+ brew : sqlcipher
103+ mingw : sqlcipher
104+ vcpkg : sqlcipher
117105 - run : bundle exec rake compile -- --with-sqlcipher
118106 - run : bundle exec rake test
0 commit comments