Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions .github/workflows/listener-build-linux.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: build-listener-linux

on:
push:
tags:
- "*.*.*"
on: [push, pull_request]

jobs:
build:
Expand All @@ -26,8 +23,7 @@ jobs:
cabal-version: ${{ matrix.cabal }}

- name: Freeze
run: |
cabal freeze
run: cabal freeze

- name: Cache ~/.cabal/packages, ~/.cabal/store and dist-newstyle
uses: actions/cache@v2
Expand Down Expand Up @@ -120,7 +116,18 @@ jobs:
cd tidal-listener/
tar cvfj binary.tar binary/*

- name: release
uses: softprops/action-gh-release@v1
- uses: actions/upload-artifact@v2
with:
path: tidal-listener/binary.tar

release:
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v2
- run: ls */*

- uses: softprops/action-gh-release@v1
with:
files: tidal-listener/binary.tar
files: artifact/binary.tar
26 changes: 17 additions & 9 deletions .github/workflows/listener-build-macosx.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: build-listener-macosx

on:
push:
tags:
- "*.*.*"
on: [push, pull_request]

jobs:
build:
Expand Down Expand Up @@ -88,7 +85,7 @@ jobs:
cd tidal-listener/binary/haskell-libs/ghc-packages
rm -r ghc-${{ matrix.ghc }}
rm -r Cabal-*
rm -R rts
rm -r rts

- name: fake gcc
run: |
Expand All @@ -106,9 +103,20 @@ jobs:
- name: zip files
run: |
cd tidal-listener/
tar cvfj macOS.tar binary/*
tar cvfj macosx.tar binary/*

- name: Release
uses: softprops/action-gh-release@v1
- uses: actions/upload-artifact@v2
with:
files: tidal-listener/macOS.tar
path: tidal-listener/macosx.tar

release:
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v2
- run: ls */*

- uses: softprops/action-gh-release@v1
with:
files: artifact/macosx.tar
23 changes: 15 additions & 8 deletions .github/workflows/listener-build-windows.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: build-listener-windows

on:
push:
tags:
- "*.*.*"
on: [push, pull_request]

jobs:
build:
Expand Down Expand Up @@ -87,8 +84,18 @@ jobs:
- name: zip files
run: Compress-Archive -LiteralPath 'tidal-listener\binary\' -DestinationPath 'tidal-listener\windows.zip'

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
- uses: actions/upload-artifact@v2
with:
files: 'tidal-listener\windows.zip'
path: tidal-listener\windows.zip

release:
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v2
- run: ls */*

- uses: softprops/action-gh-release@v1
with:
files: artifact/windows.zip