File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -147,16 +147,14 @@ jobs:
147
147
run : |
148
148
# macos-13 / gcc 7-9 compatibility workaround
149
149
args=""
150
- if [ "$RUNNER_OS" == "macOS" ]; then
151
- if [[ $(sw_vers -productVersion) == 13* ]] && \
152
- [[ ${{ matrix.toolchain.compiler }} == "gcc" ]] && \
153
- [[ ${{ matrix.toolchain.version }} =~ ^(7|8|9)$ ]]
154
- then
155
- args="-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
156
- fi
150
+ if [[ "$RUNNER_OS" == "macOS" ]] && \
151
+ [[ $(sw_vers -productVersion) == 13* ]] && \
152
+ [[ ${{ matrix.toolchain.compiler }} == "gcc" ]] && \
153
+ [[ ${{ matrix.toolchain.version }} =~ ^(7|8|9)$ ]]
154
+ then
155
+ args="-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
157
156
fi
158
157
args="$args -o hw hw.f90"
159
-
160
158
${{ env.FC }} $args
161
159
output=$(./hw '2>&1')
162
160
[[ "$output" == *"hello world"* ]] && echo "$output" || (echo "Unexpected output: $output"; exit 1)
You can’t perform that action at this time.
0 commit comments