Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add kcl run ci for macos #3

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
pull_request:
# pull_request:

env:
KIND_VERSION: v0.23.0
Expand All @@ -27,7 +27,7 @@ jobs:
- 1
- 3
steps:
- name: Install
- name: setup kcl
run: |
wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash
- name: install kind
Expand All @@ -54,16 +54,13 @@ jobs:
kubectl get node
kubectl get pod -A


test-push:
runs-on: ubuntu-latest
steps:
- name: Install
- name: setup kcl
run: |
wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash
- uses: actions/checkout@v4
- name: mod push
run: |
hack/test.sh


27 changes: 27 additions & 0 deletions .github/workflows/kcl_run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: kcl run

on:
push:
branches:
- main
pull_request:


jobs:
kcl-run:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-12
- macos-13
- macos-14
steps:
- name: setup kcl
run: |
wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash
- uses: actions/checkout@v4
- name: run
run: |
kcl run
Loading