diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml new file mode 100644 index 0000000..d7b05f0 --- /dev/null +++ b/.github/actions/setup/action.yml @@ -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 diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 26b3df2..4d44633 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -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 diff --git a/.gitignore b/.gitignore index ea23d3b..8abc0d0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /docs/build/ -/env/ \ No newline at end of file +/env/ +/.qlot diff --git a/qlfile b/qlfile new file mode 100644 index 0000000..e69de29 diff --git a/qlfile.lock b/qlfile.lock new file mode 100644 index 0000000..8e62492 --- /dev/null +++ b/qlfile.lock @@ -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"))