Trying to create a custom action.

This commit is contained in:
Alexander Artemenko 2021-02-02 09:04:39 +03:00
parent 67941e6538
commit ad1e27f032
5 changed files with 40 additions and 33 deletions

33
.github/actions/setup/action.yml vendored Normal file
View file

@ -0,0 +1,33 @@
name: 'Install Roswell & Qlot'
runs:
- name: Current Env
run: |
env | sort -u
- name: Install Roswell
run: |
if [[ "$OS" == "ubuntu-latest" ]]; then
sudo apt-get -y install git build-essential automake libcurl4-openssl-dev
fi
if [[ "$OS" == "macos-latest" ]]; then
brew install automake autoconf curl
fi
curl -L https://raw.githubusercontent.com/svetlyak40wt/roswell/patches/scripts/install-for-ci.sh | sh
echo $HOME/.roswell/bin >> $GITHUB_PATH
- name: Upgrade ASDF to the Latest Version
run: |
ros install asdf
- name: Install Qlot
run: |
ros install qlot
echo .qlot/bin >> $GITHUB_PATH
- name: Install Dependencies
run: |
rm -fr qlfile
touch qlfile
if [[ "${QUICKLISP_DIST}" == 'ultralisp' ]]; then
echo dist ultralisp http://dist.ultralisp.org/ >> qlfile
fi
qlot install

View file

@ -63,38 +63,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Show ENV - uses: .github/actions/setup
run: |
env | sort -u
- name: Install Roswell
run: |
if [[ "$OS" == "ubuntu-latest" ]]; then
sudo apt-get -y install git build-essential automake libcurl4-openssl-dev
fi
if [[ "$OS" == "macos-latest" ]]; then
brew install automake autoconf curl
fi
curl -L https://raw.githubusercontent.com/svetlyak40wt/roswell/patches/scripts/install-for-ci.sh | sh
echo $HOME/.roswell/bin >> $GITHUB_PATH
- name: Upgrade ASDF to the Latest Version
run: |
ros install asdf
- name: Install Qlot
run: |
ros install qlot
echo .qlot/bin >> $GITHUB_PATH
- name: Install Dependencies
run: |
rm -fr qlfile
touch qlfile
if [[ "${QUICKLISP_DIST}" == 'ultralisp' ]]; then
echo dist ultralisp http://dist.ultralisp.org/ >> qlfile
fi
qlot install
- name: Install System - name: Install System
run: | run: |
if [[ "${QUICKLISP_DIST}" == 'quicklisp' ]]; then if [[ "${QUICKLISP_DIST}" == 'quicklisp' ]]; then

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/docs/build/ /docs/build/
/env/ /env/
/.qlot

0
qlfile Normal file
View file

4
qlfile.lock Normal file
View file

@ -0,0 +1,4 @@
("quicklisp" .
(:class qlot/source/dist:source-dist
:initargs (:distribution "http://beta.quicklisp.org/dist/quicklisp.txt" :%version :latest)
:version "2021-01-24"))