basdp is testing out GitHub Actions π #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build with MinGW GCC | |
run-name: ${{ github.actor }} is testing out GitHub Actions π | |
on: [push] | |
jobs: | |
mingw64-x64: | |
name: Build Skia with MinGW GCC | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: "Setup" | |
run: | | |
gcc --version | |
clang --version | |
- name: "Clone skia" | |
run: git clone --depth 1 https://github.com/mono/skia.git | |
- name: "Build skia" | |
run: | | |
cd skia | |
python3 tools/git-sync-deps | |
python3 bin/fetch-ninja | |
bin/gn gen out/lib --platform=mingw --args=' | |
is_debug=false | |
is_official_build=true | |
clang_win="C:/Program Files/LLVM" | |
clang_win_version=18 is_trivial_abi=false | |
skia_enable_fontmgr_win=true | |
skia_use_freetype=false | |
skia_use_system_libjpeg_turbo=false | |
skia_use_system_libpng=false | |
skia_use_system_libwebp=false | |
skia_use_system_zlib=false | |
skia_use_harfbuzz=false | |
' | |
third_party/ninja/ninja -C out/lib skia | |
cp --recursive include out/include | |
- name: Archive the build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: windows-mingw64-x64 | |
path: out |