PR to execute testcase on pipeline #117
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker build | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
lfs: true | |
- name: Install Vulkan SDK | |
uses: jakoch/[email protected] | |
with: | |
vulkan_version: 1.3.268.0 | |
optional_components: com.lunarg.vulkan.vma | |
install_runtime: true | |
cache: true | |
destination: ${{ github.workspace }}/vulkan-sdt | |
- name: Build Docker image | |
run: docker build -t lods --build-arg VULKAN_DLL_PATH=./vulkan-sdt/1.3.268.0/runtime/x64/vulkan-1.dll . | |
- name: Execute test case | tmp | |
run: | | |
docker run -d -e HTTP_SERVER_PORT=8080 -e HTTP_SERVER_HOST=0.0.0.0 lods > container_id.txt | |
sleep 180 | |
docker logs $(cat container_id.txt) |