-
Notifications
You must be signed in to change notification settings - Fork 34
35 lines (32 loc) · 1.06 KB
/
plugins.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Plugins
on: [push]
env:
RUST_BACKTRACE: full
jobs:
softposit:
name: "Plugin tests (Posits)"
runs-on: ubuntu-latest
steps:
- name: "Install Packages"
run: sudo apt-get install -y libmpfr6 libmpfr-dev
- name: "Install Racket"
uses: Bogdanp/[email protected]
with:
version: 8.12
- name: Install Rust compiler
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- uses: actions/checkout@master
- name: "Install dependencies"
run: make install
- name: "Check out softposit-herbie master"
uses: actions/checkout@master
with:
repository: herbie-fp/softposit-herbie
path: plugin
- name: "Install SoftPosit support"
run: raco pkg install --no-cache --auto --name softposit-herbie plugin/
- name: "Run posit benchmarks"
run: racket infra/ci.rkt --plugin "infra/plugins-ci.rkt" --platform softposit --precision posit16 --seed 0 plugin/bench/posits.fpcore