Skip to content
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
28 changes: 28 additions & 0 deletions .github/workflows/rebuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Payload building

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
rebuild-cwasm:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@nightly
with:
components: rust-src
- uses: taiki-e/install-action@v1
with:
tool: wasm-tools
- run: ./rebuild-all-payloads.sh
- uses: actions/upload-artifact@v4
with:
path: examples/*/*.cwasm
- run: git diff --exit-code

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
members = [
"examples/*",
"examples/[a-z]*",
"src/ariel-os-bindings",
]

Expand Down
2 changes: 1 addition & 1 deletion .cargo/config.toml → examples/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include = "../build/imports/ariel-os/ariel-os-cargo.toml"
include = "../../build/imports/ariel-os/ariel-os-cargo.toml"

[unstable]
# This is needed so the "include" statement above works.
Expand Down
Binary file modified examples/async-bindings/payload.cwasm
Binary file not shown.
Binary file modified examples/coap-server-bindings/payload.cwasm
Binary file not shown.
Binary file modified examples/gpio/payload.cwasm
Binary file not shown.
Binary file modified examples/insecure-updates/payload1.cwasm
Binary file not shown.
Binary file modified examples/insecure-updates/payload2.cwasm
Binary file not shown.
Binary file modified examples/simple-updates/payload1.cwasm
Binary file not shown.
Binary file modified examples/simple-updates/payload2.cwasm
Binary file not shown.
Binary file modified examples/udp-bindings/payload.cwasm
Binary file not shown.
4 changes: 2 additions & 2 deletions payloads/async-bindings/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

80 changes: 0 additions & 80 deletions payloads/coap-server-bindings/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

80 changes: 0 additions & 80 deletions payloads/gpio/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

80 changes: 0 additions & 80 deletions payloads/simple-updates-1/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

80 changes: 0 additions & 80 deletions payloads/simple-updates-2/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading