Skip to content

Commit

Permalink
Merge pull request #129 from ggilles/fix-ci-target-branch
Browse files Browse the repository at this point in the history
Fix CI target branch
  • Loading branch information
li-feng-sc authored Jan 22, 2023
2 parents 99f3d26 + b0c1273 commit 768f108
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Test
on:
push:
branches:
- master
- main
pull_request: {}

jobs:
Expand All @@ -22,7 +22,7 @@ jobs:
path: ~/.cache/bazel
key: ${{ runner.os }}-${{ env.cache-name }}-${{ github.ref }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-master
${{ runner.os }}-${{ env.cache-name }}-main
- name: Build
run: bazel build //src:djinni
Expand Down
2 changes: 1 addition & 1 deletion test-suite/generated-src/wasm/NativeTestHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ em::val NativeTestHelpers::add_one_if_present(const em::val& w_f) {
return ::djinni::FutureAdaptor<::djinni::Optional<std::experimental::optional, ::djinni::I32>>::fromCpp(std::move(r));
}
catch(const std::exception& e) {
return djinni::ExceptionHandlingTraits<::djinni::FutureAdaptor<::djinni::Optional<std::experimental::optional, ::djinni::I32>>>::handleNativeException(e);
return ::djinni::ExceptionHandlingTraits<::djinni::FutureAdaptor<::djinni::Optional<std::experimental::optional, ::djinni::I32>>>::handleNativeException(e);
}
}
em::val NativeTestHelpers::check_async_interface(const em::val& w_i) {
Expand Down

0 comments on commit 768f108

Please sign in to comment.