File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+
2+ name : build
3+
4+ on :
5+ push :
6+ tags :
7+ - ' v*'
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - run : |
15+ MYDIR=$PWD
16+ wget https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/llvm-15.0.7.src.tar.xz
17+ tar xJf llvm-15.0.7.src.tar.xz
18+ wget https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.0-rc1/cmake-15.0.0rc1.src.tar.xz
19+ tar xJf cmake-15.0.0rc1.src.tar.xz
20+ cp -v cmake-15.0.0rc1.src/Modules/* llvm-15.0.7.src/cmake/modules/
21+ pushd llvm-15.0.7.src
22+ mkdir build; cd build
23+ cmake .. -DCMAKE_INSTALL_PREFIX=$DIR/llvm-install -DCMAKE_BUILD_TYPE=Release -DLLVM_INCLUDE_BENCHMARKS=OFF -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_TARGETS_TO_BUILD='X86;NVPTX' -DLLVM_ENABLE_PROJECTS=''
24+ cmake --build .
25+ cmake --build . --target install
26+ popd
27+ - uses : haskell-actions/setup@v2
28+ with :
29+ ghc-version : ' 9.4'
30+ - run : |
31+ export PATH="llvm-install/bin/:$PATH"
32+ cabal build
33+ cp `cabal exec which remotesom` remotesom-${{ github.ref }}
34+ xz -9 < remotesom-${{ github.ref }} > remotesom-${{ github.ref }}.xz
35+ - uses : softprops/action-gh-release@v2
36+ with :
37+ files : remotesom-${{ github.ref }}.xz
You can’t perform that action at this time.
0 commit comments