mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-05-21 02:44:28 -05:00
add mingw to CI
This commit is contained in:
parent
86e4eb9252
commit
762dd8a21b
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
@ -7,6 +7,7 @@ on:
|
|||||||
env:
|
env:
|
||||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||||
BUILD_TYPE: Release
|
BUILD_TYPE: Release
|
||||||
|
version: osslsigncode-2.5-dev
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -15,23 +16,34 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- triplet: x64-linux
|
- triplet: x64-linux
|
||||||
|
compiler: gcc
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
vcpkg_root: /usr/local/share/vcpkg
|
vcpkg_root: /usr/local/share/vcpkg
|
||||||
- triplet: x64-osx
|
- triplet: x64-osx
|
||||||
|
compiler: clang
|
||||||
os: macOS-latest
|
os: macOS-latest
|
||||||
vcpkg_root: /usr/local/share/vcpkg
|
vcpkg_root: /usr/local/share/vcpkg
|
||||||
cache: /Users/runner/.cache/vcpkg/archives
|
cache: /Users/runner/.cache/vcpkg/archives
|
||||||
- triplet: x64-windows
|
- triplet: x64-windows
|
||||||
|
compiler: vs
|
||||||
arch: x64
|
arch: x64
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
vcpkg_root: C:/vcpkg
|
vcpkg_root: C:/vcpkg
|
||||||
cache: C:/Users/runneradmin/AppData/Local/vcpkg/archives
|
cache: C:/Users/runneradmin/AppData/Local/vcpkg/archives
|
||||||
- triplet: x86-windows
|
- triplet: x86-windows
|
||||||
|
compiler: vs
|
||||||
arch: x86
|
arch: x86
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
vcpkg_root: C:/vcpkg
|
vcpkg_root: C:/vcpkg
|
||||||
cache: C:/Users/runneradmin/AppData/Local/vcpkg/archives
|
cache: C:/Users/runneradmin/AppData/Local/vcpkg/archives
|
||||||
- triplet: x64-windows-static
|
- triplet: x64-windows-static
|
||||||
|
compiler: vs
|
||||||
|
arch: x64
|
||||||
|
os: windows-latest
|
||||||
|
vcpkg_root: C:/vcpkg
|
||||||
|
cache: C:/Users/runneradmin/AppData/Local/vcpkg/archives
|
||||||
|
- triplet: x64-windows
|
||||||
|
compiler: mingw
|
||||||
arch: x64
|
arch: x64
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
vcpkg_root: C:/vcpkg
|
vcpkg_root: C:/vcpkg
|
||||||
@ -47,13 +59,13 @@ jobs:
|
|||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{matrix.cache}}
|
path: ${{matrix.cache}}
|
||||||
key: ${{matrix.triplet}}-${{hashFiles('vcpkg.json')}}
|
key: ${{matrix.triplet}}-${{matrix.compiler}}-${{hashFiles('vcpkg.json')}}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{matrix.triplet}}-${{hashFiles('vcpkg.json')}}
|
${{matrix.triplet}}-${{matrix.compiler}}-${{hashFiles('vcpkg.json')}}
|
||||||
${{matrix.triplet}}-
|
${{matrix.triplet}}-${{matrix.compiler}}-
|
||||||
|
|
||||||
- name: Configure VS Toolchain (Windows)
|
- name: Configure Visual Studio
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.compiler == 'vs'
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
with:
|
with:
|
||||||
arch: ${{matrix.arch}}
|
arch: ${{matrix.arch}}
|
||||||
@ -118,7 +130,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: errors-${{matrix.triplet}}
|
name: errors-${{matrix.triplet}}-${{matrix.compiler}}
|
||||||
path: ${{github.workspace}}/build/Testing/Temporary/LastTest.log
|
path: ${{github.workspace}}/build/Testing/Temporary/LastTest.log
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
@ -127,5 +139,5 @@ jobs:
|
|||||||
- name: Upload the executables
|
- name: Upload the executables
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: osslsigncode-${{matrix.triplet}}
|
name: ${{env.version}}-${{matrix.triplet}}-${{matrix.compiler}}
|
||||||
path: ${{github.workspace}}/dist
|
path: ${{github.workspace}}/dist
|
||||||
|
Loading…
x
Reference in New Issue
Block a user