Skip to content

modernize msys2 environments #187

modernize msys2 environments

modernize msys2 environments #187

Workflow file for this run

# Copyright (c) 2022-2023 Guilherme Janczak <[email protected]>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
name: 'Integration Testing'
on: [push, pull_request]
jobs:
msys2:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
strategy:
matrix:
sys: [msys, mingw64, mingw32, ucrt64, clang64]
steps:
- uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
path-type: strict
install: groff dos2unix
pacboy: gcc:p meson:p ninja:p pkg-config:p
- uses: actions/[email protected] # checkout libobsd
- uses: actions/[email protected] # checkout dictpw
with:
repository: guijan/dictpw
path: dictpw
- name: shared test
run: |
meson setup -Dprovide_libbsd=true build
meson install -C build
cd dictpw
meson setup build
meson compile -C build
- name: static test
run: |
meson setup -Dprovide_libbsd=true -Ddefault_library=static --wipe \
build
meson install -C build
cd dictpw
meson setup -Dstatic_deps=true build
meson compile -C build
- uses: actions/[email protected]
if: always()
with:
name: meson-logs-int-${{matrix.sys}}
path: |
build/meson-logs