From fc57a1fa4e0c74bcab836601cbd8677717b5064f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 31 Mar 2021 19:38:02 +0300 Subject: add `make install`, `make test`, etc. --- .github/workflows/ci.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ba227e..10a1907 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,7 @@ jobs: PLATFORM: '${{ matrix.platform }}' CONFIGURATION: '${{ matrix.configuration }}' BOOST_VERSION: 1.72.0 + CMAKE_FLAGS: -D 'AES_TOOLS_ASM=${{ matrix.use_asm }}' defaults: run: shell: pwsh @@ -50,20 +51,14 @@ jobs: platform: '${{ matrix.platform }}' if: matrix.toolset == 'mingw' - name: Build Boost - run: | - cd cmake - python -m project.ci.boost -- --with-filesystem --with-program_options --with-system + run: make deps - name: Build - run: | - cd cmake - python -m project.ci.cmake --install -- -D 'AES_TOOLS_ASM=${{ matrix.use_asm }}' + run: make install - name: Upload binaries uses: actions/upload-artifact@v2 with: name: 'aes-tools-${{ matrix.os }}-${{ matrix.toolset }}-${{ matrix.platform }}-asm${{ matrix.use_asm }}-${{ 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