Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mingw x64 support #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,3 +230,44 @@ jobs:
if: ${{ github.event.inputs.skip_release != 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
mingw:
runs-on: windows-2022
strategy:
matrix:
build_type: [Debug, Release]
fail-fast: false
steps:
- run: git config --global core.autocrlf input
- uses: actions/checkout@v2
- shell: bash
run: python3 script/check_release.py --version ${{ env.version }} --build-type ${{ matrix.build_type }} --host mingw
if: ${{ github.event.inputs.skip_release != 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: msys2/setup-msys2@v2
with:
msystem: 'MINGW64'
update: true
install: >-
git
mingw-w64-x86_64-python
mingw-w64-x86_64-ninja
mingw-w64-x86_64-gcc
- shell: msys2 {0}
run: python3 script/checkout.py --version ${{ env.version }} --host mingw
- shell: msys2 {0}
run: python3 script/checkout_gn_mingw.py --version ${{ env.version }} --host mingw
- shell: msys2 {0}
run: python3 script/build.py --build-type ${{ matrix.build_type }} --host mingw
- shell: bash
run: python3 script/archive.py --version ${{ env.version }} --build-type ${{ matrix.build_type }} --host mingw
- uses: actions/upload-artifact@v2
with:
name: Skia-${{ env.version }}-mingw-${{ matrix.build_type }}-x64.zip
path: '*.zip'
- shell: bash
run: python3 script/release.py --version ${{ env.version }} --build-type ${{ matrix.build_type }} --host mingw
if: ${{ github.event.inputs.skip_release != 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/skia
/depot_tools
/gn
/build
*.zip
__pycache__
Loading