From f9e742790d1cec148bfdd67c18d6629e5446d20d Mon Sep 17 00:00:00 2001 From: Jai A Date: Thu, 30 Mar 2023 14:12:35 -0700 Subject: [PATCH] install dependencies --- .github/workflows/cli-build.yml | 5 +++++ .github/workflows/lib-build.yml | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cli-build.yml b/.github/workflows/cli-build.yml index 8eb2611d2..4c2176c8f 100644 --- a/.github/workflows/cli-build.yml +++ b/.github/workflows/cli-build.yml @@ -14,6 +14,11 @@ jobs: working-directory: ./theseus_cli steps: - uses: actions/checkout@v2 + - name: install dependencies (ubuntu only) + if: matrix.platform == 'ubuntu-latest' + run: | + sudo apt-get update + sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf - name: Get build cache id: cache-build uses: actions/cache@v2 diff --git a/.github/workflows/lib-build.yml b/.github/workflows/lib-build.yml index 1892eca8f..16723f504 100644 --- a/.github/workflows/lib-build.yml +++ b/.github/workflows/lib-build.yml @@ -14,6 +14,11 @@ jobs: working-directory: ./theseus steps: - uses: actions/checkout@v2 + - name: install dependencies (ubuntu only) + if: matrix.platform == 'ubuntu-latest' + run: | + sudo apt-get update + sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf - name: Get build cache id: cache-build uses: actions/cache@v2 @@ -26,6 +31,5 @@ jobs: toolchain: stable - uses: actions-rs/cargo@v1 name: Build program - working-directory: ./theseus with: command: build \ No newline at end of file