aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-31 19:38:02 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-31 19:38:02 +0300
commitfc57a1fa4e0c74bcab836601cbd8677717b5064f (patch)
treedfdc93de86393affb6d54b674fa5247802f3f61c /.github/workflows/ci.yml
parenttest: remove really old all.bat (diff)
downloadaes-tools-fc57a1fa4e0c74bcab836601cbd8677717b5064f.tar.gz
aes-tools-fc57a1fa4e0c74bcab836601cbd8677717b5064f.zip
add `make install`, `make test`, etc.
Diffstat (limited to '.github/workflows/ci.yml')
-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 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'