Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
6b1a31aa46
|
|||
|
784942ca58
|
|||
|
75de2a7bc1
|
|||
|
ea6c8d338c
|
|||
|
ae625b181c
|
|||
|
89ae54a083
|
48
.github/workflows/bootstrap.yaml
vendored
48
.github/workflows/bootstrap.yaml
vendored
@@ -56,3 +56,51 @@ jobs:
|
||||
Write-Host "Current Working Directory: $curDir"
|
||||
./scripts/bootstrap/bootstrap-haskell.ps1 -InstallDir ${GITHUB_WORKSPACE} -BootstrapUrl ("{0}/scripts/bootstrap/bootstrap-haskell" -f $curDir) -InBash
|
||||
shell: pwsh
|
||||
|
||||
jfs:
|
||||
name: jfs
|
||||
runs-on: [self-hosted, Linux, ARM64, JFS]
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /mnt/jfs
|
||||
env:
|
||||
BOOTSTRAP_HASKELL_CABAL_VERSION: 3.6.2.0
|
||||
BOOTSTRAP_HASKELL_GHC_VERSION: 8.10.7
|
||||
BOOTSTRAP_HASKELL_NONINTERACTIVE: yes
|
||||
GHCUP_INSTALL_BASE_PREFIX: "/mnt/jfs"
|
||||
steps:
|
||||
- uses: docker://hasufell/arm64v8-ubuntu-haskell:focal
|
||||
name: Cleanup
|
||||
with:
|
||||
args: "find . -mindepth 1 -maxdepth 1 -exec rm -rf -- {} +"
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- uses: docker://hasufell/arm64v8-ubuntu-haskell:focal
|
||||
name: Run build (arm64v8 linux)
|
||||
with:
|
||||
args: sh ./.github/scripts/bootstrap.sh
|
||||
env:
|
||||
BOOTSTRAP_HASKELL_CABAL_VERSION: ${{ env.BOOTSTRAP_HASKELL_CABAL_VERSION }}
|
||||
BOOTSTRAP_HASKELL_GHC_VERSION: ${{ env.BOOTSTRAP_HASKELL_GHC_VERSION }}
|
||||
BOOTSTRAP_HASKELL_NONINTERACTIVE: ${{ env.BOOTSTRAP_HASKELL_NONINTERACTIVE }}
|
||||
GHCUP_INSTALL_BASE_PREFIX: ${{ env.GHCUP_INSTALL_BASE_PREFIX }}
|
||||
|
||||
some:
|
||||
name: some
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'true'
|
||||
|
||||
- name: Test ghcup bug
|
||||
run: |
|
||||
ls -lah /usr/local/.ghcup/cache
|
||||
ghcup --version
|
||||
ghcup --verbose list
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Revision history for ghcup
|
||||
|
||||
## 0.1.19.2 -- ????-??-??
|
||||
## 0.1.19.2 -- 2023-2-24
|
||||
|
||||
* Follow-up fix for JFS/ReiserFS and other filesystem that don't support `d_type`, fixes [#787](https://github.com/haskell/ghcup-hs/issues/787)
|
||||
- the previous release had a bug that invalidated that broke it
|
||||
|
||||
Submodule data/metadata updated: 3e07ac0a20...0b98de04cc
@@ -28,7 +28,7 @@
|
||||
|
||||
plat="$(uname -s)"
|
||||
arch=$(uname -m)
|
||||
ghver="0.1.19.1"
|
||||
ghver="0.1.19.2"
|
||||
: "${GHCUP_BASE_URL:=https://downloads.haskell.org/~ghcup}"
|
||||
|
||||
export GHCUP_SKIP_UPDATE_CHECK=yes
|
||||
|
||||
@@ -7,6 +7,7 @@ shopt -s extglob
|
||||
|
||||
RELEASE=$1
|
||||
SIGNER=$2
|
||||
TAG=${RELEASE/v/}
|
||||
|
||||
echo "RELEASE: $RELEASE"
|
||||
echo "SIGNER: $SIGNER"
|
||||
@@ -19,7 +20,7 @@ done
|
||||
|
||||
mkdir -p "gh-release-artifacts/${RELEASE}"
|
||||
|
||||
git archive --format=tar.gz -o "gh-release-artifacts/${RELEASE}/ghcup-${RELEASE}-src.tar.gz" --prefix="ghcup-${RELEASE}/" HEAD
|
||||
git archive --format=tar.gz -o "gh-release-artifacts/${RELEASE}/ghcup-${TAG}-src.tar.gz" --prefix="ghcup-${TAG}/" HEAD
|
||||
|
||||
cd "gh-release-artifacts/${RELEASE}"
|
||||
|
||||
@@ -27,10 +28,10 @@ cd "gh-release-artifacts/${RELEASE}"
|
||||
gh release download "$RELEASE"
|
||||
|
||||
# cirrus
|
||||
curl -L -o "x86_64-portbld-freebsd-ghcup-${RELEASE}" \
|
||||
curl -L -o "x86_64-portbld-freebsd-ghcup-${TAG}" \
|
||||
"https://api.cirrus-ci.com/v1/artifact/github/haskell/ghcup-hs/build/binaries/out/x86_64-portbld-freebsd-ghcup-${RELEASE}?branch=${RELEASE}"
|
||||
|
||||
sha256sum ./*-ghcup-* > SHA256SUMS
|
||||
gpg --detach-sign -u "${SIGNER}" SHA256SUMS
|
||||
|
||||
gh release upload "$RELEASE" "ghcup-${RELEASE}-src.tar.gz" "x86_64-portbld-freebsd-ghcup-${RELEASE}" SHA256SUMS SHA256SUMS.sig
|
||||
gh release upload "$RELEASE" "ghcup-${TAG}-src.tar.gz" "x86_64-portbld-freebsd-ghcup-${TAG}" SHA256SUMS SHA256SUMS.sig
|
||||
|
||||
Reference in New Issue
Block a user