Skip to content

Commit

Permalink
Merge pull request karpathy#175 from tairov/ci-mingw
Browse files Browse the repository at this point in the history
Add build step for win64 msys2/mingw
  • Loading branch information
karpathy authored Aug 1, 2023
2 parents b7f026f + bc36686 commit a8f3e1c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,31 @@ jobs:
id: build_msvc
run: |
.\build_msvc.bat
windows-latest-mingw:
runs-on: windows-latest

defaults:
run:
shell: msys2 {0}

strategy:
matrix:
include:
- { sys: mingw64, env: x86_64 }

steps:
- name: Checkout
id: checkout
uses: actions/checkout@v3

- uses: msys2/setup-msys2@v2
id: setup-msys2
with:
msystem: ${{ matrix.sys }}
install: mingw-w64-${{matrix.env}}-gcc make

- name: Build ${{ matrix.sys }} ${{ matrix.env }}
id: build_mingw
run: |
make win64

0 comments on commit a8f3e1c

Please sign in to comment.