diff --git a/.github/workflows/tpp-mlir.yml b/.github/workflows/tpp-mlir.yml new file mode 100644 index 000000000..140319f86 --- /dev/null +++ b/.github/workflows/tpp-mlir.yml @@ -0,0 +1,38 @@ +name: Basic TPP-MLIR Builder + +# For now, we do it manually, but this will need to be on commit +on: + workflow_dispatch: + push: + branches: [ "ghactions" ] + pull_request: + branches: [ "ghactions" ] + +jobs: + runs-on: self-hosted + Check_LLVM: + run: "BUILD=1 scripts/buildkite/check_llvm.sh" + + TPP-MLIR-gcc-rel: + needs: Check_LLVM + run: "${SRUN} --partition=spr-all --time=0:30:00 -- \ + 'KIND=Release COMPILER=gcc CHECK=1 ONEDNN=1 \ + scripts/buildkite/build_tpp.sh'" + + TPP-MLIR-gcc-deb: + needs: Check_LLVM + run: "${SRUN} --partition=spr-all --time=0:30:00 -- \ + 'KIND=Debug COMPILER=gcc CHECK=1 ONEDNN=1 \ + scripts/buildkite/build_tpp.sh'" + + TPP-MLIR-clang-rel: + needs: Check_LLVM + run: "${SRUN} --partition=spr-all --time=0:30:00 -- \ + 'KIND=Release COMPILER=clang LINKER=lld CHECK=1 ONEDNN=1 \ + scripts/buildkite/build_tpp.sh'" + + - label: "TPP-MLIR-clang-deb" + needs: Check_LLVM + command: "${SRUN} --partition=spr-all --time=0:30:00 -- \ + 'KIND=Debug COMPILER=clang LINKER=lld SANITIZERS=1 CHECK=1 ONEDNN=1 \ + scripts/buildkite/build_tpp.sh'"