summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMaxandre Ogeret <22786578+MaxandreOgeret@users.noreply.github.com>2025-05-18 17:22:48 +0000
committerEli Schwartz <eschwartz93@gmail.com>2025-05-29 14:30:34 -0400
commit7d567901de40a6a0e837dc49de9662998df46424 (patch)
tree4e74b5a96f8c1b00aafe3ebc32846f4a7cd096ad /.github/workflows
parent606ccedddc9c0284d0b0c3f3947ea1ee77a972c5 (diff)
downloadmeson-7d567901de40a6a0e837dc49de9662998df46424.tar.gz
cuda: add cross-cuda test
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/images.yml15
-rw-r--r--.github/workflows/nonnative.yml9
2 files changed, 17 insertions, 7 deletions
diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml
index d20f7e5ce..369c91e2d 100644
--- a/.github/workflows/images.yml
+++ b/.github/workflows/images.yml
@@ -37,13 +37,14 @@ jobs:
fail-fast: false
matrix:
cfg:
- - { name: Arch Linux, id: arch }
- - { name: CUDA (on Arch), id: cuda }
- - { name: Fedora, id: fedora }
- - { name: Gentoo, id: gentoo }
- - { name: OpenSUSE, id: opensuse }
- - { name: Ubuntu Bionic, id: bionic }
- - { name: Ubuntu Rolling, id: ubuntu-rolling }
+ - { name: Arch Linux, id: arch }
+ - { name: CUDA (on Arch), id: cuda }
+ - { name: CUDA Cross (on Ubuntu Jammy), id: cuda-cross }
+ - { name: Fedora, id: fedora }
+ - { name: Gentoo, id: gentoo }
+ - { name: OpenSUSE, id: opensuse }
+ - { name: Ubuntu Bionic, id: bionic }
+ - { name: Ubuntu Rolling, id: ubuntu-rolling }
steps:
# Need v3 because of bionic
- uses: actions/checkout@v3
diff --git a/.github/workflows/nonnative.yml b/.github/workflows/nonnative.yml
index 2712d1032..e6fce04b1 100644
--- a/.github/workflows/nonnative.yml
+++ b/.github/workflows/nonnative.yml
@@ -51,3 +51,12 @@ jobs:
name: "Ubuntu nonnative"
fail_ci_if_error: false
verbose: true
+
+ cross-cuda:
+ runs-on: ubuntu-latest
+ container: mesonbuild/cuda-cross:latest
+ env:
+ MESON_CI_JOBNAME: cuda-cross-${{ github.job }}
+ steps:
+ - name: Run tests
+ run: bash -c 'source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./run_tests.py $CI_ARGS --cross cuda-cross.json --cross-only'