From 11d6b6d5ed00a542a7260bef69421f5b29bbd40c Mon Sep 17 00:00:00 2001 From: Abdulkaiz Khatri <24286590+ful1e5@users.noreply.github.com> Date: Sun, 21 Jul 2024 10:54:38 +0530 Subject: [PATCH] ci: updated build workflow --- .github/workflows/build.yml | 45 ++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 578dff6..eeb94ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,27 +16,42 @@ on: jobs: build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.7", "3.8", "3.9", "3.10"] + runs-on: "ubuntu-latest" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + - name: Setup node + uses: actions/setup-node@v4 with: - python-version: ${{ matrix.python-version }} + node-version: 16 - - name: Installing pip dependencies + - name: Installing Node Dependencies + run: | + rm -rf node_modules yarn.lock + yarn install --frozen-lockfile + continue-on-error: false + + - name: Print cbmp version + run: npx cbmp --version + + - name: Rendering Bitmaps + run: yarn render + continue-on-error: false + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: 3.11 + + - name: Installing PyPi Dependencies run: python -m pip install --upgrade pip clickgen continue-on-error: false - # https://github.com/returntocorp/semgrep/issues/4794 - - name: Fixing 'attr' module error - run: pip install --force-reinstall --upgrade attrs + - name: Print clickgen Version + run: | + clickgen --version + ctgen --version - - name: Building `Banana` Cursors - run: ctgen build.toml + - name: Building Banana Cursors + run: yarn build