Trying to create a custom action.
This commit is contained in:
parent
67941e6538
commit
ad1e27f032
5 changed files with 40 additions and 33 deletions
33
.github/actions/setup/action.yml
vendored
Normal file
33
.github/actions/setup/action.yml
vendored
Normal 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
|
33
.github/workflows/install.yml
vendored
33
.github/workflows/install.yml
vendored
|
@ -63,38 +63,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Show 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
|
||||
- uses: .github/actions/setup
|
||||
- name: Install System
|
||||
run: |
|
||||
if [[ "${QUICKLISP_DIST}" == 'quicklisp' ]]; then
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
/docs/build/
|
||||
/env/
|
||||
/.qlot
|
||||
|
|
0
qlfile
Normal file
0
qlfile
Normal file
4
qlfile.lock
Normal file
4
qlfile.lock
Normal 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"))
|
Loading…
Reference in a new issue