Skip to content

Bump actions/cache from 3.0.11 to 3.3.2 #226

Bump actions/cache from 3.0.11 to 3.3.2

Bump actions/cache from 3.0.11 to 3.3.2 #226

Workflow file for this run

name: 'Windows MSYS2'
env:
CMAKE_VERSION: '3.16.x'
CMAKE_BUILD_TYPE: 'Release'
CMAKE_BUILD_PREFIX: './build'
on:
push:
pull_request:
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- { icon: '🟨', sys: mingw32, env: i686, name: MINGW32 }
- { icon: '🟦', sys: mingw64, env: x86_64, name: MINGW64 }
- { icon: '🟩', sys: ucrt64, env: ucrt-x86_64, name: UCRT64 } # Experimental!
- { icon: 'πŸŸ₯', sys: clang64, env: clang-x86_64, name: Clang64 } # Experimental!
name: '🚧 ${{ matrix.icon }} ${{ matrix.name }}'
defaults:
run:
shell: msys2 {0}
steps:
- name: '🧰 Checkout'
uses: actions/[email protected]
- name: '${{ matrix.icon }} Setup MSYS2'
uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
path-type: minimal
release: true
update: true
install: >-
git
libutil-linux-devel
make
liblzma-devel
mingw-w64-${{matrix.env}}-toolchain
mingw-w64-${{matrix.env}}-cmake
mingw-w64-${{matrix.env}}-ninja
mingw-w64-${{matrix.env}}-python-numpy
mingw-w64-${{matrix.env}}-postgresql
mingw-w64-${{matrix.env}}-libmariadbclient
mingw-w64-${{matrix.env}}-firebird2-git
mingw-w64-${{matrix.env}}-unixodbc
mingw-w64-${{matrix.env}}-sqlite3
pcre
- name: '${{ matrix.icon }} Cache ROOT'
uses: actions/[email protected]
with:
path: '${{ env.CMAKE_BUILD_PREFIX }}/_deps/root-build'
key: root-${{ matrix.env }}
- name: 'πŸ”§ Configure'
run: cmake -S . -B ${{ env.CMAKE_BUILD_PREFIX }} -D CMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }}
- name: 'βš™οΈ Build'
run: cmake --build ${{ env.CMAKE_BUILD_PREFIX }} --config ${{ env.CMAKE_BUILD_TYPE }} --parallel 2
- name: 'πŸ§ͺ Run tests'
working-directory: ${{ env.CMAKE_BUILD_PREFIX }}
run: ctest -C ${{ env.CMAKE_BUILD_TYPE }} -j2 -VV --output-on-failure