Skip to content

mingw64-x86_64

mingw64-x86_64 #5

Workflow file for this run

name: 'mingw64-x86_64'
on:
workflow_call:
inputs:
run_build:
required: true
type: boolean
workflow_dispatch:
inputs:
run_build:
default: true
jobs:
mingw:
name: msys2/mingw64 ${{ matrix.builds.arch }}
defaults:
run:
shell: C:\shells\msys2bash.cmd {0}
strategy:
matrix:
builds:
- arch: x86_64
bin: /mingw64/bin
#- arch: i686
# bin: /mingw32/bin
runs-on: windows-latest
if: inputs.run_build == true
steps:
- name: Setup host
run: |
pacman -S mingw-w64-${{ matrix.builds.arch }}-gcc mingw-w64-${{ matrix.builds.arch }}-cmake mingw-w64-${{ matrix.builds.arch }}-ninja --noconfirm
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/build-cmake-preset
with:
preset-name: gcc-release
artifact-label: ${{ github.job }}-${{ matrix.builds.arch }}
cmake-args: -D SILKIT_BUILD_DOCS=OFF
extra-path: "${{ matrix.builds.bin }}:"
shell: C:\shells\msys2bash.cmd {0}