Skip to content

Commit

Permalink
ci: using latest cursor build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
ful1e5 committed Jul 31, 2024
1 parent 242d0f8 commit cd48aa8
Showing 1 changed file with 29 additions and 20 deletions.
49 changes: 29 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +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
run: python -m pip install --upgrade pip clickgen
- name: Installing Node Dependencies
run: |
rm -rf node_modules yarn.lock
yarn install --frozen-lockfile
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 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: Building `XCursor-Pro-Dark` Cursors
run: ctgen build.toml -d 'bitmaps/XCursor-Pro-Dark' -n 'XCursor-Pro-Dark' -c 'Modern dark XCursors.'
- name: Installing PyPi Dependencies
run: python -m pip install --upgrade pip clickgen
continue-on-error: false

- name: Building `XCursor-Pro-Light` Cursors
run: ctgen build.toml -d 'bitmaps/XCursor-Pro-Light' -n 'XCursor-Pro-Light' -c 'Modern light XCursors.'
- name: Print clickgen Version
run: |
clickgen --version
ctgen --version
- name: Building `XCursor-Pro-Red` Cursors
run: ctgen build.toml -d 'bitmaps/XCursor-Pro-Red' -n 'XCursor-Pro-Red' -c 'Modern red XCursors.'
# - name: Building XCursor-Pro Cursors
# run: yarn build

0 comments on commit cd48aa8

Please sign in to comment.