Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
* Update Skia release
* macOS already includes the required packages
* use curl instead of wget (so choco install wget doesn't fail)
  • Loading branch information
dacap committed Jun 26, 2024
1 parent 0f9e55e commit 0fa49df
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ jobs:
- name: Install Dependencies
shell: bash
run: |
if [[ "${{ runner.os }}" == "Windows" ]] ; then
choco install wget -y --no-progress
elif [[ "${{ runner.os }}" == "macOS" ]] ; then
brew install pixman freetype harfbuzz zlib
else
if [[ "${{ runner.os }}" == "Linux" ]] ; then
sudo apt-get update -qq
sudo apt-get install -y \
libc++-dev libc++abi-dev \
Expand All @@ -37,7 +33,9 @@ jobs:
skia_build_type=Debug
fi
skia_arch=$(echo $RUNNER_ARCH | awk '{print tolower($0)}')
wget -q https://github.com/aseprite/skia/releases/download/m124-eadfe707ca/Skia-${{ runner.os }}-$skia_build_type-$skia_arch.zip
echo Downloading https://github.com/aseprite/skia/releases/download/m124-08a5439a6b/Skia-${{ runner.os }}-$skia_build_type-$skia_arch.zip ...
curl -O https://github.com/aseprite/skia/releases/download/m124-08a5439a6b/Skia-${{ runner.os }}-$skia_build_type-$skia_arch.zip
ls -lha *
unzip Skia-${{ runner.os }}-$skia_build_type-$skia_arch.zip -d skia
fi
- uses: ilammy/msvc-dev-cmd@v1
Expand Down

0 comments on commit 0fa49df

Please sign in to comment.