-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.gitpod.yml
37 lines (36 loc) · 1.17 KB
/
.gitpod.yml
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
image:
file: .gitpod.Dockerfile
tasks:
- name: Setup environment
init: |
sudo apt-get update && sudo apt-get install -y \
git \
curl \
cp .streamlit/secrets.toml.example .streamlit/secrets.toml
echo "Python version:"
python3 --version
echo "Git version:"
git --version
- name: Open Readme
command: |
gp open src/addition.py
gp open tests/addition_test.yaml
gp open .streamlit/secrets.toml
gp open README_GITPOD.md
- name: Create Nillion environment
init: |
echo "Nilup version:"
nilup -V
command: |
nilup install latest
nilup use latest
sh telemetry.sh
source /home/gitpod/.bashrc && export PATH=$PATH:/home/gitpod/.nilup/sdks/latest
nillion -V
pip install -r requirements.txt
nada build --mir-json
echo "✅ Compiled all programs to binary (.nada.bin) in target/ directory"
echo "🖥️ Check out Nada programs in src/ directory"
echo "🧪 Check out Nada program test files in tests/ directory"
echo "👇 Run the addition program with the addition_test file with the 'nada run' command"
echo "nada run addition_test"