-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: merge kcl brew tests on macos and linux
Signed-off-by: peefy <[email protected]>
- Loading branch information
Showing
1 changed file
with
2 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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" | ||
|