Skip to content

Commit 8e6d30c

Browse files
authored
ci: upgrade conformance to regression test (#59)
1 parent b2967f9 commit 8e6d30c

File tree

137 files changed

+666071
-32715
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+666071
-32715
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,19 @@ jobs:
128128
- name: Build Program
129129
run: make build-program
130130

131+
- name: Upload Program Builds
132+
uses: actions/upload-artifact@v4
133+
with:
134+
name: program-builds
135+
path: ./target/deploy/*.so
136+
if-no-files-found: error
137+
138+
- name: Save Program Builds For Client Jobs
139+
uses: actions/cache/save@v4
140+
with:
141+
path: ./**/*.so
142+
key: ${{ runner.os }}-builds-${{ github.sha }}
143+
131144
test_program:
132145
name: Test Program
133146
runs-on: ubuntu-latest
@@ -177,8 +190,8 @@ jobs:
177190
exit 1;
178191
fi
179192
180-
conformance:
181-
name: Conformance Test
193+
regression:
194+
name: Regression Test
182195
runs-on: ubuntu-latest
183196
needs: build_program
184197
steps:
@@ -188,7 +201,7 @@ jobs:
188201
- name: Setup Environment
189202
uses: ./.github/actions/setup
190203
with:
191-
cargo-cache-key: cargo-program-conformance
204+
cargo-cache-key: cargo-program-regression
192205
cargo-cache-fallback-key: cargo-program
193206
solana: true
194207

@@ -204,8 +217,8 @@ jobs:
204217
path: ./**/*.so
205218
key: ${{ runner.os }}-builds-${{ github.sha }}
206219

207-
- name: Conformance Test
208-
run: make conformance
220+
- name: Regression Test
221+
run: make regression
209222

210223
generate_clients:
211224
name: Check Client Generation

Cargo.lock

Lines changed: 13 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ test-program:
3838
bench-program-compute-units:
3939
cargo bench --manifest-path program/Cargo.toml
4040

41-
conformance:
42-
./scripts/conformance.sh
41+
regression:
42+
./scripts/regression.sh
4343

4444
format-js:
4545
cd ./clients/js && pnpm install && pnpm format

program/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ solana-program = { workspace = true }
2525
thiserror = { workspace = true }
2626

2727
[dev-dependencies]
28-
mollusk-svm = { workspace = true, features = ["fuzz-fd"] }
28+
mollusk-svm = { workspace = true, features = ["fuzz"] }
2929
mollusk-svm-bencher = { workspace = true }
3030
solana-config-interface = { workspace = true, features = ["bincode", "serde"] }
3131
solana-sdk = { workspace = true }
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)