diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2021-05-18 14:37:01 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2021-05-18 17:24:40 +0200 |
commit | 68c20667ca775a4d4a7d1cfc3c9ec5c30f275084 (patch) | |
tree | ccf581481596330ad32065bfe19f524444f2a76c /.github/workflows | |
parent | af5181bf2cf567453fa02e36b78e7956eda20085 (diff) | |
download | polecat-68c20667ca775a4d4a7d1cfc3c9ec5c30f275084.tar.gz polecat-68c20667ca775a4d4a7d1cfc3c9ec5c30f275084.zip |
add some mock test steps
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e18a721..d65168c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,14 +33,34 @@ jobs: - name: Configure CMake working-directory: ${{runner.workspace}}/build shell: bash - run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE + run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE:STRING=$BUILD_TYPE -DBUILD_MOCK:BOOL=ON - name: Build working-directory: ${{runner.workspace}}/build shell: bash run: cmake --build . --config $BUILD_TYPE - - name: Get environment feedback + - name: Test `wine list` + working-directory: ${{runner.workspace}}/build + shell: bash + run: ./polecat_mock wine list + + - name: Test `dxvk list` + working-directory: ${{runner.workspace}}/build + shell: bash + run: ./polecat_mock dxvk list + + - name: Test `lutris search` + working-directory: ${{runner.workspace}}/build + shell: bash + run: ./polecat_mock lutris search game + + - name: Get mock environment + working-directory: ${{runner.workspace}}/build + shell: bash + run: ./polecat_mock env + + - name: Get environment working-directory: ${{runner.workspace}}/build shell: bash run: ./polecat env
\ No newline at end of file |