Skip to content

NV-Build-And-Test

NV-Build-And-Test #21

name: NV-Build-And-Test
on:
schedule:
- cron: '0 21 * * *'
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
nv-build-and-test:
runs-on: nv-jiuding
if: ${{ github.repository == 'FlagTree/flagtree' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: FlagTree Build on NVIDIA-A100
shell: bash
run: |
source ~/env.sh
cd python
MAX_JOBS=20 pip3.11 install . --no-build-isolation
- name: FlagTree Test on NVIDIA-A100
shell: bash
run: |
pytest -s python/test/unit