-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (37 loc) · 1.2 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Test
concurrency:
group: test-on-${{ github.event_name }}-from-${{ github.ref_name }}
cancel-in-progress: true
on:
pull_request_target:
jobs:
build:
permissions: read-all
runs-on: ubuntu-latest
container:
options: -u root
image: pauletaylor/devcontainers:23.06-cpp-cuda11.8-mambaforge-ubuntu22.04
env:
JOBS: 1
CMAKE_BUILD_PARALLEL_LEVEL: 1
PYTHONDONTWRITEBYTECODE: 1
DEFAULT_CONDA_ENV: legate
SCCACHE_REGION: us-east-2
SCCACHE_BUCKET: rapids-sccache-devs
SCCACHE_S3_KEY_PREFIX: legate-cunumeric-dev
VAULT_HOST: https://vault.ops.k8s.rapids.ai
GH_TOKEN: "${{ secrets.PERSONAL_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}"
GITHUB_TOKEN: "${{ secrets.PERSONAL_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}"
steps:
- name: Clone
uses: actions/checkout@v3
with:
path: repo
persist-credentials: false
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup
shell: bash --noprofile --norc -eo pipefail {0}
run: ./repo/.github/scripts/setup.sh
- name: Build
shell: su coder {0}
run: ./repo/.github/scripts/build.sh