Skip to content

Merge pull request #28 from ra3xdh/revert-25-develop #57

Merge pull request #28 from ra3xdh/revert-25-develop

Merge pull request #28 from ra3xdh/revert-25-develop #57

Workflow file for this run

name: windows
on:
push:
branches: [ "develop", "release/*" ]
pull_request:
branches: [ "develop", "release/*" ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
sys:
- mingw64
- clang64
- ucrt64
defaults:
run:
shell: msys2 {0}
steps:
- name: Disable autocrlf
shell: pwsh
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up MSYS2
uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.sys }}
cache: true
update: true
install: >-
bison
flex
dos2unix
pacboy: >-
cmake:p
gcc:p
make:p
python:p
gperf:p
- name: Build with cmake
run: |
ls -la
cmake.exe -B build/ -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
cmake.exe --build build/ -j`nproc` --config ${{env.BUILD_TYPE}}