Update to use Maiko release artifacts (#563)
This commit is contained in:
41
.github/workflows/buildLoadup.yml
vendored
41
.github/workflows/buildLoadup.yml
vendored
@@ -27,24 +27,37 @@ jobs:
|
|||||||
- name: Checkout Medley
|
- name: Checkout Medley
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Get the latest Maiko Release
|
# Get Maiko release information, retrieves the name of the latest
|
||||||
uses: actions/checkout@v2
|
# release. Used to download the correct Maiko release
|
||||||
|
- name: Get Maiko Release Information
|
||||||
|
id: latest_version
|
||||||
|
uses: abatilo/release-info-action@v1.3.0
|
||||||
with:
|
with:
|
||||||
repository: interlisp/maiko
|
owner: Interlisp
|
||||||
path: maiko
|
repo: maiko
|
||||||
|
|
||||||
|
# Download Maiko Release Assets
|
||||||
|
- name: Download Release Assets
|
||||||
|
uses: robinraju/release-downloader@v1.2
|
||||||
|
with:
|
||||||
|
repository: Interlisp/maiko
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
latest: true
|
||||||
|
fileName: "${{ steps.latest_version.outputs.latest_tag }}-linux.x86_64.tgz"
|
||||||
|
|
||||||
- name: install compiler
|
- name: Untar Maiko Release
|
||||||
run: sudo apt-get update && sudo apt-get install -y make clang libx11-dev gcc x11vnc xvfb
|
run: |
|
||||||
|
tar -xvzf "${{ steps.latest_version.outputs.latest_tag }}-linux.x86_64.tgz"
|
||||||
|
|
||||||
- name: install vnc
|
- name: install vnc
|
||||||
run: sudo apt-get install -y tightvncserver
|
run: sudo apt-get update && sudo apt-get install -y tightvncserver
|
||||||
|
|
||||||
- name: Compile Maiko
|
|
||||||
working-directory: maiko/bin
|
|
||||||
run: ./makeright x && ./makeright init
|
|
||||||
|
|
||||||
- name: Build Loadout
|
- name: Build Loadout
|
||||||
run: pwd && Xvnc -once -geometry 1280x720 :0 & DISPLAY=:0 PATH="/maiko:$PATH" scripts/loadup-all.sh
|
run: |
|
||||||
|
Xvnc -geometry 1280x720 :0 &
|
||||||
|
export DISPLAY=":0"
|
||||||
|
PATH="$PWD/maiko:$PATH"
|
||||||
|
scripts/loadup-all.sh
|
||||||
|
|
||||||
- name: Build release tar get libs
|
- name: Build release tar get libs
|
||||||
run: |
|
run: |
|
||||||
@@ -81,13 +94,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Release notes
|
- name: Release notes
|
||||||
run: |
|
run: |
|
||||||
sed s/'$tag'/$tag/g < release-notes.md > tmp/release-notes.md &&
|
sed s/'$tag'/$tag/g < release-notes.md > tmp/release-notes.md
|
||||||
ls tmp && env
|
|
||||||
|
|
||||||
- name: push the release
|
- name: push the release
|
||||||
uses: ncipollo/release-action@v1.8.10
|
uses: ncipollo/release-action@v1.8.10
|
||||||
with:
|
with:
|
||||||
artifacts: tmp/${{ env.tag }}-loadups.tgz,tmp/${{ env.tag }}-runtime.tgz
|
artifacts: tmp/${{ env.tag }}-loadups.tgz,tmp/${{ env.tag }}-runtime.tgz
|
||||||
tag: ${{ env.tag }}
|
tag: ${{ env.tag }}
|
||||||
|
draft: true
|
||||||
bodyfile: tmp/release-notes.md
|
bodyfile: tmp/release-notes.md
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user