From be41bb63432e3702989d99635de014f9f207eab6 Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Fri, 3 May 2024 14:20:44 -0400 Subject: [PATCH] [CI] Setup Buildkite --- .buildkite/pipeline.yml | 12 ++++++++++++ .cirrus.yml | 2 +- .github/workflows/Breakage.yml | 4 ++-- .github/workflows/CI.yml | 8 ++++---- .github/workflows/Documentation.yml | 2 +- .github/workflows/Formatter.yml | 2 +- test/gpu.jl | 3 +++ 7 files changed, 24 insertions(+), 9 deletions(-) create mode 100644 .buildkite/pipeline.yml create mode 100644 test/gpu.jl diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml new file mode 100644 index 00000000..9109bab7 --- /dev/null +++ b/.buildkite/pipeline.yml @@ -0,0 +1,12 @@ +steps: + - label: "Nvidia GPUs -- CUDA.jl" + plugins: + - JuliaCI/julia#v1: + version: "1.10" + agents: + queue: "juliagpu" + cuda: "*" + command: | + julia --color=yes --project -e 'using Pkg; Pkg.add("CUDA"); Pkg.instantiate(); using CUDA' + julia --color=yes --project -e 'include("test/gpu.jl")' + timeout_in_minutes: 30 diff --git a/.cirrus.yml b/.cirrus.yml index 792aad12..48c3fb18 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -2,7 +2,7 @@ task: matrix: - name: FreeBSD freebsd_instance: - image_family: freebsd-13-1 + image_family: freebsd-13-3 env: matrix: - JULIA_VERSION: 1.6 diff --git a/.github/workflows/Breakage.yml b/.github/workflows/Breakage.yml index faf7872d..60ba39e3 100644 --- a/.github/workflows/Breakage.yml +++ b/.github/workflows/Breakage.yml @@ -27,10 +27,10 @@ jobs: pkgversion: [latest, stable] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Install Julia - - uses: julia-actions/setup-julia@v1 + - uses: julia-actions/setup-julia@v2 with: version: 1 arch: x64 diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 01b2dcf0..10f060b4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -18,8 +18,8 @@ jobs: arch: - x64 steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} @@ -43,8 +43,8 @@ jobs: name: Documentation runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: '1' - run: | diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index be0b8658..44212f6b 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -10,7 +10,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@latest with: version: '1' diff --git a/.github/workflows/Formatter.yml b/.github/workflows/Formatter.yml index 91856024..236131ef 100644 --- a/.github/workflows/Formatter.yml +++ b/.github/workflows/Formatter.yml @@ -10,7 +10,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install JuliaFormatter and format run: | julia -e 'import Pkg; Pkg.add("JuliaFormatter")' diff --git a/test/gpu.jl b/test/gpu.jl new file mode 100644 index 00000000..892808bf --- /dev/null +++ b/test/gpu.jl @@ -0,0 +1,3 @@ +using CUDA, Test + +@test CUDA.functional()