-
Notifications
You must be signed in to change notification settings - Fork 13
46 lines (36 loc) · 1.26 KB
/
actions.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
38
39
40
41
42
43
44
45
46
on: push
jobs:
hydra-script-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install jq
shell: bash
run: |
sudo apt install -y jq
- name: Load config file
shell: bash
run: |
contents="$(jq --arg GITHUB_TOKEN "${{ secrets.TOKEN }}" '.github_token = $GITHUB_TOKEN' euclid.json)"
echo -E "${contents}" > euclid.json
- name: Run steps
shell: bash
run: |
echo "Installing CARGO"
curl https://sh.rustup.rs -sSf | sh -s -- -y
echo "Cargo Installed"
echo "Installing ARGC"
cargo install argc
echo "ARGC Installed"
echo "Installing Scala"
curl -fL https://github.com/coursier/coursier/releases/download/v2.1.0/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup -y
echo "Scala Installed"
source ~/.profile
echo "Installing Giter"
cs install giter8
echo "Gitter Installed"
scripts/hydra install
scripts/hydra build
scripts/hydra start_genesis
scripts/hydra stop
scripts/hydra destroy