diff --git a/.github/workflows/aseprite_deploy.yml b/.github/workflows/aseprite_deploy.yml index 52f8054..d7658ec 100644 --- a/.github/workflows/aseprite_deploy.yml +++ b/.github/workflows/aseprite_deploy.yml @@ -37,24 +37,23 @@ jobs: curl -o Aseprite-source.zip -L ${{ inputs.aseprite_url }} unzip Aseprite-source.zip -d aseprite mkdir -p aseprite/build - - name: Set architecture for the produced binary - shell: cmd - run: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\vsdevcmd.bat" -arch=x64 - name: Setting Visual Studio build environment variables and paths - uses: ilammy/msvc-dev-cmd@v1 + uses: TheMrMilchmann/setup-msvc-dev@v4 + with: + arch: x64 - name: Run CMake working-directory: aseprite shell: bash run: | export enable_ccache=off export laf_backend=skia - export enable_scripting=off + export enable_scripting=on export skia_arch=x64 cmake -S . -B build -G Ninja \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 \ - -DENABLE_TESTS=ON \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_OSX_DEPLOYMENT_TARGET=11 \ + -DENABLE_TESTS=OFF \ -DENABLE_SCRIPTING=$enable_scripting \ -DENABLE_CCACHE=$enable_ccache \ -DLAF_BACKEND=$laf_backend \