Skip to content

Commit

Permalink
Update workflow to move files to correct path.
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliu committed Jun 10, 2024
1 parent dcde359 commit a0b4bc6
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 17 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/analyze.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
name: analyze
on: [push]
on:
push:
branches:
- unstable
jobs:
build:
runs-on: rtx6000-4x
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: configure
run: |
cd lib && ./configure --enable-sm80 --disable-openmp && cd ..
- name: analyze
run: |
cd lib && scan-build -o ../_analyze --use-cc clang make
cd lib && scan-build -o ../_analyze --use-cc clang make -j 32
- name: upload report
run: |
cd _analyze
FILE=$(ls)
mv $FILE /var/public_html/analyze/$FILE
mv $FILE /var/www/public_html/analyze/$FILE
echo "View [$FILE](https://ci.libccv.org/analyze/$FILE)" >> $GITHUB_STEP_SUMMARY
12 changes: 9 additions & 3 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: coverage
on: [push]
on:
push:
branches:
- unstable
jobs:
build:
runs-on: rtx6000-4x
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: configure & build
run: |
cd lib && ./configure --enable-sm80 && cd ..
Expand All @@ -19,5 +24,6 @@ jobs:
run: |
cd _coverage
FILE=$(ls)
mv $FILE /var/public_html/coverage/$FILE
chmod -R go+r $FILE
mv $FILE /var/www/public_html/coverage/$FILE
echo "View [$FILE](https://ci.libccv.org/coverage/$FILE)" >> $GITHUB_STEP_SUMMARY
9 changes: 7 additions & 2 deletions .github/workflows/cuda-int-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: cuda-int-tests
on: [push]
on:
push:
branches:
- unstable
jobs:
build:
runs-on: rtx6000-4x
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: configure & build
run: |
cd lib && ./configure --enable-sm80 && cd ..
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/macos-arm-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ jobs:
build:
runs-on: mac-mini-m2
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: configure & build
run: |
cd lib && ./configure --enable-mps && cd ..
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/macos-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install libjpeg and libpng
run: |
brew install libjpeg libpng
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/raspberrypi-4-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ jobs:
build:
runs-on: raspberrypi-4
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: configure & build
run: |
cd lib && ./configure --enable-neon --with-arch=armv7 && cd ..
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ubsan-unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: ubsan-unit-tests
on: [push]
on:
push:
branches:
- unstable
jobs:
build:
runs-on: rtx6000-4x
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: configure & build
run: |
cd lib && ./configure --enable-sm80 && cd ..
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ubuntu-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: sudo apt -y install libpng-dev libjpeg-dev libatlas-base-dev libblas-dev libgsl-dev clang
- run: |
cd lib && ./configure --disable-openmp && cd ..
Expand Down
10 changes: 8 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Build Status
- Linux x64: |Build Status on Linux| |Build Status on Linux CUDA|
- Mac ARM64: |Build Status on Mac ARM64|
- Raspberry Pi 4: |Build Status on Raspberry Pi 4|
- Clang Analyzer: |Analyze Run|
- Test Coverage: |Coverage Run|

Backstory
---------
Expand Down Expand Up @@ -44,11 +46,15 @@ ccv's data models and documentations are distributed under Creative Commons Attr
:target: https://github.com/liuliu/ccv/actions/workflows/ubuntu-unit-tests.yaml?query=branch%3Aunstable
.. |Build Status on GitHub macOS| image:: https://github.com/liuliu/ccv/actions/workflows/macos-unit-tests.yaml/badge.svg?branch=unstable
:target: https://github.com/liuliu/ccv/actions/workflows/macos-unit-tests.yaml?query=branch%3Aunstable
.. |Build Status on Linux| image:: https://github.com/liuliu/ccv/actions/workflows/undef-unit-tests.yaml/badge.svg?branch=unstable
:target: https://github.com/liuliu/ccv/actions/workflows/undef-unit-tests.yaml?query=branch%3Aunstable
.. |Build Status on Linux| image:: https://github.com/liuliu/ccv/actions/workflows/ubsan-unit-tests.yaml/badge.svg?branch=unstable
:target: https://github.com/liuliu/ccv/actions/workflows/ubsan-unit-tests.yaml?query=branch%3Aunstable
.. |Build Status on Linux CUDA| image:: https://github.com/liuliu/ccv/actions/workflows/cuda-int-tests.yaml/badge.svg?branch=unstable
:target: https://github.com/liuliu/ccv/actions/workflows/cuda-int-tests.yaml?query=branch%3Aunstable
.. |Build Status on Mac ARM64| image:: https://github.com/liuliu/ccv/actions/workflows/macos-arm-unit-tests.yaml/badge.svg?branch=unstable
:target: https://github.com/liuliu/ccv/actions/workflows/macos-arm-unit-tests.yaml?query=branch%3Aunstable
.. |Build Status on Raspberry Pi 4| image:: https://github.com/liuliu/ccv/actions/workflows/raspberrypi-4-unit-tests.yaml/badge.svg?branch=unstable
:target: https://github.com/liuliu/ccv/actions/workflows/raspberrypi-4-unit-tests.yaml?query=branch%3Aunstable
.. |Analyze Run| image:: https://github.com/liuliu/ccv/actions/workflows/analyze.yaml/badge.svg?branch=unstable
:target: https://github.com/liuliu/ccv/actions/workflows/analyze.yaml?query=branch%3Aunstable
.. |Coverage Run| image:: https://github.com/liuliu/ccv/actions/workflows/coverage.yaml/badge.svg?branch=unstable
:target: https://github.com/liuliu/ccv/actions/workflows/coverage.yaml?query=branch%3Aunstable

0 comments on commit a0b4bc6

Please sign in to comment.