Skip to content

Commit

Permalink
feast: added cross build
Browse files Browse the repository at this point in the history
  • Loading branch information
Wildhoney committed Mar 15, 2024
1 parent 8663446 commit b8905ee
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Build binary
- name: Build Binary
uses: houseabsolute/actions-rust-cross@v0
with:
command: ${{ matrix.platform.command }}
Expand All @@ -50,12 +50,23 @@ jobs:
strip: true

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: v1
release_name: Release v1
draft: false
prerelease: false


- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ${{ matrix.platform.name }}
asset_name: ${{ matrix.platform.name }}
asset_content_type: application/zip
1 change: 1 addition & 0 deletions .github/workflows/integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ jobs:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose

- name: Run tests
run: cargo test --verbose -- --test-threads 1

0 comments on commit b8905ee

Please sign in to comment.