Skip to content

Commit 3421550

Browse files
author
Reini Urban
committed
github ci: add bftest test
1 parent 424b124 commit 3421550

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44
jobs:
55
linux:
66
runs-on: ubuntu-latest
7-
timeout-minutes: 20
7+
timeout-minutes: 15
88
strategy:
99
fail-fast: false
1010
matrix:
@@ -14,12 +14,25 @@ jobs:
1414
MAKEVARS:
1515
-
1616
- CONFIG_ASAN=y
17+
- CONFIG_BFTEST=y
1718
- CONFIG_M32=y
1819
steps:
1920
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2021
with:
2122
fetch-depth: 1
22-
- if: ${{ matrix.MAKEVARS }} == CONFIG_M32=y
23+
- if: contains(matrix.MAKEVARS, 'CONFIG_M32=y')
2324
run: sudo apt install gcc-multilib
25+
- if: contains(matrix.MAKEVARS, 'CONFIG_BFTEST=y')
26+
run: |
27+
sudo apt install libmpfr-dev
28+
wget https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-4.0.1.tar.gz
29+
tar xfz mpdecimal-4.0.1.tar.gz
30+
cd mpdecimal-4.0.1
31+
./configure --libdir=/usr/lib
32+
make
33+
sudo make install
2434
- run: make ${{ matrix.MAKEVARS }}
2535
- run: make test
36+
- if: contains(matrix.MAKEVARS, 'CONFIG_BFTEST=y')
37+
run: |
38+
timeout --preserve-status 5m ./bftest || [ $? = 143 ]

0 commit comments

Comments
 (0)