summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/audit.yml1
-rw-r--r--.github/workflows/build.yml26
-rw-r--r--.github/workflows/document.yml1
-rw-r--r--.github/workflows/test.yml2
4 files changed, 28 insertions, 2 deletions
diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml
index 2ffa10a8..30bb3004 100644
--- a/.github/workflows/audit.yml
+++ b/.github/workflows/audit.yml
@@ -11,6 +11,5 @@ jobs:
- name: Manually update `nix` crates # See https://github.com/nix-rust/nix/issues/1627
run: |
cargo update --package nix:0.20.0 --precise 0.20.2
- cargo update --package nix:0.22.0 --precise 0.22.2
- name: Audit dependencies
run: cargo audit
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 25909870..beec168b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -82,3 +82,29 @@ jobs:
with:
name: todos-x86_64-apple-darwin
path: target/release/todos
+
+ todos_raspberry:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: hecrj/setup-rust-action@v1
+ - uses: actions/checkout@master
+ - name: Install cross
+ run: cargo install cross
+ - name: Enable Link Time Optimizations
+ run: |
+ echo "[profile.release]" >> Cargo.toml
+ echo "lto = true" >> Cargo.toml
+ - name: Build todos binary for Raspberry Pi 3/4 (64 bits)
+ run: cross build --verbose --release --package todos --target aarch64-unknown-linux-gnu
+ - name: Archive todos binary
+ uses: actions/upload-artifact@v1
+ with:
+ name: todos-aarch64-unknown-linux-gnu
+ path: target/aarch64-unknown-linux-gnu/release/todos
+ - name: Build todos binary for Raspberry Pi 2/3/4 (32 bits)
+ run: cross build --verbose --release --package todos --target armv7-unknown-linux-gnueabihf
+ - name: Archive todos binary
+ uses: actions/upload-artifact@v1
+ with:
+ name: todos-armv7-unknown-linux-gnueabihf
+ path: target/armv7-unknown-linux-gnueabihf/release/todos
diff --git a/.github/workflows/document.yml b/.github/workflows/document.yml
index 849c0778..3a8326b6 100644
--- a/.github/workflows/document.yml
+++ b/.github/workflows/document.yml
@@ -17,7 +17,6 @@ jobs:
-p iced_core \
-p iced_native \
-p iced_lazy \
- -p iced_web \
-p iced_graphics \
-p iced_wgpu \
-p iced_glow \
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 0450f13d..433afadc 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -37,3 +37,5 @@ jobs:
run: cargo build --package tour --target wasm32-unknown-unknown
- name: Check compilation of `todos` example
run: cargo build --package todos --target wasm32-unknown-unknown
+ - name: Check compilation of `integration_wgpu` example
+ run: cargo build --package integration_wgpu --target wasm32-unknown-unknown