2021-03-30 11:04:52 +08:00
|
|
|
name: Windows GitHub CI
|
|
|
|
|
|
|
|
on: [pull_request, push]
|
|
|
|
|
|
|
|
jobs:
|
2021-05-19 20:18:04 +08:00
|
|
|
shared:
|
|
|
|
runs-on: windows-latest
|
2021-05-21 16:56:00 +08:00
|
|
|
# Run a job for each of the specified target architectures:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
arch:
|
|
|
|
- win64
|
|
|
|
- win32
|
2021-05-19 20:18:04 +08:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: ilammy/msvc-dev-cmd@v1
|
2021-05-21 16:56:00 +08:00
|
|
|
with:
|
|
|
|
arch: ${{ matrix.arch }}
|
|
|
|
- uses: ilammy/setup-nasm@v1
|
|
|
|
with:
|
|
|
|
platform: ${{ matrix.arch }}
|
2021-05-19 20:18:04 +08:00
|
|
|
- name: prepare the build directory
|
|
|
|
run: mkdir _build
|
|
|
|
- name: config
|
|
|
|
working-directory: _build
|
|
|
|
run: |
|
2021-05-21 16:56:00 +08:00
|
|
|
if ( "${{ matrix.arch }}" -eq "win32" ) { $target = "VC-WIN32" } else { $target = "VC-WIN64A" }
|
|
|
|
perl ..\Configure --banner=Configured no-makedepend no-fips $target
|
2021-05-19 20:18:04 +08:00
|
|
|
perl configdata.pm --dump
|
|
|
|
- name: build
|
|
|
|
working-directory: _build
|
|
|
|
run: nmake
|
|
|
|
- name: test
|
|
|
|
working-directory: _build
|
|
|
|
run: nmake test VERBOSE_FAILURE=yes TESTS=-test_fuzz
|
|
|
|
plain:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: ilammy/msvc-dev-cmd@v1
|
|
|
|
- name: prepare the build directory
|
|
|
|
run: mkdir _build
|
|
|
|
- name: config
|
|
|
|
working-directory: _build
|
|
|
|
run: |
|
|
|
|
perl ..\Configure --banner=Configured no-makedepend no-shared no-fips VC-WIN64A-masm
|
|
|
|
perl configdata.pm --dump
|
|
|
|
- name: build
|
|
|
|
working-directory: _build
|
|
|
|
run: nmake
|
|
|
|
- name: test
|
|
|
|
working-directory: _build
|
|
|
|
run: nmake test VERBOSE_FAILURE=yes TESTS=-test_fuzz
|
2021-03-30 11:04:52 +08:00
|
|
|
minimal:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: ilammy/msvc-dev-cmd@v1
|
|
|
|
- name: prepare the build directory
|
|
|
|
run: mkdir _build
|
|
|
|
- name: config
|
|
|
|
working-directory: _build
|
|
|
|
run: |
|
2021-05-12 22:42:46 +08:00
|
|
|
perl ..\Configure --banner=Configured no-makedepend no-bulk no-deprecated no-fips no-asm -DOPENSSL_SMALL_FOOTPRINT VC-WIN64A
|
2021-03-30 11:04:52 +08:00
|
|
|
perl configdata.pm --dump
|
|
|
|
- name: build
|
|
|
|
working-directory: _build
|
|
|
|
run: nmake
|
|
|
|
- name: test
|
|
|
|
working-directory: _build
|
|
|
|
run: nmake test VERBOSE_FAILURE=yes TESTS=-test_fuzz
|