Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Nov 12, 2024
1 parent 9dfc7e3 commit 3857a56
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build Binary

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Build project
run: cargo build --release

- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: agave-xolana-binary
path: target/release/agave-xolana # Update this path with your binary file name

0 comments on commit 3857a56

Please sign in to comment.