Thanks to visit codestin.com
Credit goes to github.com

Skip to content

(APPLE) Build a Universal Framework, and add code signing and notarization #268

(APPLE) Build a Universal Framework, and add code signing and notarization

(APPLE) Build a Universal Framework, and add code signing and notarization #268

Workflow file for this run

name: MinGW Windows static test
on:
push:
branches: ['*']
paths:
- 'src'
- 'include'
- 'cmake'
# - '!docs/**'
# - '!.github/**'
- '.github/workflows/mingw_static.yml'
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
name: MinGW batteries-included
strategy:
matrix:
include:
# - { sys: mingw64, env: x86_64 }
# - { sys: mingw32, env: i686 }
- { sys: ucrt64, env: ucrt-x86_64 }
# - { sys: clang64, env: clang-x86_64 }
runs-on: windows-latest
defaults:
run:
shell: 'msys2 {0}'
steps:
- uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
update: true
cache: true
install: >-
git
make
pacboy: >-
toolchain:p
cmake:p
ninja:p
- name: Configure CMake
run: |
cmake --version
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=${PWD}/install \
-DLSL_UNITTESTS=ON \
-DLSL_BUILD_STATIC=ON \
-Dlslgitrevision=${{ github.sha }} \
-Dlslgitbranch=${{ github.ref }} \
-DLSL_OPTIMIZATIONS=OFF \
-G Ninja
- name: make
run: cmake --build build --target install --config Release -j --verbose
- name: upload install dir
uses: actions/upload-artifact@master
with:
name: mingw_artifacts
path: install
# run internal tests, ignore test failures on docker (missing IPv6 connectivity)
- name: unit tests (internal functions)
run: 'install/bin/lsl_test_internal --order rand --wait-for-keypress never --durations yes'
timeout-minutes: 5
- name: unit tests (exported functions)
run: install/bin/lsl_test_exported --wait-for-keypress never --durations yes
timeout-minutes: 5