Skip to content

Commit 738bde2

Browse files
committed
ci: add real128 test
1 parent 6a66b8e commit 738bde2

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

.github/workflows/ci_real128.yml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: ci_real128
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
CI: "ON"
7+
8+
jobs:
9+
linux:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
17+
- name: Set up Python 3.x
18+
uses: actions/setup-python@v1
19+
with:
20+
python-version: 3.x
21+
22+
- name: Set up CMake
23+
run: pip install --upgrade cmake
24+
25+
- name: Cmake configure
26+
- run: cmake -DREAL128=true -B build
27+
env:
28+
FC: gfortran
29+
CC: gcc
30+
CXX: g++
31+
32+
- name: CMake build
33+
run: cmake --build build --parallel
34+
35+
- run: cmake --build build --verbose --parallel 1
36+
if: failure()
37+
38+
- name: CTest
39+
run: ctest --output-on-failure --parallel -V
40+
working-directory: build
41+
42+
- uses: actions/upload-artifact@v1
43+
if: failure()
44+
with:
45+
name: Real128CMakeTestlog
46+
path: build/Testing/Temporary/LastTest.log

.github/workflows/ci_windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ env:
66
CI: "ON"
77

88
jobs:
9-
Build:
9+
cmake:
1010
runs-on: windows-latest
1111
strategy:
1212
fail-fast: false

0 commit comments

Comments
 (0)