mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 00:46:17 +08:00
32 lines
885 B
YAML
32 lines
885 B
YAML
name: Cygwin
|
|
on:
|
|
push:
|
|
branches: [ $default-branch ]
|
|
pull_request:
|
|
branches: [ $default-branch ]
|
|
|
|
env:
|
|
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
|
BUILD_TYPE: Release
|
|
|
|
jobs:
|
|
build:
|
|
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
|
|
# You can convert this to a matrix build if you need cross-platform coverage.
|
|
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
|
runs-on: windows-latest
|
|
|
|
env:
|
|
SHELLOPTS: igncr
|
|
defaults:
|
|
run:
|
|
shell: C:\tools\cygwin\bin\bash.exe --login '{0}'
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up Cygwin
|
|
uses: egor-tensin/setup-cygwin@v3
|
|
with:
|
|
platform: x64
|
|
packages: cmake gcc-g++
|
|
|