Skip to content

local ci instead of sepolia #44

local ci instead of sepolia

local ci instead of sepolia #44

Workflow file for this run

name: Ubuntu CI Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Install prerequisites
run: sudo apt-get update && sudo apt-get install -y cmake build-essential libboost-all-dev libssl-dev libcurl4-openssl-dev libsodium-dev
- name: Install Foundry
working_directory: ~/

Check failure on line 25 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Ubuntu CI Tests

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 25, Col: 7): Unexpected value 'working_directory' .github/workflows/ci.yml (Line: 26, Col: 7): Unexpected value 'environment'
environment:
SHELL: /bin/bash
run: |
export PATH="$PATH:$HOME/.foundry/bin"
echo 'export PATH=$PATH:$HOME/.foundry/bin' >> $BASH_ENV
if command -v anvil; then
echo "Anvil already installed"
anvil --version
else
curl -L https://foundry.paradigm.xyz | bash
foundryup
fi
rm -rf *
- name: Start node in background
run: |
anvil &
echo "NODE_PID=$!" >> $GITHUB_ENV
- name: Create Build Directory
run: mkdir -p build
- name: CMake Generate
run: cmake -Bbuild -H.
- name: Compile
run: cmake --build build
- name: Run tests
run: ctest -VV --repeat until-pass:2 --test-dir build
- name: Kill node
run: kill $NODE_PID
if: always()