Skip to content

Commit

Permalink
update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
okdshin committed Dec 2, 2023
1 parent 08d28ca commit 23fe4ec
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 1 deletion.
56 changes: 56 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,59 @@ jobs:
asset_path: flatline_lsp_ubuntu2004_cublas.zip/flatline_lsp_ubuntu2004_cublas.zip
asset_name: flatline_lsp_ubuntu2004_cublas.zip
asset_content_type: application/zip

test-on-ubuntu-2004:
runs-on: ubuntu-20.04
needs: [build-release-ubuntu-2004]
steps:
- name: Common dependencies
id: depends
run: |
sudo apt-get update
- name: OpenBLAS dependencies
id: depends_openblas
if: ${{ matrix.build == 'openblas' }}
run: |
sudo apt-get install -y libopenblas0
- uses: Jimver/[email protected]
id: cuda-toolkit
if: ${{ matrix.build == 'cublas' }}
with:
cuda: '11.8.0'

- name: Install and test
id: install_and_test
run: |
curl -L https://raw.githubusercontent.com/okdshin/flatline_lsp/main/install.sh | bash -s ${{ matrix.build }}
$HOME/.flatline_lsp/_internal/flatline/backend_server/flatline-server --help
$HOME/.flatline_lsp/flatline_lsp --help
test-on-ubuntu-2204:
runs-on: ubuntu-22.04
needs: [build-release-ubuntu-2004]
steps:
- name: Common dependencies
id: depends
run: |
sudo apt-get update
- name: OpenBLAS dependencies
id: depends_openblas
if: ${{ matrix.build == 'openblas' }}
run: |
sudo apt-get install -y libopenblas0
- uses: Jimver/[email protected]
id: cuda-toolkit
if: ${{ matrix.build == 'cublas' }}
with:
cuda: '11.8.0'

- name: Install and test
id: install_and_test
run: |
curl -L https://raw.githubusercontent.com/okdshin/flatline_lsp/main/install.sh | bash -s ${{ matrix.build }}
$HOME/.flatline_lsp/_internal/flatline/backend_server/flatline-server --help
$HOME/.flatline_lsp/flatline_lsp --help
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -eu
#set -x

release_version="v0.0.0_a1651ec"
release_version="v0.0.0_08d28ca"

if [ $# -ne 1 ]; then
echo "$0 <openblas or cublas>"
Expand Down

0 comments on commit 23fe4ec

Please sign in to comment.