You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/README.md
+28-2Lines changed: 28 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,31 @@
1
1
# Tornado-SVM GitHub Actions Workflows
2
2
3
+
## Build Workflow
4
+
5
+
### Workflow: `build.yml`
6
+
7
+
**Purpose:** Build, test, and validate the Tornado-SVM codebase using the Bun JavaScript runtime and Solana build tools.
8
+
9
+
### Trigger Methods:
10
+
11
+
1.**On Push:** Runs on all branch pushes and version tags
12
+
2.**On Pull Request:** Runs on all pull requests
13
+
14
+
### What the Workflow Does:
15
+
16
+
1. Sets up Bun and Rust toolchains
17
+
2. Installs Solana build tools
18
+
3. Builds the Solana program using Cargo build-sbf
19
+
4. Runs program tests
20
+
5. Lints the code with Clippy
21
+
6. Builds and tests the client
22
+
23
+
### Technologies Used:
24
+
25
+
-**Bun:** Fast JavaScript runtime and package manager
26
+
-**Rust:** Primary language for the Solana program
27
+
-**Solana CLI:** For building and testing Solana programs
28
+
3
29
## Testnet Transaction Metrics Workflow
4
30
5
31
This workflow automates the process of running Tornado-SVM privacy solution transactions on Solana testnet and generating comprehensive metrics reports.
@@ -22,7 +48,7 @@ This workflow automates the process of running Tornado-SVM privacy solution tran
22
48
23
49
### What the Workflow Does:
24
50
25
-
1. Sets up the Solana toolchain and required dependencies
51
+
1. Sets up Bun runtime and the Solana toolchain
26
52
2. Creates a new Solana wallet and requests an airdrop
27
53
3. Deploys the Tornado-SVM program to the Solana testnet
28
54
4. Initializes a new Tornado instance
@@ -65,4 +91,4 @@ To manually trigger the workflow with custom parameters:
65
91
3. Click "Run workflow"
66
92
4. Enter your desired parameters (denomination, Merkle tree height, RPC URL)
67
93
5. Click "Run workflow"
68
-
6. Once completed, download the artifacts from the workflow run
94
+
6. Once completed, download the artifacts from the workflow run
Copy file name to clipboardExpand all lines: docs/github_actions.md
+25-2Lines changed: 25 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,29 @@ This document outlines the GitHub Actions workflows available for automating tes
6
6
7
7
## Available Workflows
8
8
9
+
### Build Workflow
10
+
11
+
**File:**`.github/workflows/build.yml`
12
+
13
+
**Purpose:**
14
+
This workflow handles the building, testing, and validation of the Tornado-SVM codebase using the Bun JavaScript runtime and Solana build tools. It provides quick feedback on code quality and functionality.
15
+
16
+
**Key Features:**
17
+
- Builds the Solana program using Cargo build-sbf
18
+
- Runs integration tests for the program
19
+
- Builds and tests the client code
20
+
- Performs code linting with Clippy
21
+
22
+
**Triggers:**
23
+
- Executes on all Git pushes to any branch
24
+
- Runs on version tags matching `v[0-9]+.[0-9]+.[0-9]+`
25
+
- Executes on all pull requests
26
+
27
+
**Technologies:**
28
+
- Uses Bun for JavaScript runtime and package management
29
+
- Uses the latest Rust toolchain for Solana program development
30
+
- Uses Solana CLI tools for program building and testing
0 commit comments