From e86f7e7706974ded167ac70642db033fc12e58b8 Mon Sep 17 00:00:00 2001 From: Anton Smirnov Date: Thu, 1 May 2025 01:07:08 +0300 Subject: [PATCH] Add ci --- .github/workflows/CI.yaml | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/CI.yaml diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml new file mode 100644 index 000000000..a058bbf13 --- /dev/null +++ b/.github/workflows/CI.yaml @@ -0,0 +1,42 @@ +name: CI-MI300X + +on: + pull_request: + branches: + - master + push: + branches: + - master + tags: '*' + +# needed for julia-actions/cache to delete old caches +permissions: + actions: write + contents: read + +jobs: + test: + name: Julia 1.12 MI300X + runs-on: linux-mi300-gpu-2 + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 + with: + version: '1.12' + arch: x64 + - uses: julia-actions/cache@v2 + env: + cache-name: cache-artifacts + with: + path: ~/.julia/artifacts + key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} + restore-keys: | + ${{ runner.os }}-test-${{ env.cache-name }}- + ${{ runner.os }}-test- + ${{ runner.os }}- + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v5 + with: + files: lcov.info