Skip to content

Commit

Permalink
Merge pull request #409 from coasys/dev
Browse files Browse the repository at this point in the history
ADAM Layer Version 0.6.0
  • Loading branch information
lucksus authored Sep 22, 2023
2 parents 227c2b9 + ec2b3d2 commit 6b11adf
Show file tree
Hide file tree
Showing 370 changed files with 37,956 additions and 24,111 deletions.
8 changes: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/config.json

This file was deleted.

12 changes: 10 additions & 2 deletions .github/workflows/agent-language-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.63.0
toolchain: 1.71.1

- name: Cache cargo
id: cache-cargo
uses: actions/cache@v3
Expand All @@ -38,13 +39,20 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4

- run: rustup target add wasm32-unknown-unknown
- run: yarn install
- run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
- run: yarn run build-languages
- run: cargo install --version 0.2.3 lair_keystore || echo "lair already installed"
- run: cd bootstrap-languages/agent-language/hc-dna/zomes/tests && yarn install && yarn run test
12 changes: 10 additions & 2 deletions .github/workflows/direct-message-language-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.63.0
toolchain: 1.71.1

- name: Cache cargo
id: cache-cargo
uses: actions/cache@v3
Expand All @@ -38,13 +39,20 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4

- run: rustup target add wasm32-unknown-unknown
- run: yarn install
- run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
- run: yarn run build-languages
- run: cargo install --version 0.2.3 lair_keystore || echo "lair already installed"
- run: cd bootstrap-languages/direct-message-language/hc-dna/tests && yarn install && yarn run test
24 changes: 20 additions & 4 deletions .github/workflows/file-storage-language-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.63.0
toolchain: 1.71.1

- name: Cache cargo
id: cache-cargo
uses: actions/cache@v3
Expand All @@ -38,15 +39,22 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4

- run: rustup target add wasm32-unknown-unknown
- run: yarn install
- run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
- run: yarn run build-languages
- run: cargo install --version 0.2.3 lair_keystore || echo "lair already installed"
- run: cd bootstrap-languages/file-storage/hc-dna/tests && yarn install && yarn run test

integration:
Expand All @@ -64,7 +72,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.63.0
toolchain: 1.71.1

- name: Cache cargo
id: cache-cargo
uses: actions/cache@v3
Expand All @@ -76,13 +85,20 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4

- run: rustup target add wasm32-unknown-unknown
- run: yarn install
- run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
- run: yarn run build
- run: cargo install --version 0.2.3 lair_keystore || echo "lair already installed"
- run: cd bootstrap-languages/file-storage && yarn run integration-test
25 changes: 16 additions & 9 deletions .github/workflows/integration_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
test:
name: AD4M cli <> AD4M host
name: AD4M cli
runs-on: macos-latest
strategy:
matrix:
Expand All @@ -26,7 +26,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
override: true
toolchain: 1.63.0
toolchain: 1.71.1

- name: Cache cargo
id: cache-cargo
Expand All @@ -46,18 +46,25 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4

- name: Install GO
uses: actions/setup-go@v4
with:
go-version: '1.18'

- name: Install HC
run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"

- name: Yarn Install
run: yarn install

- name: Yarn Build
- name: Yarn Build (builds entire workspace)
run: yarn build

- name: Build AD4M-Host
run: yarn run package-macos

- name: Build AD4M cli
run: cd cli && cargo build --release

- name: Run binaries test script
run: ./tests/bats/bin/bats tests/binaries.bats || cat ~/Library/Logs/DiagnosticReports/*

Expand Down
Loading

0 comments on commit 6b11adf

Please sign in to comment.