fortrangoingonforty/fortsh / 3337299

Browse files

install modern bash on macOS CI and set BASH_REF for test suites

Authored by espadonne
SHA
3337299d3de5a29eea4c61c523f8c61f079ee1fc
Parents
c85cb6d
Tree
90a5d81

1 changed file

StatusFile+-
M .github/workflows/test.yml 8 4
.github/workflows/test.ymlmodified
@@ -144,10 +144,11 @@ jobs:
144144
     runs-on: macos-15
145145
     env:
146146
       FC: flang-new
147
+      BASH_REF: /opt/homebrew/bin/bash
147148
     steps:
148149
       - uses: actions/checkout@v4
149150
       - name: Install flang-new and coreutils
150
-        run: brew install flang coreutils
151
+        run: brew install flang coreutils bash
151152
       - name: Build fortsh
152153
         run: make release
153154
       - name: Run POSIX tests
@@ -158,10 +159,11 @@ jobs:
158159
     runs-on: macos-15
159160
     env:
160161
       FC: flang-new
162
+      BASH_REF: /opt/homebrew/bin/bash
161163
     steps:
162164
       - uses: actions/checkout@v4
163165
       - name: Install flang-new and coreutils
164
-        run: brew install flang coreutils
166
+        run: brew install flang coreutils bash
165167
       - name: Build fortsh
166168
         run: make release
167169
       - name: Run builtin tests
@@ -172,10 +174,11 @@ jobs:
172174
     runs-on: macos-15
173175
     env:
174176
       FC: flang-new
177
+      BASH_REF: /opt/homebrew/bin/bash
175178
     steps:
176179
       - uses: actions/checkout@v4
177180
       - name: Install flang-new and coreutils
178
-        run: brew install flang coreutils
181
+        run: brew install flang coreutils bash
179182
       - name: Build fortsh
180183
         run: make release
181184
       - name: Run stress tests
@@ -187,10 +190,11 @@ jobs:
187190
     runs-on: macos-15
188191
     env:
189192
       FC: flang-new
193
+      BASH_REF: /opt/homebrew/bin/bash
190194
     steps:
191195
       - uses: actions/checkout@v4
192196
       - name: Install flang-new and coreutils
193
-        run: brew install flang coreutils
197
+        run: brew install flang coreutils bash
194198
       - name: Build fortsh
195199
         run: make release
196200
       - name: Run integration tests