Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN yum -y install git

RUN yum -y install python3

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.83.0
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.88.0

ENV PATH="/root/.cargo/bin:${PATH}"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/c-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.83
toolchain: 1.88
override: true
components: clippy, rustfmt
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cpp-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.81
toolchain: 1.88
override: true
components: clippy, rustfmt
- name: Build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.83
toolchain: 1.88
override: true
components: clippy, rustfmt
- name: Setup linux-aarch_64 rust target
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.83
toolchain: 1.88
override: true
components: clippy, rustfmt

Expand Down Expand Up @@ -176,4 +176,4 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
run: |
cd dotnet/KclLib/bin/Release
dotnet nuget push KclLib.0.11.2.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push KclLib.0.12.0.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
2 changes: 1 addition & 1 deletion .github/workflows/java-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.83
toolchain: 1.88
override: true
components: clippy, rustfmt

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kotlin-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.83
toolchain: 1.88
override: true
components: clippy, rustfmt

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lua-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.83
toolchain: 1.88
override: true
components: clippy, rustfmt
- name: Build
Expand Down
58 changes: 31 additions & 27 deletions .github/workflows/nodejs-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,21 @@ jobs:
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.81
toolchain: 1.88
override: true
components: clippy, rustfmt

- uses: pnpm/action-setup@v4
with:
version: 8
version: 10

- name: Setup node
uses: actions/setup-node@v6
with:
node-version: '18'
cache: pnpm
cache-dependency-path: "nodejs/pnpm-lock.yaml"
node-version: '22'

- name: Install dependencies
run: pnpm install --no-save --frozen-lockfile
run: pnpm i

- name: Check format
run: pnpm exec prettier --check .
Expand All @@ -74,7 +72,13 @@ jobs:
-e NAPI_TARGET=x86_64-unknown-linux-gnu \
-w /build/nodejs \
ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian \
bash -c "corepack prepare pnpm@9.15.4 --activate && pnpm build"
bash -c "corepack prepare pnpm@9.15.4 --activate &&
rustup update 1.88 &&
rustup default 1.88 &&
cargo --version &&
cargo clean &&
cargo update &&
pnpm build"
cd nodejs
# change owner to current user
sudo chown -R 1001:121 *.node
Expand All @@ -86,8 +90,13 @@ jobs:
-w /build/nodejs \
ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64 \
bash -c "set -e &&
rustup update 1.88 &&
rustup default 1.88 &&
rustup target add aarch64-unknown-linux-gnu &&
corepack prepare pnpm@9.15.4 --activate &&
cargo --version &&
cargo clean &&
cargo update &&
pnpm build --target aarch64-unknown-linux-gnu &&
aarch64-unknown-linux-gnu-strip *.node"
cd nodejs
Expand All @@ -105,15 +114,14 @@ jobs:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 8
version: 10
- name: Setup node
uses: actions/setup-node@v6
with:
node-version: '18'
cache: pnpm
cache-dependency-path: "nodejs/pnpm-lock.yaml"
node-version: '22'

- name: Install dependencies
run: pnpm install --no-save --frozen-lockfile
run: pnpm i
- name: Build
shell: bash
working-directory: .
Expand Down Expand Up @@ -146,15 +154,14 @@ jobs:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 8
version: 10
- name: Setup node
uses: actions/setup-node@v6
with:
node-version: '18'
cache: pnpm
cache-dependency-path: "nodejs/pnpm-lock.yaml"
node-version: '22'

- name: Install dependencies
run: pnpm install --no-save --frozen-lockfile
run: pnpm i
- name: Build
shell: bash
run: ${{ matrix.settings.build }}
Expand Down Expand Up @@ -196,15 +203,14 @@ jobs:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 8
version: 10
- name: Setup node
uses: actions/setup-node@v6
with:
node-version: '18'
cache: pnpm
cache-dependency-path: "nodejs/pnpm-lock.yaml"
node-version: '22'

- name: Install dependencies
run: pnpm install --no-save --frozen-lockfile
run: pnpm i
- name: Build
run: ${{ matrix.settings.build }}
shell: bash
Expand All @@ -229,16 +235,14 @@ jobs:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 8
version: 10
- name: Setup node
uses: actions/setup-node@v6
with:
node-version: "18"
cache: pnpm
cache-dependency-path: "nodejs/pnpm-lock.yaml"
node-version: "22"

- name: Install dependencies
run: pnpm install --no-save --frozen-lockfile
run: pnpm i

- name: Download all artifacts
uses: actions/download-artifact@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.83
toolchain: 1.88
override: true
components: clippy, rustfmt
- name: Rust code test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/swift-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.83
toolchain: 1.88
override: true
components: clippy, rustfmt
- name: Setup Swift toolchain
uses: swift-actions/setup-swift@v2
with:
swift-version: 5
swift-version: 6
- name: Build and run tests
run: make test
2 changes: 1 addition & 1 deletion .github/workflows/wasm-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.81
toolchain: 1.88
override: true
components: clippy, rustfmt
- name: Setup Go
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ zz_*
/_build*
*.dylib
*.lock
.kclvm

# KCL cache and temp output
.kclvm
.kclvm_cov
*.dylib
*.so
*.dll
Expand Down
Loading
Loading