Skip to content

Commit acaa1f6

Browse files
committed
Fix simplex installation in CI
1 parent 1824d93 commit acaa1f6

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,22 @@ jobs:
3232
with:
3333
cache-on-failure: true
3434

35+
- name: Install simplex-cli via simplexup
36+
shell: bash
37+
run: |
38+
curl -L https://smplx.simplicity-lang.org | bash
39+
source "$HOME/.bashrc"
40+
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
41+
simplexup
42+
simplex --version
43+
44+
- name: Generate contract artifacts
45+
shell: bash
46+
run: |
47+
cd crates/contracts
48+
simplex build
49+
test -f src/artifacts/mod.rs
50+
3551
- name: Format check
3652
run: cargo fmt --all --check
3753

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
shell: bash
7676
run: |
7777
curl -L https://smplx.simplicity-lang.org | bash
78+
source "$HOME/.bashrc"
7879
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
7980
simplexup
8081
simplex --version

0 commit comments

Comments
 (0)