Skip to content

Commit

Permalink
test: merge kcl brew tests on macos and linux
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Nov 29, 2023
1 parent b7c516c commit 33c4101
Showing 1 changed file with 2 additions and 38 deletions.
40 changes: 2 additions & 38 deletions .github/workflows/install-kcl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ jobs:
scoop install kcl-lang/kcl
kcl.exe ./static/stack/main.k
check-kcl-brew-install-macos:
check-kcl-brew-install:
strategy:
matrix:
os: [macos-11, macos-12, macos-latest]
os: [macos-11, macos-12, macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -134,43 +134,7 @@ jobs:
kcl version
kcl ./static/stack/main.k
brew uninstall kcl-lang/tap/kcl
brew install kcl-lang/tap/[email protected]
echo "brew installed successfully"
kcl version
kcl ./static/stack/main.k
brew uninstall kcl-lang/tap/[email protected]
brew install kcl-lang/tap/[email protected]
echo "brew installed successfully"
kcl version
kcl ./static/stack/main.k
kcl-language-server version
brew uninstall kcl-lang/tap/[email protected]
brew uninstall kcl-lang/tap/[email protected]
brew install kcl-lang/tap/kcl-lsp
brew uninstall kcl-lang/tap/kcl-lsp
brew install kcl-lang/tap/[email protected]
brew uninstall kcl-lang/tap/[email protected]
brew install kcl-lang/tap/[email protected]
kcl-language-server version
brew uninstall kcl-lang/tap/[email protected]
check-kcl-brew-install-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Homebrew/actions/setup-homebrew@master

- name: Check Brew Installation
working-directory: .
run: |
brew install kcl-lang/tap/kcl
echo "brew installed successfully"
kcl version
kcl ./static/stack/main.k
brew uninstall kcl-lang/tap/kcl
brew install kcl-lang/tap/[email protected]
echo "brew installed successfully"
Expand Down

0 comments on commit 33c4101

Please sign in to comment.