Skip to content

Commit

Permalink
Azure: Compress test cases
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Nov 23, 2019
1 parent dfef5a3 commit d6805d4
Show file tree
Hide file tree
Showing 29 changed files with 22 additions and 1,518 deletions.
28 changes: 22 additions & 6 deletions ci/steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ steps:
displayName: Download and extract Android NDK
- script: |
export ANDROID_NDK_ROOT=$(Build.SourcesDirectory)/android-ndk-r20b
$(Build.BinariesDirectory)/Qt/$(QT_VERSION)/$(ARCHDIR)/bin/qmake $(Build.SourcesDirectory)/tests/accelbubble/ && make
mkdir $(Build.BinariesDirectory)/tests
(cd $(Build.BinariesDirectory)/tests; 7zr x $(Build.SourcesDirectory)/tests/accelbubble.7z)
$(Build.BinariesDirectory)/Qt/$(QT_VERSION)/$(ARCHDIR)/bin/qmake $(Build.BinariesDirectory)/tests/accelbubble && make
condition: and(eq(variables['TARGET'], 'android'), or(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OS'], 'Darwin')))
displayName: Build accelbubble example application to test for android
Expand Down Expand Up @@ -102,24 +104,36 @@ steps:
# no modules
- powershell: |
Import-VisualStudioVars -VisualStudioVersion $(VSVER) -Architecture $(ARCHITECTURE)
$(Build.BinariesDirectory)/Qt/$(QT_VERSION)/$(ARCHDIR)/bin/qmake $(Build.SourcesDirectory)/tests/helloworld
mkdir $(Build.BinariesDirectory)/tests
cd $(Build.BinariesDirectory)/tests
7z x $(Build.SourcesDirectory)/tests/helloworld.7z
cd ..
$(Build.BinariesDirectory)/Qt/$(QT_VERSION)/$(ARCHDIR)/bin/qmake $(Build.BinariesDirectory)/tests/helloworld
nmake
condition: and(eq( variables['Agent.OS'], 'Windows_NT'), eq(variables['TOOLCHAIN'], 'MSVC'), eq(variables['MODULE'], ''))
displayName: build test with qmake with MSVC w/o extra module
- script: |
$(Build.BinariesDirectory)/Qt/$(QT_VERSION)/$(ARCHDIR)/bin/qmake $(Build.SourcesDirectory)/tests/helloworld
mkdir $(Build.BinariesDirectory)/tests
(cd $(Build.BinariesDirectory)/tests; 7zr x $(Build.SourcesDirectory)/tests/helloworld.7z)
$(Build.BinariesDirectory)/Qt/$(QT_VERSION)/$(ARCHDIR)/bin/qmake $(Build.BinariesDirectory)/tests/helloworld
make
condition: and(eq( variables['TARGET'], 'desktop' ), ne( variables['ARCH'], 'wasm_32' ), or(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OS'], 'Darwin')), eq(variables['MODULE'], ''))
displayName: Build test with qmake for Linux and macOS w/o extra module
# modules
- powershell: |
Import-VisualStudioVars -VisualStudioVersion $(VSVER) -Architecture $(ARCHITECTURE)
$(Build.BinariesDirectory)/Qt/$(QT_VERSION)/$(ARCHDIR)/bin/qmake $(Build.SourcesDirectory)/tests/redditclient
mkdir $(Build.BinariesDirectory)/tests
cd $(Build.BinariesDirectory)/tests
7z x $(Build.SourcesDirectory)/tests/redditclient.7z
cd ..
$(Build.BinariesDirectory)/Qt/$(QT_VERSION)/$(ARCHDIR)/bin/qmake $(Build.BinariesDirectory)/tests/redditclient
nmake
condition: and(eq( variables['Agent.OS'], 'Windows_NT'), eq(variables['TOOLCHAIN'], 'MSVC'), ne(variables['MODULE'], ''))
displayName: build test with qmake with MSVC with extra module
- script: |
$(Build.BinariesDirectory)/Qt/$(QT_VERSION)/$(ARCHDIR)/bin/qmake $(Build.SourcesDirectory)/tests/redditclient
mkdir $(Build.BinariesDirectory)/tests
(cd $(Build.BinariesDirectory)/tests; 7zr x $(Build.SourcesDirectory)/tests/redditclient.7z)
$(Build.BinariesDirectory)/Qt/$(QT_VERSION)/$(ARCHDIR)/bin/qmake $(Build.BinariesDirectory)/tests/redditclient
make
condition: and(eq( variables['TARGET'], 'desktop' ), or(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OS'], 'Darwin')), ne(variables['MODULE'], ''))
displayName: Build test with qmake for Linux and macOS with extra module
Expand Down Expand Up @@ -159,7 +173,9 @@ steps:
displayName: 'Install Emscripten SDK'
- script: |
source $(Build.BinariesDirectory)/emsdk/emsdk_env.sh
$(Build.BinariesDirectory)/Qt/$(QT_VERSION)/$(ARCHDIR)/bin/qmake $(Build.SourcesDirectory)/tests/openglwindow && make
mkdir $(Build.BinariesDirectory)/tests
(cd $(Build.BinariesDirectory/tests; 7zr x $(Build.SourcesDirectory)/tests/openglwindow.7z)
$(Build.BinariesDirectory)/Qt/$(QT_VERSION)/$(ARCHDIR)/bin/qmake $(Build.BinariesDirectory)/tests/openglwindow && make
workingDirectory: $(Build.BinariesDirectory)
condition: and(eq( variables['ARCH'], 'wasm_32' ), or(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OS'], 'Darwin')))
displayName: 'Build WebAssembler sample project'
Binary file added tests/accelbubble.7z
Binary file not shown.
10 changes: 0 additions & 10 deletions tests/accelbubble/Bluebubble.svg

This file was deleted.

60 changes: 0 additions & 60 deletions tests/accelbubble/Bubble.qml

This file was deleted.

74 changes: 0 additions & 74 deletions tests/accelbubble/Page1Form.ui.qml

This file was deleted.

67 changes: 0 additions & 67 deletions tests/accelbubble/Page2Form.ui.qml

This file was deleted.

37 changes: 0 additions & 37 deletions tests/accelbubble/accelbubble.pro

This file was deleted.

66 changes: 0 additions & 66 deletions tests/accelbubble/main.cpp

This file was deleted.

Loading

0 comments on commit d6805d4

Please sign in to comment.