test more builds
This commit is contained in:
		
							parent
							
								
									8f9677e40f
								
							
						
					
					
						commit
						4499144a4d
					
				
							
								
								
									
										25
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										25
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -8,17 +8,26 @@ on: | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|   build: |   build: | ||||||
|     runs-on: ubuntu-latest |     name: Build ${{ github.ref_name }} OS:${{ matrix.os }} GHC:${{ matrix.ghc }} | ||||||
|  |     runs-on: ${{ matrix.os }} | ||||||
|  |     strategy: | ||||||
|  |       matrix: | ||||||
|  |         os: [ubuntu-22.04, macos-15] | ||||||
|  |         ghc: | ||||||
|  |           - "9.6" | ||||||
|  |           - "9.12" | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v4 |       - uses: actions/checkout@v4 | ||||||
|         with: |  | ||||||
|           submodules: recursive |  | ||||||
|       - uses: haskell-actions/setup@v2 |       - uses: haskell-actions/setup@v2 | ||||||
|         with: |         with: | ||||||
|           ghc-version: '9.4' |           ghc-version: ${{ matrix.ghc }} | ||||||
|       - run: | |       - name: build | ||||||
|           cabal build |         run: | | ||||||
|           xz -9 < `cabal exec which werge` > werge-${{ github.ref_name }}-`uname -m`.xz |           mkdir dist | ||||||
|  |           cabal install exe:werge --install-method=copy --overwrite-policy=always --installdir=dist | ||||||
|  |           strip dist/werge | ||||||
|  |           mv dist/werge dist/werge-${{ github.ref_name }}_${{ matrix.os }}_ghc-${{ matrix.ghc }} | ||||||
|  |           xz dist/werge-* | ||||||
|       - uses: softprops/action-gh-release@v2 |       - uses: softprops/action-gh-release@v2 | ||||||
|         with: |         with: | ||||||
|           files: werge-*.xz |           files: dist/werge-*.xz | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| cabal-version:   3.0 | cabal-version:   3.0 | ||||||
| name:            werge | name:            werge | ||||||
| version:         0.1.0.0 | version:         0.2.0.0 | ||||||
| synopsis:        mergetool for mangled-up bite-size changes | synopsis:        mergetool for mangled-up bite-size changes | ||||||
| license:         GPL-3.0-or-later | license:         GPL-3.0-or-later | ||||||
| license-file:    LICENSE | license-file:    LICENSE | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Mirek Kratochvil
						Mirek Kratochvil