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+ with :
15+ submodules : recursive
16+ - run : |
17+ MYDIR="$PWD"
18+ wget https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/llvm-15.0.7.src.tar.xz
19+ tar xJf llvm-15.0.7.src.tar.xz
20+ wget https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.0-rc1/cmake-15.0.0rc1.src.tar.xz
21+ tar xJf cmake-15.0.0rc1.src.tar.xz
22+ cp -v cmake-15.0.0rc1.src/Modules/* llvm-15.0.7.src/cmake/modules/
23+ pushd llvm-15.0.7.src
24+ mkdir -p "$MYDIR/llvm-install"
25+ mkdir build; cd build
26+ cmake .. -DCMAKE_INSTALL_PREFIX="$MYDIR/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' -DLLVM_ENABLE_PROJECTS=''
27+ cmake --build .
28+ cmake --build . --target install
29+ popd
30+ - uses : haskell-actions/setup@v2
31+ with :
32+ ghc-version : ' 9.4'
33+ - run : |
34+ export PATH="llvm-install/bin/:$PATH"
35+ cabal build
36+ cp `cabal exec which remotesom` remotesom-${{ github.ref }}
37+ xz -9 < remotesom-${{ github.ref }} > remotesom-${{ github.ref }}.xz
38+ - uses : softprops/action-gh-release@v2
39+ with :
40+ files : remotesom-${{ github.ref }}.xz
You can’t perform that action at this time.
0 commit comments