Skip to content

Commit e8eb753

Browse files
committed
Added FPBench binary workflow
1 parent d5d4b00 commit e8eb753

File tree

2 files changed

+50
-18
lines changed

2 files changed

+50
-18
lines changed

.github/workflows/fpbench.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Build FPBench Binary (Linux Only)
2+
3+
on:
4+
workflow_dispatch
5+
6+
jobs:
7+
build-fpbench:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout Odyssey repo
12+
uses: actions/checkout@v4
13+
14+
- name: Install MPFR dependency
15+
run: sudo apt-get install -y libmpfr6 libmpfr-dev
16+
17+
- name: Install Racket
18+
uses: Bogdanp/[email protected]
19+
with:
20+
version: 8.15
21+
22+
- name: Clone FPBench
23+
run: |
24+
git clone https://github.com/FPBench/FPBench.git
25+
cd FPBench
26+
make setup
27+
28+
- name: Package FPBench Tools
29+
run: |
30+
mkdir -p fpbench-dist/linux/fpbench-compiled
31+
cp -r FPBench/* fpbench-dist/linux/fpbench-compiled/
32+
33+
- name: Zip the build
34+
run: |
35+
cd fpbench-dist
36+
zip -r ../fpbench-dist.zip *
37+
38+
- name: Create GitHub Release
39+
uses: softprops/action-gh-release@v1
40+
with:
41+
tag_name: fpbench-component
42+
name: "FPBench Binary (Linux)"
43+
body: "Automated release of FPBench binaries for Linux."
44+
draft: false
45+
prerelease: false
46+
files: fpbench-dist.zip
47+
env:
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/fptaylor.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -37,29 +37,13 @@ jobs:
3737
3838
- name: Install latest Rust
3939
uses: dtolnay/rust-toolchain@stable
40-
4140

42-
- name: Install GAOL (dependency for Gelpia)
43-
run: |
44-
git clone https://github.com/soarlab/gaol.git
45-
sudo cp -r gaol /usr/include/
46-
47-
- name: Clone Gelpia
41+
- name: Clone and build Gelpia
4842
run: |
4943
git clone https://github.com/soarlab/gelpia.git
5044
cd gelpia
5145
git checkout develop
52-
53-
- name: Install Gelpia dependencies manually
54-
run: |
55-
sudo apt update
56-
sudo apt install -y flex bison wget libmpfr-dev
57-
pip install sly
58-
59-
# Make sure Rust is installed beforehand via setup-rust step
60-
61-
cd gelpia
62-
mkdir -p bin
46+
make requirements
6347
make
6448
6549
- name: Build FPTaylor

0 commit comments

Comments
 (0)