Skip to content

Commit a54b21b

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

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/main.yml

Lines changed: 16 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,26 @@ jobs:
1414
MAKEVARS:
1515
-
1616
- CONFIG_ASAN=y
17+
- CONFIG_AVX2=y
18+
- CONFIG_BFTEST=y
1719
- CONFIG_M32=y
1820
steps:
1921
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2022
with:
2123
fetch-depth: 1
22-
- if: ${{ matrix.MAKEVARS }} == CONFIG_M32=y
24+
- if: contains(matrix.MAKEVARS, 'CONFIG_M32=y')
2325
run: sudo apt install gcc-multilib
26+
- if: contains(matrix.MAKEVARS, 'CONFIG_BFTEST=y')
27+
run: |
28+
sudo apt install libmpfr-dev
29+
wget https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-4.0.1.tar.gz
30+
tar xfz mpdecimal-4.0.1.tar.gz
31+
cd mpdecimal-4.0.1
32+
./configure --libdir=/usr/lib
33+
make
34+
sudo make install
2435
- run: make ${{ matrix.MAKEVARS }}
2536
- run: make test
37+
- if: contains(matrix.MAKEVARS, 'CONFIG_BFTEST=y')
38+
run: |
39+
timeout --preserve-status 5m ./bftest || [ $? = 143 ]

0 commit comments

Comments
 (0)