refactor(EncodingConverter): remove deprecated conversion methods and… #52
Workflow file for this run
This file contains 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: windows | |
on: | |
pull_request: | |
paths: | |
- 'sese/**' | |
- 'CMakeLists.txt' | |
- 'vcpkg.json' | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
- name: Setup Pip | |
run: | | |
pip install -r requirements.txt | |
- name: Setup Ninja | |
uses: ashutoshvarma/setup-ninja@master | |
with: | |
version: 1.11.1 | |
- name: Requiring CL | |
uses: ilammy/[email protected] | |
- name: Restore Vcpkg Cache | |
id: restore-cache | |
uses: actions/cache/[email protected] | |
with: | |
path: ${{ github.workspace }}/vcpkg-archive | |
key: ${{ runner.os }}-vcpkg | |
- name: Configure CMake | |
working-directory: ${{ github.workspace }} | |
env: | |
VCPKG_ROOT: C:/vcpkg | |
VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/vcpkg-archive | |
run: > | |
mkdir -Force vcpkg-archive && | |
cmake -G Ninja | |
-DCMAKE_BUILD_TYPE=Release | |
-DPython3_EXECUTABLE=C:/hostedtoolcache/windows/Python/3.11.9/x64/python3.exe | |
-DCMAKE_TOOLCHAIN_FILE=${{ env.VCPKG_ROOT }}/scripts/buildsystems/vcpkg.cmake | |
-DSESE_BUILD_TEST=ON | |
-DSESE_USE_ARCHIVE=ON | |
-Bbuild | |
- name: Always Save Cache | |
if: always() && steps.restore-cache.outputs.cache-hit != 'true' | |
uses: actions/cache/[email protected] | |
with: | |
path: ${{ github.workspace }}/vcpkg-archive | |
key: ${{ runner.os }}-vcpkg | |
- name: Build | |
working-directory: ${{ github.workspace }} | |
run: cmake --build build -- -j 2 | |
- name: Test | |
working-directory: ${{ github.workspace }} | |
run: | | |
build/sese/test/AllTestsInMain --gtest_filter=-TestMaria*:TestPostgres*:TestSqlite* --gtest_output="xml:build/test_report.xml" | |
- name: Test report | |
if: success() || failure() | |
run: | | |
npx junit-to-ctrf ./build/test_report.xml -o ./build/ctrf-report.json | |
npx github-actions-ctrf ./build/ctrf-report.json |