Skip to content

Commit

Permalink
config and build aseprite via cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
hardingadonis committed Apr 4, 2024
1 parent cbdf319 commit 3220c77
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,27 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Ninja
run: |
choco install ninja -y
- name: Install Python requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Download & Build Aseprite
- name: Download Aseprite
run: |
python download.py
- name: Setup MSVC Developer Command Prompt
uses: TheMrMilchmann/setup-msvc-dev@v3
with:
arch: x64

- name: Build Aseprite
run: |
python main.py
mkdir build
cd build
cmake ../src/aseprite -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DLAF_BACKEND=skia -DSKIA_DIR=../src/skia -DSKIA_LIBRARY_DIR=../src/skia/out/Release-x64 -DSKIA_LIBRARY=../src/skia/out/Release-x64/skia.lib
ninja aseprite
File renamed without changes.

0 comments on commit 3220c77

Please sign in to comment.