mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 08:42:45 +03:00
chore(build): install before test
This commit is contained in:
parent
97be093023
commit
cdeb4464e2
15
.github/workflows/pr.yml
vendored
15
.github/workflows/pr.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
- name: Windows Latest (MSVC)
|
- name: Windows Latest (MSVC)
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
build_type: Release
|
build_type: Release
|
||||||
test_path: Release/WhoaTest
|
test_path: WhoaTest
|
||||||
cc: cl
|
cc: cl
|
||||||
cxx: cl
|
cxx: cl
|
||||||
|
|
||||||
@ -41,10 +41,17 @@ jobs:
|
|||||||
run: mkdir build
|
run: mkdir build
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: cd build && cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
|
run: cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
|
||||||
|
working-directory: build
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build --config ${{ matrix.config.build_type }}
|
run: cmake --build . --config ${{ matrix.config.build_type }}
|
||||||
|
working-directory: build
|
||||||
|
|
||||||
|
- name: Install
|
||||||
|
run: cmake --install . --config ${{ matrix.config.build_type }}
|
||||||
|
working-directory: build
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: ./build/bin/${{ matrix.config.test_path }}
|
run: ./dist/bin/${{ matrix.config.test_path }}
|
||||||
|
working-directory: build
|
||||||
|
|||||||
15
.github/workflows/push.yml
vendored
15
.github/workflows/push.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
- name: Windows Latest (MSVC)
|
- name: Windows Latest (MSVC)
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
build_type: Release
|
build_type: Release
|
||||||
test_path: Release/WhoaTest
|
test_path: WhoaTest
|
||||||
cc: cl
|
cc: cl
|
||||||
cxx: cl
|
cxx: cl
|
||||||
|
|
||||||
@ -44,10 +44,17 @@ jobs:
|
|||||||
run: mkdir build
|
run: mkdir build
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: cd build && cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
|
run: cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
|
||||||
|
working-directory: build
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build --config ${{ matrix.config.build_type }}
|
run: cmake --build . --config ${{ matrix.config.build_type }}
|
||||||
|
working-directory: build
|
||||||
|
|
||||||
|
- name: Install
|
||||||
|
run: cmake --install . --config ${{ matrix.config.build_type }}
|
||||||
|
working-directory: build
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: ./build/bin/${{ matrix.config.test_path }}
|
run: ./dist/bin/${{ matrix.config.test_path }}
|
||||||
|
working-directory: build
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user