-
Notifications
You must be signed in to change notification settings - Fork 35
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 #390 from uwplse/release-1.5
Re-release 1.5
- Loading branch information
Showing
5 changed files
with
93 additions
and
10 deletions.
There are no files selected for viewing
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,7 +1,6 @@ | ||
.git | ||
graphs | ||
ml-toy | ||
.github | ||
.gitignore | ||
reports | ||
papers | ||
herbie/compile/tc* | ||
herbie/compile/nr* | ||
rebuild-paper.sh | ||
egg-herbie/target |
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 |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: Build new Herbie release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
job1: | ||
name: Create Initial Release | ||
runs-on: ubuntu-latest | ||
outputs: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
|
||
steps: | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: ${{ github.ref }} | ||
draft: true | ||
prerelease: false | ||
|
||
job2: | ||
name: Build | ||
needs: job1 | ||
strategy: | ||
matrix: | ||
os: | ||
- windows | ||
- ubuntu | ||
- macOS | ||
runs-on: ${{ matrix.os }}-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Racket | ||
uses: Bogdanp/setup-racket@v1.3.1 | ||
with: | ||
version: stable | ||
|
||
- name: Install Rust compiler | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
default: true | ||
override: true | ||
|
||
- name: build egg-herbie | ||
run: cargo build --release --manifest-path=egg-herbie/Cargo.toml | ||
|
||
- name: Create tarball | ||
run: raco pkg create --format zip egg-herbie | ||
|
||
- name: Upload pre-build egg-herbie | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ needs.job1.outputs.upload_url }} | ||
asset_path: egg-herbie.zip | ||
asset_name: egg-herbie-${{ matrix.os }}.zip | ||
asset_content_type: application/zip | ||
|
||
- name: Upload pre-build egg-herbie checksum | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ needs.job1.outputs.upload_url }} | ||
asset_path: egg-herbie.zip.CHECKSUM | ||
asset_name: egg-herbie-${{ matrix.os }}.zip.CHECKSUM | ||
asset_content_type: application/zip |
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