Skip to content

Instantly share code, notes, and snippets.

@iamFIREcracker
Last active November 7, 2019 18:43
Show Gist options
  • Select an option

  • Save iamFIREcracker/3564db5a24e296e087da49513d6cd00c to your computer and use it in GitHub Desktop.

Select an option

Save iamFIREcracker/3564db5a24e296e087da49513d6cd00c to your computer and use it in GitHub Desktop.

Revisions

  1. iamFIREcracker revised this gist Nov 7, 2019. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion roswell-install-for-ci.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    #!/usr/bin/env sh

    ROSWELL_URL=https://github.com/roswell/roswell/releases/download/v19.09.12.102/roswell_19.09.12.102_amd64.zip

    OS_WIN=$(uname -s | grep -e MSYS_NT)
    if [ -n "$OS_WIN" ]; then
    ROSWELL_IN_PATH=$(echo $PATH | grep -F /tmp/roswell)
    @@ -8,7 +10,8 @@ if [ -n "$OS_WIN" ]; then
    exit 1
    fi

    curl -L "https://github.com/roswell/roswell/releases/download/v19.09.12.102/roswell_19.09.12.102_amd64.zip" \
    echo "Downloading Roswell from: $ROSWELL_URL"
    curl -L "$ROSWELL_URL" \
    --output /tmp/roswell.zip
    unzip -n /tmp/roswell.zip -d /tmp/
    fi
  2. iamFIREcracker revised this gist Nov 7, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion roswell-install-for-ci.sh
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ if [ -n "$OS_WIN" ]; then
    exit 1
    fi

    curl -L "https://ci.appveyor.com/api/projects/snmsts/roswell-en89n/artifacts/Roswell-x86_64.zip?branch=master&job=Environment%3A%20MSYS2_ARCH%3Dx86_64,%20MSYS2_BITS%3D64,%20MSYSTEM%3DMINGW64,%20METHOD%3Dcross" \
    curl -L "https://github.com/roswell/roswell/releases/download/v19.09.12.102/roswell_19.09.12.102_amd64.zip" \
    --output /tmp/roswell.zip
    unzip -n /tmp/roswell.zip -d /tmp/
    fi
  3. iamFIREcracker revised this gist May 18, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions roswell-install-for-ci.sh
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,9 @@
    #!/usr/bin/env sh

    OS_WIN=$(uname -s | grep -e MSYS_NT)

    if [ -n "$OS_WIN" ]; then
    if ! echo $PATH | grep -qF /tmp/roswell; then
    ROSWELL_IN_PATH=$(echo $PATH | grep -F /tmp/roswell)
    if [ -z "$ROSWELL_IN_PATH" ] ; then
    echo "/tmp/roswell not found \$PATH"
    exit 1
    fi
  4. iamFIREcracker created this gist May 18, 2019.
    19 changes: 19 additions & 0 deletions roswell-install-for-ci.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    #!/usr/bin/env sh

    OS_WIN=$(uname -s | grep -e MSYS_NT)

    if [ -n "$OS_WIN" ]; then
    if ! echo $PATH | grep -qF /tmp/roswell; then
    echo "/tmp/roswell not found \$PATH"
    exit 1
    fi

    curl -L "https://ci.appveyor.com/api/projects/snmsts/roswell-en89n/artifacts/Roswell-x86_64.zip?branch=master&job=Environment%3A%20MSYS2_ARCH%3Dx86_64,%20MSYS2_BITS%3D64,%20MSYSTEM%3DMINGW64,%20METHOD%3Dcross" \
    --output /tmp/roswell.zip
    unzip -n /tmp/roswell.zip -d /tmp/
    fi

    # Run roswell's CI script, and since it will find `ros` already available
    # in $PATH, it would not try to build it but instead will install the specified
    # CL implementation + quicklisp
    curl -L https://raw.githubusercontent.com/roswell/roswell/release/scripts/install-for-ci.sh | sh