Skip to content

Commit 32810ac

Browse files
committed
erge remote-tracking branch 'upstream/master' into level_logger
2 parents 7e6ab33 + b0ab3bb commit 32810ac

File tree

4 files changed

+23
-18
lines changed

4 files changed

+23
-18
lines changed

.github/workflows/CI.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os: [ubuntu-latest, macos-latest]
24-
gcc_v: [7, 8, 9] # Version of GFortran we want to use.
24+
gcc_v: [7, 8, 9, 10] # Version of GFortran we want to use.
2525
env:
2626
FC: gfortran-${{ matrix.gcc_v }}
2727
GCC_V: ${{ matrix.gcc_v }}
@@ -73,14 +73,14 @@ jobs:
7373
working-directory: build
7474

7575
- name: Test in-tree builds
76-
if: contains( matrix.gcc_v, '9') # Only test one compiler on each platform
76+
if: contains( matrix.gcc_v, '10') # Only test one compiler on each platform
7777
run: |
7878
cmake -DCMAKE_MAXIMUM_RANK=4 .
7979
cmake --build .
8080
cmake --build . --target test
8181
8282
- name: Test manual makefiles
83-
if: contains(matrix.os, 'ubuntu') && contains(matrix.gcc_v, '9')
83+
if: contains(matrix.os, 'ubuntu') && contains(matrix.gcc_v, '10')
8484
run: |
8585
make -f Makefile.manual FYPPFLAGS="-DMAXRANK=4"
8686
make -f Makefile.manual test
@@ -121,7 +121,7 @@ jobs:
121121
- name: Install Intel oneAPI compiler
122122
if: contains(matrix.os, 'ubuntu')
123123
run: |
124-
sudo apt-get install intel-oneapi-ifort
124+
sudo apt-get install intel-oneapi-compiler-fortran
125125
source /opt/intel/oneapi/setvars.sh
126126
printenv >> $GITHUB_ENV
127127

.github/workflows/doc-deployment.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,24 @@ env:
2020
jobs:
2121
Build-API-Docs:
2222
runs-on: macos-latest
23+
env:
24+
GCC_V: 10
2325
steps:
2426
- uses: actions/checkout@v2
2527
with:
2628
fetch-depth: 0 # Full history to get tag and commit info
2729
- name: Install GFortran macOS
28-
run: brew install gcc || brew upgrade gcc || true
30+
run: |
31+
brew install gcc@${GCC_V} || brew upgrade gcc@${GCC_V} || true
32+
brew link gcc@${GCC_V}
33+
gfortran-${GCC_V} --version
2934
- name: Install Dependencies
3035
run: |
3136
pip3 install --prefer-binary --no-clean --disable-pip-version-check --progress-bar off lxml fypp
3237
brew install -f --force-bottle --keep-tmp ford
3338
type -a ford
3439
ford --version
35-
gfortran --version
40+
gfortran-${GCC_V} --version
3641
- name: Skip graph and search unless deploying
3742
if: github.ref != 'refs/heads/master' && ! startsWith( github.ref, 'refs/tags/' )
3843
run: |

src/tests/bitsets/test_stdlib_bitset_64.f90

+4-4
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,13 @@ subroutine test_io()
147147
'write_bitset'
148148

