11# ###############################################################################
2- # Build and Test tidy on the latest versions of all of the major platforms.
2+ # Build and Test tidy on the latest versions of all of the major platforms.
33#
44# - Build on multiple operating systems, and where possible, multiple
55# architectures. On Windows, we will also build and test mingw in
2020 - ' include/**'
2121 - ' .github/workflows/**'
2222 - ' CMakeLists.txt'
23+ branches :
24+ - ' master'
25+ - ' next'
2326 pull_request :
2427 paths :
2528 - ' src/**'
6770 build_command : " cmake --build . --config Release"
6871 vers_command : " ./tidy.exe --version"
6972 test_command : " ruby test.rb test"
70-
73+
7174 # ###########################################################
7275 # We'll also build using MinGW on Windows, because it's
7376 # always nice to support FOSS toolchains. While we could
8083 build_command : " cmake --build . --config Release"
8184 vers_command : " ./tidy --version"
8285 test_command : " ruby test.rb test"
83-
86+
8487 # ###########################################################
8588 # We'll also build using Cygwin on Windows, because even
8689 # Windows people sometimes dislike Windows. While we could
@@ -113,7 +116,7 @@ jobs:
113116 uses : egor-tensin/setup-mingw@v2
114117 with :
115118 platform : x64
116-
119+
117120 # ###########################################################
118121 # Install Cygwin if needed for the current runner.
119122 # ###########################################################
@@ -123,7 +126,7 @@ jobs:
123126 with :
124127 platform : x64
125128 packages : make gcc-core gcc-g++ cmake
126-
129+
127130 # ###########################################################
128131 # Cmake and Make the project.
129132 # ###########################################################
@@ -132,11 +135,11 @@ jobs:
132135 run : |
133136 ${{matrix.cmake_command}}
134137 ${{matrix.build_command}}
135-
138+
136139 # ###########################################################
137- # Windows MSVC is the only oddball here; why does it
140+ # Windows MSVC is the only oddball here; why does it
138141 # install the binary into a subfolder, unlike all of the
139- # other builds? Let's make everything else easier by
142+ # other builds? Let's make everything else easier by
140143 # relocating it to the same spot as all the other build
141144 # locations.
142145 # ###########################################################
@@ -162,14 +165,14 @@ jobs:
162165 with :
163166 ruby-version : 2.7
164167 bundler-cache : true
165-
168+
166169 # ###########################################################
167170 # Ensure that dependencies are met.
168171 # ###########################################################
169- - name : Bundle Install
172+ - name : Bundle Install
170173 working-directory : ${{github.workspace}}/regression_testing
171174 run : |
172- bundle install
175+ bundle install
173176
174177 # ###########################################################
175178 # Finally, check for regressions.
0 commit comments