Skip to content

Commit

Permalink
Continue to migrate CI to GHA.
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliu committed Jun 8, 2024
1 parent e63fd6e commit ed3effd
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 12 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/cuda-int-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: cuda-int-tests
on: [push]
jobs:
build:
runs-on: rtx6000-4x
steps:
- uses: actions/checkout@v2
- name: configure & build
run: |
cd lib && ./configure --enable-sm80 && cd ..
make -j 32 -C test/int/nnc
- name: integration tests
run: |
make -C test/int/nnc test
18 changes: 18 additions & 0 deletions .github/workflows/undef-unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: undef-unit-tests
on: [push]
jobs:
build:
runs-on: rtx6000-4x
steps:
- uses: actions/checkout@v2
- name: configure & build
run: |
cd lib && ./configure --enable-sm80 && cd ..
make -j 32 -C lib undef
make -j 32 -C bin undef
make -j 32 -C bin/nnc undef
make -j 32 -C bin/cuda undef
make -j 32 -C test undef
- name: tests
run: |
make -C test test
23 changes: 11 additions & 12 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
Build Status
------------

- GitHub Action: |Build Status on GitHub Ubuntu| |Build Status on GitHub macOS|
- Linux x64: |Build Status on Linux|
- GitHub-Hosted: |Build Status on GitHub Ubuntu| |Build Status on GitHub macOS|
- 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|
- Jetson Nano: |Build Status on Jetson Nano|
- AGX Xavier: |Build Status on AGX Xavier|

Backstory
---------
Expand Down Expand Up @@ -45,11 +44,11 @@ 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:: http://ci.libccv.org/png?builder=linux-x64-runtests
:target: http://ci.libccv.org/builders/linux-x64-runtests
.. |Build Status on Raspberry Pi 4| image:: http://ci.libccv.org/png?builder=rpi-arm-runtests
:target: http://ci.libccv.org/builders/rpi-arm-runtests
.. |Build Status on Jetson Nano| image:: http://ci.libccv.org/png?builder=jetson-nano-arm-runtests
:target: http://ci.libccv.org/builders/jetson-nano-arm-runtests
.. |Build Status on AGX Xavier| image:: http://ci.libccv.org/png?builder=agx-xavier-arm-runtests
:target: http://ci.libccv.org/builders/agx-xavier-arm-runtests
.. |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 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

0 comments on commit ed3effd

Please sign in to comment.