Skip to content

Respect the direction set in a template stream #40

Respect the direction set in a template stream

Respect the direction set in a template stream #40

Workflow file for this run

name: Cygwin CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
env:
CTEST_OUTPUT_ON_FAILURE: 1
steps:
- name: Install Cygwin + packages
uses: cygwin/cygwin-install-action@v6
with:
packages: |
gcc-g++
make
cmake
- name: Configure git line endings
run: git config --global core.autocrlf input
- uses: actions/checkout@v4
- name: Create Build Environment
working-directory: ${{github.workspace}}
shell: 'D:\cygwin\bin\bash.exe --noprofile --norc -leo pipefail {0}'
run: mkdir build
- name: Configure CMake
working-directory: ${{github.workspace}}/build
shell: 'D:\cygwin\bin\bash.exe --noprofile --norc -leo pipefail {0}'
run: cmake .. -DCRYPTO_LIBRARY=internal
- name: Build
working-directory: ${{github.workspace}}/build
shell: 'D:\cygwin\bin\bash.exe --noprofile --norc -leo pipefail {0}'
run: make
- name: Test
working-directory: ${{github.workspace}}/build
shell: 'D:\cygwin\bin\bash.exe --noprofile --norc -leo pipefail {0}'
run: ctest