File tree Expand file tree Collapse file tree 2 files changed +16
-40
lines changed Expand file tree Collapse file tree 2 files changed +16
-40
lines changed Original file line number Diff line number Diff line change @@ -21,38 +21,14 @@ jobs:
21
21
runs-on : ubuntu-latest
22
22
steps :
23
23
- uses : actions/checkout@v3
24
- - uses : actions/cache@v2
24
+
25
25
with :
26
- path : |
27
- ~/.cargo/bin/
28
- ~/.cargo/registry/index/
29
- ~/.cargo/registry/cache/
30
- ~/.cargo/git/db/
31
- .cargo/bin/
32
- .cargo/registry/index/
33
- .cargo/registry/cache/
34
- .cargo/git/db/
35
- target/
36
- key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
37
- - name : Use Nix
38
- uses : cachix/install-nix-action@v20
39
- with :
40
- nix_path : nixpkgs=channel:nixos-21.05
41
- - name : Configure Nix substituters
42
- run : |
43
- set -xe
44
- mkdir -p ~/.config/nix/
45
- cp ./.github/nix.conf ~/.config/nix/
46
- - name : Use cachix
47
- uses : cachix/cachix-action@v12
48
- with :
49
- name : holochain-ci
50
- - name : Prepare Nix environment
51
- run : nix-shell --command "echo Completed"
26
+ targets : wasm32-unknown-unknown
27
+ - name : Install holochain_cli
28
+ run : cargo install holochain_cli --version 0.1.0 --locked
52
29
# build hApp
53
30
- name : Build hApp
54
- run : |
55
- nix-shell --run "npm run happ-pack"
31
+ run : bash ./scripts/happ-pack.sh
56
32
# store happs as build artifacts
57
33
- uses : actions/upload-artifact@master
58
34
with :
Original file line number Diff line number Diff line change 1
1
# Disabled for now, to not waste CI resources
2
2
3
3
# name: Cargo tests
4
-
4
+ #
5
5
# on: [ push, pull_request ]
6
-
6
+ #
7
7
# jobs:
8
8
# cargo_test:
9
9
# runs-on: ubuntu-latest
10
-
10
+ #
11
11
# steps:
12
- # - uses: actions/checkout@v2
13
- # - uses: actions-rs/ toolchain@v1
12
+ # - uses: actions/checkout@v3
13
+ # - uses: dtolnay/rust- toolchain@1.65
14
14
# with:
15
- # toolchain: 1.58
16
- # target: wasm32-unknown-unknown
17
-
18
- # - run: rustup update stable
15
+ # targets: wasm32-unknown-unknown
16
+ #
19
17
# - run: rustc --version
20
18
# - run: cargo --version
21
19
# - run: rustup component list --installed
22
20
# - run: rustup show
23
-
24
- # - run: ./scripts/happ-test.sh
21
+ #
22
+ # - run: cargo install holochain_cli --version 0.1.0 --locked
23
+ # - run: bash ./scripts/happ-pack.sh
24
+ #
You can’t perform that action at this time.
0 commit comments