149149
call set2 % from_string( bitstring_33 )
150-
open( newunit=unit, file='test.txt', status='replace', &
150+
open( newunit=unit, file='test64_1.txt', status='replace', &
151151
form='formatted', action='write' )
152152
call set2 % write_bitset(unit)
153153
call set1 % write_bitset(unit)
154154
call set0 % write_bitset(unit)
155155
close( unit )
156-
open( newunit=unit, file='test.txt', status='old', &
156+
open( newunit=unit, file='test64_1.txt', status='old', &
157157
form='formatted', action='read' )
158158
call set3 % read_bitset(unit)
159159
call set5 % read_bitset(unit)
@@ -169,13 +169,13 @@ subroutine test_io()
169169

170170
close( unit )
171171

172-
open( newunit=unit, file='test.txt', status='replace', &
172+
open( newunit=unit, file='test64_2.txt', status='replace', &
173173
form='formatted', action='write' )
174174
call set2 % write_bitset(unit, advance='no')
175175
call set1 % write_bitset(unit, advance='no')
176176
call set0 % write_bitset(unit)
177177
close( unit )
178-
open( newunit=unit, file='test.txt', status='old', &
178+
open( newunit=unit, file='test64_2.txt', status='old', &
179179
form='formatted', action='read' )
180180
call set3 % read_bitset(unit, advance='no')
181181
call set4 % read_bitset(unit, advance='no')

src/tests/bitsets/test_stdlib_bitset_large.f90

+8-8
Original file line numberDiff line numberDiff line change
@@ -254,13 +254,13 @@ subroutine test_io()
254254
'write_bitset'
255255

256256
call set2 % from_string( bitstring_33 )
257-
open( newunit=unit, file='test.txt', status='replace', &
257+
open( newunit=unit, file='test1.txt', status='replace', &
258258
form='formatted', action='write' )
259259
call set2 % write_bitset(unit)
260260
call set1 % write_bitset(unit)
261261
call set0 % write_bitset(unit)
262262
close( unit )
263-
open( newunit=unit, file='test.txt', status='old', &
263+
open( newunit=unit, file='test1.txt', status='old', &
264264
form='formatted', action='read' )
265265
call set3 % read_bitset(unit)
266266
call set5 % read_bitset(unit)
@@ -276,13 +276,13 @@ subroutine test_io()
276276
close( unit )
277277

278278
call set12 % from_string( bitstring_33 // bitstring_33 )
279-
open( newunit=unit, file='test.txt', status='replace', &
279+
open( newunit=unit, file='test2.txt', status='replace', &
280280
form='formatted', action='write' )
281281
call set12 % write_bitset(unit)
282282
call set11 % write_bitset(unit)
283283
call set10 % write_bitset(unit)
284284
close( unit )
285-
open( newunit=unit, file='test.txt', status='old', &
285+
open( newunit=unit, file='test2.txt', status='old', &
286286
form='formatted', action='read' )
287287
call set13 % read_bitset(unit)
288288
call set15 % read_bitset(unit)
@@ -297,13 +297,13 @@ subroutine test_io()
297297

298298
close( unit )
299299

300-
open( newunit=unit, file='test.txt', status='replace', &
300+
open( newunit=unit, file='test3.txt', status='replace', &
301301
form='formatted', action='write' )
302302
call set2 % write_bitset(unit, advance='no')
303303
call set1 % write_bitset(unit, advance='no')
304304
call set0 % write_bitset(unit)
305305
close( unit )
306-
open( newunit=unit, file='test.txt', status='old', &
306+
open( newunit=unit, file='test3.txt', status='old', &
307307
form='formatted', action='read' )
308308
call set3 % read_bitset(unit, advance='no')
309309
call set4 % read_bitset(unit, advance='no')
@@ -319,13 +319,13 @@ subroutine test_io()
319319

320320
close( unit )
321321

322-
open( newunit=unit, file='test.txt', status='replace', &
322+
open( newunit=unit, file='test4.txt', status='replace', &
323323
form='formatted', action='write' )
324324
call set12 % write_bitset(unit, advance='no')
325325
call set11 % write_bitset(unit, advance='no')
326326
call set10 % write_bitset(unit)
327327
close( unit )
328-
open( newunit=unit, file='test.txt', status='old', &
328+
open( newunit=unit, file='test4.txt', status='old', &
329329
form='formatted', action='read' )
330330
call set13 % read_bitset(unit, advance='no')
331331
call set14 % read_bitset(unit, advance='no')

0 commit comments

Comments
 (0)