File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Builds
22
3- defaults :
4- run :
5- shell : bash
6-
73on :
84 release :
95 types : [created]
1511 build :
1612 runs-on : ${{ matrix.os }}
1713 container : ${{ (matrix.os == 'ubuntu-18.04' && 'alpine:3.12') || '' }}
14+ defaults :
15+ run :
16+ shell : ${{ (matrix.os == 'windows-latest' && 'bash') || 'sh' }}
1817 strategy :
1918 fail-fast : false
2019 matrix :
4645 - name : Use modified cabal.project for ghc9
4746 if : ${{ matrix.ghc == '9.0.1' }}
4847 run : cp cabal-ghc901.project cabal.project
49- shell : bash
5048
5149 - name : Shorten binary names
5250 run : |
5553 haskell-language-server.cabal cabal.project
5654 sed -i.bak -e 's/Paths_haskell_language_server/Paths_hls/g' \
5755 src/**/*.hs exe/*.hs
58- shell : bash
5956
6057 - name : Set some window specific things
6158 if : matrix.os == 'windows-latest'
6461 run : |
6562 echo "EXE_EXT=.exe" >> $GITHUB_ENV
6663 echo "GHC_VERSION=$GHC_VER" >> $GITHUB_ENV
67- shell : bash
6864
6965 - name : Set some linux specific things
7066 if : matrix.os == 'ubuntu-18.04'
9591
9692 - name : Compress server binary
9793 id : compress_server_binary
98- shell : bash
9994 run : |
10095 HLS_BUILD=$(find dist-newstyle \( -name 'hls' -o -name 'hls.exe' \) -type f)
10196 HLS=haskell-language-server-${{env.GHC_VERSION}}
You can’t perform that action at this time.
0 commit comments