-
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (42 loc) · 1.5 KB
/
Copy pathmove-ci.yml
File metadata and controls
42 lines (42 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Move Build & Test
on: [push, pull_request]
jobs:
move:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install deps
run: |
sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config clang curl
- name: Install Sui (prebuilt)
run: |
sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config clang curl
curl -L https://github.com/MystenLabs/sui/releases/latest/download/sui-linux-x86_64.tgz -o sui.tgz
tar -xzf sui.tgz
chmod +x sui
sudo mv sui /usr/local/bin/sui
which sui
sui --version
- name: Build MyToken
run: |
cd mytoken && sui move build --dump-bytecode-as-base64 --skip-fetch-latest-git-deps
- name: Test MyToken (allow failure for now)
run: |
cd mytoken && sui move test || true
- name: Build Escrow
run: |
cd escrow && sui move build --dump-bytecode-as-base64 --skip-fetch-latest-git-deps
- name: Test Escrow (allow failure for now)
run: |
cd escrow && sui move test || true
- name: Build SimpleNFT
run: |
cd simplenft && sui move build --dump-bytecode-as-base64 --skip-fetch-latest-git-deps
- name: Test SimpleNFT (allow failure for now)
run: |
cd simplenft && sui move test || true