mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2024-09-19 07:18:51 -04:00
chore(ci): Render bitmaps and build cursor
This commit is contained in:
parent
d8c0c10dcd
commit
e7f95add05
1 changed files with 30 additions and 24 deletions
54
.github/workflows/build.yml
vendored
54
.github/workflows/build.yml
vendored
|
@ -16,36 +16,42 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
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 `macOS BigSur` Cursors
|
||||
run: ctgen build.toml -d 'bitmaps/macOS-BigSur' -n 'macOS-BigSur' -c 'macOS BigSur Cursors'
|
||||
|
||||
- name: Building `macOS BigSur White` Cursors
|
||||
run: ctgen build.toml -d 'bitmaps/macOS-BigSur-White' -n 'macOS-BigSur-White' -c 'macOS BigSur White Cursors'
|
||||
|
||||
- name: Building `macOS Monterey` Cursors
|
||||
run: ctgen build.toml -d 'bitmaps/macOS-Monterey' -n 'macOS-Monterey' -c 'macOS Monterey Cursors'
|
||||
|
||||
- name: Building `macOS Monterey White` Cursors
|
||||
run: ctgen build.toml -d 'bitmaps/macOS-Monterey-White' -n 'macOS-Monterey-White' -c 'macOS Monterey White Cursors'
|
||||
- name: Build
|
||||
run: yarn build
|
||||
|
|
Loading…
Reference in a new issue