aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-31 20:10:48 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-31 20:10:48 +0300
commit4d20bc9c99ba1b25b171e6c9f9bb831e23d0ff14 (patch)
treedccaefedbbcc7985bc000f44ae760191b6422b83 /.github/workflows
parentcmake: use install_pdbs() (diff)
downloadwinapi-utf8-4d20bc9c99ba1b25b171e6c9f9bb831e23d0ff14.tar.gz
winapi-utf8-4d20bc9c99ba1b25b171e6c9f9bb831e23d0ff14.zip
add `make build`, `make test`, etc.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml13
1 files changed, 4 insertions, 9 deletions
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'