From 221f1af3fc88e9bdd71223b7dfc7c11c0f393d1f Mon Sep 17 00:00:00 2001 From: Suphanat Chunhapanya Date: Mon, 14 Oct 2024 23:24:00 +0700 Subject: [PATCH] Create ethshadow.yml --- .github/workflows/ethshadow.yml | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/ethshadow.yml 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