Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rollerozxa committed Aug 6, 2024
1 parent 77313da commit 3926022
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: windows

on:
- push
- pull_request

jobs:
build:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v4

- uses: msys2/setup-msys2@v2
with:
update: true
release: false
msystem: UCRT64
install: >-
base-devel
mingw-w64-ucrt-x86_64-cmake
mingw-w64-ucrt-x86_64-gcc
mingw-w64-ucrt-x86_64-ninja
mingw-w64-ucrt-x86_64-pkgconf
mingw-w64-ucrt-x86_64-zlib
- name: Build
run: |
mkdir out
pushd mingw-w64-curl
dos2unix PKGBUILD
makepkg-mingw -Csf --noconfirm
mv *.pkg.tar.zst ../out/
popd
pushd mingw-w64-freetype
dos2unix PKGBUILD
makepkg-mingw -Csf --noconfirm
mv *.pkg.tar.zst ../out/
popd
- name: Upload output as artifact
uses: actions/upload-artifact@v4
with:
name: output
path: out/

0 comments on commit 3926022

Please sign in to comment.