Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Oct 30, 2024
1 parent 9390bce commit 73e59dd
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 73e59dd

Please sign in to comment.