From b2bf0c14ab5441548e06330a645814945f9bc5e7 Mon Sep 17 00:00:00 2001 From: konsumlamm Date: Fri, 22 Dec 2023 15:19:31 +0100 Subject: [PATCH] Setup CI --- .github/workflows/ci.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..34f737a --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,24 @@ +name: CI + +on: push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/cache@v3 + with: + path: | + target + liberica/node_modules + key: ${{ runner.os }}-mister-x + - name: Build robusta + run: | + cd robusta + cargo build + - name: Build liberica + run: | + cd liberica + npm install + npm run build