Respect the direction set in a template stream #40
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |