Skip to content

Commit

Permalink
consolidated yamls
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrofin authored and ondrasej committed Oct 13, 2023
1 parent ade30f0 commit 9c1ca08
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 36 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,38 @@ jobs:
- uses: thompsonja/[email protected]
with:
buildifier_version: v6.1.2
check-cmake-projects:
name: Check CMake-based projects
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hendrikmuhs/[email protected]
- uses: ConorMacBride/[email protected]
with:
apt: cmake ninja-build libpthreadpool-dev
- name: Get LLVM
run: git clone --depth 1 https://github.com/llvm/llvm-project.git /tmp/llvm-project
- name: Set up TFLite
run: |
mkdir /tmp/tflite
cd /tmp/tflite
export CMAKE_CXX_COMPILER_LAUNCHER=ccache
export CMAKE_C_COMPILER_LAUNCHER=ccache
curl https://raw.githubusercontent.com/google/ml-compiler-opt/main/buildbot/build_tflite.sh | bash
- name: cmake setup
run: |
mkdir /tmp/cmake-build
cd /tmp/cmake-build
cmake -GNinja -DCMAKE_BUILD_TYPE=Release \
-DLLVM_TARGETS_TO_BUILD=Native \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-C /tmp/tflite/tflite.cmake \
/tmp/llvm-project/llvm \
-DLLVM_EXTERNAL_PROJECTS=gematria \
-DLLVM_EXTERNAL_GEMATRIA_SOURCE_DIR=${{ github.workspace }}
- name: build
run: |
cd /tmp/cmake-build
ninja llvm-granite llvm-cm
36 changes: 0 additions & 36 deletions .github/workflows/main.yml

This file was deleted.

0 comments on commit 9c1ca08

Please sign in to comment.