mirror of
https://git.sr.ht/~lattis/muon
synced 2026-01-30 03:14:36 +00:00
72 lines
1.9 KiB
YAML
72 lines
1.9 KiB
YAML
# SPDX-FileCopyrightText: Stone Tickle <lattis@mochiro.moe>
|
|
# SPDX-FileCopyrightText: Vincent Torri <vtorri@outlook.fr>
|
|
# SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
name: msys2
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
mingw32:
|
|
runs-on: windows-latest
|
|
defaults:
|
|
run:
|
|
shell: msys2 {0}
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: msys2/setup-msys2@v2
|
|
with:
|
|
msystem: mingw32
|
|
update: true
|
|
install: base-devel git mingw-w64-i686-ninja mingw-w64-i686-toolchain mingw-w64-i686-pkgconf mingw-w64-i686-curl mingw-w64-i686-libarchive
|
|
- name: bootstrap
|
|
run: |
|
|
CC=cc CFLAGS=-std=c99 ./bootstrap.sh build
|
|
# - name: muon
|
|
# run: |
|
|
# ./build/muon.exe setup -Dbestline=disabled build
|
|
# ninja -C build
|
|
|
|
mingw64:
|
|
runs-on: windows-latest
|
|
defaults:
|
|
run:
|
|
shell: msys2 {0}
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: msys2/setup-msys2@v2
|
|
with:
|
|
msystem: mingw64
|
|
update: true
|
|
install: base-devel git mingw-w64-x86_64-ninja mingw-w64-x86_64-toolchain mingw-w64-x86_64-pkgconf mingw-w64-x86_64-curl mingw-w64-x86_64-libarchive
|
|
- name: bootstrap
|
|
run: |
|
|
CC=cc CFLAGS=-std=c99 ./bootstrap.sh build
|
|
# - name: muon
|
|
# run: |
|
|
# ./build/muon.exe setup -Dbestline=disabled build
|
|
# ninja -C build
|
|
|
|
msys:
|
|
runs-on: windows-latest
|
|
defaults:
|
|
run:
|
|
shell: msys2 {0}
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: msys2/setup-msys2@v2
|
|
with:
|
|
msystem: msys
|
|
update: true
|
|
install: base-devel git ninja gcc pkgconf libcurl-devel libarchive-devel
|
|
- name: Bootstrap for msys
|
|
run: |
|
|
./bootstrap.sh build
|
|
./build/muon.exe setup build
|
|
ninja -C build
|