-
Notifications
You must be signed in to change notification settings - Fork 27
60 lines (57 loc) · 1.64 KB
/
install.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: pop install
on:
push:
branches: [ "alexd10s/pop-install" ]
pull_request:
branches: [ "alexd10s/pop-install" ]
defaults:
run:
shell: bash
jobs:
debian:
runs-on: ubuntu-latest
container: debian
steps:
- uses: actions/checkout@v4
- name: Install prerequisites
run: apt-get update && apt-get -y install build-essential cmake curl git
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Install Pop
run: |
. "$HOME/.cargo/env"
cargo install --locked --path ./crates/pop-cli
- name: Run Pop Install
run: |
. "$HOME/.cargo/env"
pop install -y
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Install Pop
run: |
. "$HOME/.cargo/env"
cargo install --locked --path ./crates/pop-cli
- name: Run Pop Install
run:
pop install -y
ubuntu:
runs-on: ubuntu-latest
container: ubuntu
steps:
- uses: actions/checkout@v4
- name: Install prerequisites
run: apt-get update && apt-get -y install build-essential cmake curl git
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Install Pop
run: |
. "$HOME/.cargo/env"
cargo install --locked --path ./crates/pop-cli
- name: Run Pop install
run: |
. "$HOME/.cargo/env"
pop install -y