Use rust-tauri docker image
Some checks failed
Some checks failed
This commit is contained in:
parent
1eaafac30d
commit
42978587e3
2 changed files with 3 additions and 39 deletions
|
@ -9,18 +9,8 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
run-tests:
|
run-tests:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: rust:latest
|
container: forgejo.neshweb.net/ci-docker-images/rust-tauri:latest
|
||||||
steps:
|
steps:
|
||||||
-
|
|
||||||
name: Installing Node and dependencies
|
|
||||||
run: |
|
|
||||||
apt update
|
|
||||||
apt install -y \
|
|
||||||
nodejs \
|
|
||||||
libwebkit2gtk-4.0-dev \
|
|
||||||
build-essential \
|
|
||||||
libgtk-3-dev \
|
|
||||||
libayatana-appindicator3-dev \
|
|
||||||
-
|
-
|
||||||
name: Add Clippy
|
name: Add Clippy
|
||||||
run: rustup component add clippy
|
run: rustup component add clippy
|
||||||
|
@ -59,7 +49,7 @@ jobs:
|
||||||
needs: run-tests
|
needs: run-tests
|
||||||
if: success()
|
if: success()
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: rust:latest
|
container: forgejo.neshweb.net/ci-docker-images/rust-tauri:latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Storing Debian Codename for Package Upload Job
|
name: Storing Debian Codename for Package Upload Job
|
||||||
|
@ -67,22 +57,6 @@ jobs:
|
||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
echo Debian Codename is: $VERSION_CODENAME
|
echo Debian Codename is: $VERSION_CODENAME
|
||||||
echo "DEBIAN_CODENAME=$VERSION_CODENAME" >> /build.env
|
echo "DEBIAN_CODENAME=$VERSION_CODENAME" >> /build.env
|
||||||
-
|
|
||||||
name: Installing Node, NPM
|
|
||||||
run: |
|
|
||||||
apt update
|
|
||||||
apt install -y \
|
|
||||||
nodejs npm \
|
|
||||||
libwebkit2gtk-4.0-dev \
|
|
||||||
build-essential \
|
|
||||||
libgtk-3-dev \
|
|
||||||
libayatana-appindicator3-dev \
|
|
||||||
-
|
|
||||||
name: Installing Yarn, Vite
|
|
||||||
run: npm install --global yarn vite
|
|
||||||
-
|
|
||||||
name: Installing Tauri CLI
|
|
||||||
run: cargo install tauri-cli
|
|
||||||
-
|
-
|
||||||
name: Checking Out Repository Code
|
name: Checking Out Repository Code
|
||||||
uses: https://code.forgejo.org/actions/checkout@v3
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
|
|
|
@ -10,18 +10,8 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
run-tests:
|
run-tests:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: rust:latest
|
container: forgejo.neshweb.net/ci-docker-images/rust-tauri:latest
|
||||||
steps:
|
steps:
|
||||||
-
|
|
||||||
name: Installing Node and dependencies
|
|
||||||
run: |
|
|
||||||
apt update
|
|
||||||
apt install -y \
|
|
||||||
nodejs \
|
|
||||||
libwebkit2gtk-4.0-dev \
|
|
||||||
build-essential \
|
|
||||||
libgtk-3-dev \
|
|
||||||
libayatana-appindicator3-dev \
|
|
||||||
-
|
-
|
||||||
name: Add Clippy
|
name: Add Clippy
|
||||||
run: rustup component add clippy
|
run: rustup component add clippy
|
||||||
|
|
Reference in a new issue