Skip to content

Commit

Permalink
test:add test case
Browse files Browse the repository at this point in the history
Signed-off-by: xiaoming <[email protected]>
  • Loading branch information
QQxiaoming committed Aug 14, 2023
1 parent 63ce3de commit a78b640
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/test_archlinux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: test_archlinux

on:
push:
branches: [ test_archlinux ]
paths-ignore:
- 'doc/**'
- 'README.md'
- 'README_zh_CN.md'
- 'DEVELOPNOTE.md'
- '.readthedocs.yaml'
pull_request:
branches: [ test_archlinux ]
paths-ignore:
- 'doc/**'
- 'README.md'
- 'README_zh_CN.md'
- 'DEVELOPNOTE.md'
- '.readthedocs.yaml'
workflow_dispatch:

jobs:
ubuntu-2004:
runs-on: ubuntu-20.04

steps:
- name: build_docker_image
shell: bash -l {0}
run: |
docker pull testcab/yay
- uses: addnab/docker-run-action@v3
with:
image: m0rf30/arch-yay:latest
run: |
yay -Syu --noconfirm yuvviewer-bin
echo "test ldd yuvviewer E"
ldd /opt/YUVviewer/YUVviewer
echo "test ldd yuvviewer X"
echo ".................................................."
echo "test run yuvviewer E"
/opt/YUVviewer/YUVviewer --version
echo "test run yuvviewer X"

0 comments on commit a78b640

Please sign in to comment.