Skip to content

Commit a0b4bc6

Browse files
committed
Update workflow to move files to correct path.
1 parent dcde359 commit a0b4bc6

File tree

9 files changed

+52
-17
lines changed

9 files changed

+52
-17
lines changed

.github/workflows/analyze.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
name: analyze
2-
on: [push]
2+
on:
3+
push:
4+
branches:
5+
- unstable
36
jobs:
47
build:
58
runs-on: rtx6000-4x
69
steps:
7-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0
813
- name: configure
914
run: |
1015
cd lib && ./configure --enable-sm80 --disable-openmp && cd ..
1116
- name: analyze
1217
run: |
13-
cd lib && scan-build -o ../_analyze --use-cc clang make
18+
cd lib && scan-build -o ../_analyze --use-cc clang make -j 32
1419
- name: upload report
1520
run: |
1621
cd _analyze
1722
FILE=$(ls)
18-
mv $FILE /var/public_html/analyze/$FILE
23+
mv $FILE /var/www/public_html/analyze/$FILE
1924
echo "View [$FILE](https://ci.libccv.org/analyze/$FILE)" >> $GITHUB_STEP_SUMMARY

.github/workflows/coverage.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
name: coverage
2-
on: [push]
2+
on:
3+
push:
4+
branches:
5+
- unstable
36
jobs:
47
build:
58
runs-on: rtx6000-4x
69
steps:
7-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0
813
- name: configure & build
914
run: |
1015
cd lib && ./configure --enable-sm80 && cd ..
@@ -19,5 +24,6 @@ jobs:
1924
run: |
2025
cd _coverage
2126
FILE=$(ls)
22-
mv $FILE /var/public_html/coverage/$FILE
27+
chmod -R go+r $FILE
28+
mv $FILE /var/www/public_html/coverage/$FILE
2329
echo "View [$FILE](https://ci.libccv.org/coverage/$FILE)" >> $GITHUB_STEP_SUMMARY

.github/workflows/cuda-int-tests.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
name: cuda-int-tests
2-
on: [push]
2+
on:
3+
push:
4+
branches:
5+
- unstable
36
jobs:
47
build:
58
runs-on: rtx6000-4x
69
steps:
7-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0
813
- name: configure & build
914
run: |
1015
cd lib && ./configure --enable-sm80 && cd ..

.github/workflows/macos-arm-unit-tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ jobs:
44
build:
55
runs-on: mac-mini-m2
66
steps:
7-
- uses: actions/checkout@v2
7+
- uses: actions/checkout@v4
8+
with:
9+
fetch-depth: 0
810
- name: configure & build
911
run: |
1012
cd lib && ./configure --enable-mps && cd ..

.github/workflows/macos-unit-tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ jobs:
44
build:
55
runs-on: macos-latest
66
steps:
7-
- uses: actions/checkout@v2
7+
- uses: actions/checkout@v4
8+
with:
9+
fetch-depth: 0
810
- name: Install libjpeg and libpng
911
run: |
1012
brew install libjpeg libpng

.github/workflows/raspberrypi-4-unit-tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ jobs:
44
build:
55
runs-on: raspberrypi-4
66
steps:
7-
- uses: actions/checkout@v2
7+
- uses: actions/checkout@v4
8+
with:
9+
fetch-depth: 0
810
- name: configure & build
911
run: |
1012
cd lib && ./configure --enable-neon --with-arch=armv7 && cd ..

.github/workflows/ubsan-unit-tests.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
name: ubsan-unit-tests
2-
on: [push]
2+
on:
3+
push:
4+
branches:
5+
- unstable
36
jobs:
47
build:
58
runs-on: rtx6000-4x
69
steps:
7-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0
813
- name: configure & build
914
run: |
1015
cd lib && ./configure --enable-sm80 && cd ..

.github/workflows/ubuntu-unit-tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ jobs:
44
build:
55
runs-on: ubuntu-20.04
66
steps:
7-
- uses: actions/checkout@v2
7+
- uses: actions/checkout@v4
8+
with:
9+
fetch-depth: 0
810
- run: sudo apt -y install libpng-dev libjpeg-dev libatlas-base-dev libblas-dev libgsl-dev clang
911
- run: |
1012
cd lib && ./configure --disable-openmp && cd ..

README.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Build Status
55
- Linux x64: |Build Status on Linux| |Build Status on Linux CUDA|
66
- Mac ARM64: |Build Status on Mac ARM64|
77
- Raspberry Pi 4: |Build Status on Raspberry Pi 4|
8+
- Clang Analyzer: |Analyze Run|
9+
- Test Coverage: |Coverage Run|
810

911
Backstory
1012
---------
@@ -44,11 +46,15 @@ ccv's data models and documentations are distributed under Creative Commons Attr
4446
:target: https://github.com/liuliu/ccv/actions/workflows/ubuntu-unit-tests.yaml?query=branch%3Aunstable
4547
.. |Build Status on GitHub macOS| image:: https://github.com/liuliu/ccv/actions/workflows/macos-unit-tests.yaml/badge.svg?branch=unstable
4648
:target: https://github.com/liuliu/ccv/actions/workflows/macos-unit-tests.yaml?query=branch%3Aunstable
47-
.. |Build Status on Linux| image:: https://github.com/liuliu/ccv/actions/workflows/undef-unit-tests.yaml/badge.svg?branch=unstable
48-
:target: https://github.com/liuliu/ccv/actions/workflows/undef-unit-tests.yaml?query=branch%3Aunstable
49+
.. |Build Status on Linux| image:: https://github.com/liuliu/ccv/actions/workflows/ubsan-unit-tests.yaml/badge.svg?branch=unstable
50+
:target: https://github.com/liuliu/ccv/actions/workflows/ubsan-unit-tests.yaml?query=branch%3Aunstable
4951
.. |Build Status on Linux CUDA| image:: https://github.com/liuliu/ccv/actions/workflows/cuda-int-tests.yaml/badge.svg?branch=unstable
5052
:target: https://github.com/liuliu/ccv/actions/workflows/cuda-int-tests.yaml?query=branch%3Aunstable
5153
.. |Build Status on Mac ARM64| image:: https://github.com/liuliu/ccv/actions/workflows/macos-arm-unit-tests.yaml/badge.svg?branch=unstable
5254
:target: https://github.com/liuliu/ccv/actions/workflows/macos-arm-unit-tests.yaml?query=branch%3Aunstable
5355
.. |Build Status on Raspberry Pi 4| image:: https://github.com/liuliu/ccv/actions/workflows/raspberrypi-4-unit-tests.yaml/badge.svg?branch=unstable
5456
:target: https://github.com/liuliu/ccv/actions/workflows/raspberrypi-4-unit-tests.yaml?query=branch%3Aunstable
57+
.. |Analyze Run| image:: https://github.com/liuliu/ccv/actions/workflows/analyze.yaml/badge.svg?branch=unstable
58+
:target: https://github.com/liuliu/ccv/actions/workflows/analyze.yaml?query=branch%3Aunstable
59+
.. |Coverage Run| image:: https://github.com/liuliu/ccv/actions/workflows/coverage.yaml/badge.svg?branch=unstable
60+
:target: https://github.com/liuliu/ccv/actions/workflows/coverage.yaml?query=branch%3Aunstable

0 commit comments

Comments
 (0)