Remove tests for matrix.skip_gui in workflow files
This setting is used, so just remove all the tests for it.
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -185,9 +185,7 @@ jobs:
|
||||
- name: Building tests
|
||||
working-directory: tests
|
||||
run: |
|
||||
if [ !${{ matrix.skip_gui }} ]; then
|
||||
make $wxBUILD_ARGS failtest
|
||||
fi
|
||||
make $wxBUILD_ARGS failtest
|
||||
make -k $wxBUILD_ARGS "CXXFLAGS=$wxMAKEFILE_CXXFLAGS" "LDFLAGS=$wxMAKEFILE_LDFLAGS"
|
||||
|
||||
- name: Testing
|
||||
@@ -217,7 +215,7 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Testing GUI using Xvfb
|
||||
if: matrix.skip_gui != true && matrix.use_xvfb
|
||||
if: matrix.use_xvfb
|
||||
working-directory: tests
|
||||
run: |
|
||||
if [ ${{ matrix.use_asan }} ]; then
|
||||
@@ -247,7 +245,7 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Building samples
|
||||
if: matrix.skip_gui != true && matrix.skip_samples != true
|
||||
if: matrix.skip_samples != true
|
||||
run: |
|
||||
make -k $wxBUILD_ARGS "CXXFLAGS=$wxMAKEFILE_CXXFLAGS" "LDFLAGS=$wxMAKEFILE_LDFLAGS" samples
|
||||
|
||||
|
6
.github/workflows/ci_mac.yml
vendored
6
.github/workflows/ci_mac.yml
vendored
@@ -182,9 +182,7 @@ jobs:
|
||||
|
||||
- name: Building tests
|
||||
run: |
|
||||
if [ !${{ matrix.skip_gui }} ]; then
|
||||
make -C tests $wxBUILD_ARGS failtest
|
||||
fi
|
||||
make -C tests $wxBUILD_ARGS failtest
|
||||
make -k -C tests $wxBUILD_ARGS "CXXFLAGS=$wxMAKEFILE_CXXFLAGS" "LDFLAGS=$wxMAKEFILE_LDFLAGS"
|
||||
|
||||
- name: Testing
|
||||
@@ -202,7 +200,7 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Building samples
|
||||
if: matrix.skip_testing != true && matrix.skip_gui != true && matrix.skip_samples != true
|
||||
if: matrix.skip_testing != true && matrix.skip_samples != true
|
||||
run: |
|
||||
make -k $wxBUILD_ARGS "CXXFLAGS=$wxMAKEFILE_CXXFLAGS" "LDFLAGS=$wxMAKEFILE_LDFLAGS" samples
|
||||
|
||||
|
Reference in New Issue
Block a user