summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/FUNDING.yml1
-rw-r--r--.github/workflows/build.yml7
-rw-r--r--.github/workflows/test.yml10
3 files changed, 16 insertions, 2 deletions
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
index 4a3aad7c..8a891884 100644
--- a/.github/FUNDING.yml
+++ b/.github/FUNDING.yml
@@ -1 +1,2 @@
+github: hecrj
ko_fi: hecrj_
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3b0bf033..a00e2a22 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -11,6 +11,11 @@ jobs:
- name: Install cargo-deb
run: cargo install cargo-deb
- uses: actions/checkout@master
+ - name: Install dependencies
+ run: |
+ export DEBIAN_FRONTED=noninteractive
+ sudo apt-get -qq update
+ sudo apt-get install -y libxkbcommon-dev
- name: Enable Link Time Optimizations
run: |
echo "[profile.release]" >> Cargo.toml
@@ -67,6 +72,8 @@ jobs:
env:
MACOSX_DEPLOYMENT_TARGET: 10.14
run: cargo build --verbose --release --package todos
+ - name: Open binary via double-click
+ run: chmod +x target/release/todos
- name: Archive todos binary
uses: actions/upload-artifact@v1
with:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 9e73d3d3..0450f13d 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -12,6 +12,12 @@ jobs:
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
+ - name: Install dependencies
+ if: matrix.os == 'ubuntu-latest'
+ run: |
+ export DEBIAN_FRONTED=noninteractive
+ sudo apt-get -qq update
+ sudo apt-get install -y libxkbcommon-dev
- name: Run tests
run: |
cargo test --verbose --all
@@ -29,5 +35,5 @@ jobs:
run: cargo check --package iced --target wasm32-unknown-unknown
- name: Check compilation of `tour` example
run: cargo build --package tour --target wasm32-unknown-unknown
- - name: Check compilation of `pokedex` example
- run: cargo build --package pokedex --target wasm32-unknown-unknown
+ - name: Check compilation of `todos` example
+ run: cargo build --package todos --target wasm32-unknown-unknown