diff --git a/.github/workflows/Dockerfile.centos b/.github/workflows/Dockerfile.centos index d2cb7c9..6335fb1 100644 --- a/.github/workflows/Dockerfile.centos +++ b/.github/workflows/Dockerfile.centos @@ -4,9 +4,9 @@ RUN yum -y update RUN yum -y install zlib-devel wget ncurses-devel ncurses-compat-libs make gcc gcc-c++ # Install GHC since stack's local install has issues -RUN wget https://downloads.haskell.org/~ghc/9.4.7/ghc-9.4.7-x86_64-centos7-linux.tar.xz -RUN tar xvf ghc-9.4.7-x86_64-centos7-linux.tar.xz -RUN cd ghc-9.4.7-x86_64-unknown-linux; ./configure; make install +RUN wget https://downloads.haskell.org/~ghc/9.6.6/ghc-9.6.6-x86_64-centos7-linux.tar.xz +RUN tar xvf ghc-9.6.6-x86_64-centos7-linux.tar.xz +RUN cd ghc-9.6.6-x86_64-unknown-linux; ./configure; make install # install stack RUN curl -sSL https://get.haskellstack.org/ | sh diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 23c0ee2..903b775 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,6 +5,7 @@ on: push: tags: - "v*" + workflow_dispatch: jobs: create_release: @@ -27,7 +28,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04, macOS-13, macOS-14, windows-latest] + os: [ubuntu-latest, ubuntu-latest-arm, macOS-latest, windows-latest] steps: - name: Check out code @@ -56,22 +57,14 @@ jobs: run: | if [ "$RUNNER_OS" == "Windows" ]; then newEXE="pileupCaller-$RUNNER_OS.exe" - elif [ "$RUNNER_OS" == "macOS" ]; then - newEXE="pileupCaller-$RUNNER_OS-$RUNNER_ARCH" else - newEXE="pileupCaller-$RUNNER_OS" + newEXE="pileupCaller-$RUNNER_OS-$RUNNER_ARCH" fi currentEXE="${{ steps.stack.outputs.local-bin }}/pileupCaller" mv $currentEXE $newEXE echo "BINARY_PATH=$newEXE" >> $GITHUB_OUTPUT shell: bash - - name: Compress binary - if: ${{ runner.os != 'macOS' }} # upx is crashing for macOS Ventura or above! - uses: svenstaro/upx-action@v2 - with: - files: ${{ steps.binarypath.outputs.BINARY_PATH }} - - name: Upload Release Asset id: upload-release-asset uses: ncipollo/release-action@v1 diff --git a/stack.yaml b/stack.yaml index f4eb74d..76464f1 100644 --- a/stack.yaml +++ b/stack.yaml @@ -2,5 +2,5 @@ resolver: lts-22.43 packages: - '.' extra-deps: -- sequence-formats-1.11.0.0 +- sequence-formats-1.11.0.1 - pipes-zlib-0.4.4.2 \ No newline at end of file