-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #317 from uwplse/release-1.4
Release Herbie 1.4
- Loading branch information
Showing
48 changed files
with
659 additions
and
702 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
name: Unit Tests | ||
name: Unit, Integration, and Plugin tests | ||
|
||
on: [push] | ||
|
||
env: | ||
RUST_BACKTRACE: full | ||
|
||
jobs: | ||
build: | ||
unit-tests: | ||
name: "Unit Tests" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Install Packages" | ||
|
@@ -14,3 +18,64 @@ jobs: | |
- name: "Install dependencies" | ||
run: raco pkg install --name herbie --no-cache --auto src/ | ||
- run: raco test src/ infra/ | ||
|
||
hamming: | ||
name: "Integration tests (Hamming)" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
racket-version: [ '7.5', '7.6', '7.7' ] | ||
precision: [ 'binary32', 'binary64' ] | ||
steps: | ||
- name: "Install Packages" | ||
run: sudo apt-get install -y libmpfr6 libmpfr-dev | ||
- name: "Install Racket" | ||
uses: Bogdanp/[email protected] | ||
with: | ||
version: ${{ matrix.racket-version }} | ||
- uses: actions/checkout@master | ||
- name: "Install dependencies" | ||
run: raco pkg install --name herbie --no-cache --auto src/ | ||
- run: racket infra/travis.rkt --precision ${{ matrix.precision }} --seed 0 bench/hamming/ | ||
|
||
softposit: | ||
name: "Plugin tests (Posits)" | ||
runs-on: ubuntu-latest | ||
needs: [ 'hamming' ] | ||
steps: | ||
- name: "Install Packages" | ||
run: sudo apt-get install -y libmpfr6 libmpfr-dev | ||
- name: "Install Racket" | ||
uses: Bogdanp/[email protected] | ||
- uses: actions/checkout@master | ||
- name: "Install dependencies" | ||
run: raco pkg install --name herbie --no-cache --auto src/ | ||
- 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/ | ||
- run: racket infra/travis.rkt --precision posit16 --seed 0 plugin/bench/posits.fpcore | ||
|
||
complex: | ||
name: "Plugin tests (Complex)" | ||
runs-on: ubuntu-latest | ||
needs: [ 'hamming' ] | ||
steps: | ||
- name: "Install Packages" | ||
run: sudo apt-get install -y libmpfr6 libmpfr-dev | ||
- name: "Install Racket" | ||
uses: Bogdanp/[email protected] | ||
- uses: actions/checkout@master | ||
- name: "Install dependencies" | ||
run: raco pkg install --name herbie --no-cache --auto src/ | ||
- name: "Check out complex-herbie master" | ||
uses: actions/checkout@master | ||
with: | ||
repository: herbie-fp/complex-herbie | ||
path: plugin | ||
- name: "Install Complex support" | ||
run: raco pkg install --no-cache --auto --name complex-herbie plugin/ | ||
- run: racket infra/travis.rkt --seed 0 plugin/test.fpcore |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.