-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9390bce
commit 73e59dd
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,6 +119,36 @@ jobs: | |
path: main | ||
submodules: true | ||
|
||
- name: Set up Elixir | ||
id: beam | ||
uses: erlef/[email protected] | ||
with: | ||
elixir-version: '1.17.3' | ||
otp-version: '27.1' | ||
|
||
- name: Cache anoma | ||
id: cache-anoma | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
${{ env.HOME }}/anoma | ||
key: "${{ runner.os }}-anoma" | ||
|
||
- name: Install anoma | ||
run: >- | ||
cd $HOME | ||
git clone https://github.com/anoma/anoma.git | ||
cd anoma | ||
git checkout 98e3660b91cd55f1d9424dcff9420425ae98f5f8 | ||
mix deps.get | ||
mix escript.install hex protobuf | ||
mix compile | ||
mix do --app anoma_client escript.build | ||
- name: Install grpcurl | ||
run: >- | ||
curl -sSL "https://github.com/fullstorydev/grpcurl/releases/download/v1.9.1/grpcurl_1.9.1_linux_x86_64.tar.gz" | tar -xz -C ~/.local/bin --no-wildcards grpcurl | ||
- name: Cache LLVM and Clang | ||
id: cache-llvm | ||
uses: actions/cache@v3 | ||
|
@@ -146,6 +176,10 @@ jobs: | |
run: | | ||
echo "WASI_SYSROOT_PATH=$GITHUB_WORKSPACE/wasi-sysroot" >> $GITHUB_ENV | ||
- name: Set ANOMA_PATH | ||
run: | | ||
echo "ANOMA_PATH=$HOME/anoma" >> $GITHUB_ENV | ||
- name: Add ~/.local/bin to PATH | ||
run: | | ||
mkdir -p "$HOME/.local/bin" | ||
|