Skip to content

Explicitly specify encoding for stdout of subcommands. #25

Explicitly specify encoding for stdout of subcommands.

Explicitly specify encoding for stdout of subcommands. #25

Workflow file for this run

name: build
on: [push]
permissions:
contents: read
jobs:
all:
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}${{ matrix.name_extra }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
cmake_extra: [""]
name_extra: [""]
steps:
- name: checkout
uses: actions/checkout@v3
- name: install python and pip
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: prepare build directory
run: |
cmake -E make_directory ${{runner.workspace}}/build
- name: configure (Unix)
working-directory: ${{runner.workspace}}/build
run: |
cmake ${{ matrix.cmake_extra }} ${{github.workspace}}
- name: build
working-directory: ${{runner.workspace}}/build
run: |
cmake --build . --config Release
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: tests-directory
path: |
${{runner.workspace}}/build/tests
- name: test
working-directory: ${{runner.workspace}}/build
run: |
ctest --output-on-failure -v -C Release