diff --git a/.github/workflows/ethshadow.yml b/.github/workflows/ethshadow.yml new file mode 100644 index 0000000..a37b0d4 --- /dev/null +++ b/.github/workflows/ethshadow.yml @@ -0,0 +1,40 @@ +name: Ethshadow + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Shadow's dependencies + run : | + # required dependencies + sudo apt-get install -y \ + cmake \ + findutils \ + libclang-dev \ + libc-dbg \ + libglib2.0-0 \ + libglib2.0-dev \ + make \ + netbase \ + python3 \ + python3-networkx \ + xz-utils \ + util-linux \ + gcc \ + g++ + # rustup: https://rustup.rs + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh + + - name: Install Shadow + run: | + git clone https://github.com/shadow/shadow.git + cd shadow + ./setup build --clean + ./setup install