diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-04-04 22:42:16 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-04-05 22:54:29 +0300 |
commit | c7326aa098ca3dcebde45d90d956cbfae03709fd (patch) | |
tree | 9c2072b096c07488b79df147c069f925e4b68e7e /.github | |
parent | 7896d945ff910ca90ab6a662256ecdcbc72623f5 (diff) | |
download | meson-c7326aa098ca3dcebde45d90d956cbfae03709fd.zip meson-c7326aa098ca3dcebde45d90d956cbfae03709fd.tar.gz meson-c7326aa098ca3dcebde45d90d956cbfae03709fd.tar.bz2 |
ci: Added cuda image (Arch Linux based)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/images.yml | 1 | ||||
-rw-r--r-- | .github/workflows/os_comp.yml | 12 |
2 files changed, 8 insertions, 5 deletions
diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml index efe5d93..bde2223 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -28,6 +28,7 @@ jobs: matrix: cfg: - { name: Arch Linux, id: arch } + - { name: CUDA (on Arch), id: cuda } - { name: Fedora, id: fedora } - { name: OpenSUSE, id: opensuse } - { name: Ubuntu Eoan, id: eoan } diff --git a/.github/workflows/os_comp.yml b/.github/workflows/os_comp.yml index a0877fd..f31bf5d 100644 --- a/.github/workflows/os_comp.yml +++ b/.github/workflows/os_comp.yml @@ -35,13 +35,15 @@ jobs: fail-fast: false matrix: cfg: - - { name: Arch Linux, id: arch } - - { name: Fedora, id: fedora } - - { name: OpenSUSE, id: opensuse } + - { name: Arch Linux, id: arch } + - { name: CUDA (on Arch), id: cuda } + - { name: Fedora, id: fedora } + - { name: OpenSUSE, id: opensuse } container: mesonbuild/${{ matrix.cfg.id }}:latest steps: - uses: actions/checkout@v1 - name: Run tests # All environment variables are stored inside the docker image in /ci/env_vars.sh - # They are defined in the `env` section in each image.json - run: bash -c "source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./run_tests.py" + # They are defined in the `env` section in each image.json. CI_ARGS should be set + # via the `args` array ub the image.json + run: bash -c "source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./run_tests.py $CI_ARGS" |