From 4d20bc9c99ba1b25b171e6c9f9bb831e23d0ff14 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 31 Mar 2021 20:10:48 +0300 Subject: add `make build`, `make test`, etc. --- .github/workflows/ci.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5d2c04..930b5fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,7 @@ jobs: PLATFORM: '${{ matrix.platform }}' CONFIGURATION: '${{ matrix.configuration }}' BOOST_VERSION: 1.72.0 + CMAKE_FLAGS: -D WINAPI_UTF8_TESTS=ON defaults: run: shell: pwsh @@ -58,20 +59,14 @@ jobs: platform: '${{ matrix.platform }}' if: matrix.toolset == 'mingw' - name: Build Boost - run: | - cd cmake - python -m project.ci.boost -- --with-test + run: make deps - name: Build - run: | - cd cmake - python -m project.ci.cmake --install -- -D WINAPI_UTF8_TESTS=ON + run: make install - name: Upload binaries uses: actions/upload-artifact@v2 with: name: 'winapi-utf8-${{ matrix.os }}-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}' path: '${{ runner.workspace }}/build/install/' - name: Test - run: | - cd ../build/cmake - ctest -C '${{ env.CONFIGURATION }}' --verbose + run: make test if: runner.os == 'Windows' -- cgit v1.2.3