Skip to content

Commit

Permalink
Try fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Sytten committed Nov 19, 2024
1 parent 3dd8708 commit 130d5f0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
arch:
required: true
type: string
toolchain:
required: true
type: string

jobs:
build:
Expand All @@ -23,7 +26,7 @@ jobs:
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable # Modules should work on stable, not just nightly
toolchain: ${{ inputs.toolchain }}
- name: Run tests
run: |
cargo test
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,15 @@ jobs:
- os: ubuntu-latest
platform: linux
arch: x86_64
toolchain: stable
- os: macos-latest
platform: darwin
arch: x86_64
toolchain: stable
- os: windows-latest
platform: windows
arch: x86_64
toolchain: stable-x86_64-pc-windows-gnu
uses: ./.github/workflows/build.yml
with:
os: ${{ matrix.os }}
Expand Down
1 change: 1 addition & 0 deletions libs/utils/src/module.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Copyright Emile Fugulin for modifications.
// SPDX-License-Identifier: Apache-2.0
// Source: https://github.com/awslabs/llrt/blob/07eb540a204dcdce44143220876630804f381ca6/llrt_utils/src/module.rs
use rquickjs::{module::Exports, Ctx, Object, Result, Value};
Expand Down
1 change: 1 addition & 0 deletions libs/utils/src/result.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Copyright Emile Fugulin for modifications.
// SPDX-License-Identifier: Apache-2.0
// Source: https://github.com/awslabs/llrt/blob/07eb540a204dcdce44143220876630804f381ca6/llrt_utils/src/result.rs
use std::{fmt::Write, result::Result as StdResult};
Expand Down
1 change: 1 addition & 0 deletions modules/os/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Copyright Emile Fugulin for modifications.
// SPDX-License-Identifier: Apache-2.0
use std::env;

Expand Down

0 comments on commit 130d5f0

Please sign in to comment.