Use rust-tauri docker image
Some checks failed
Run Tests on Code / run-tests (push) Successful in 1m25s
Build and Release Binary File / run-tests (push) Failing after 1m13s
Build and Release Binary File / upload-release (push) Has been skipped
Build and Release Binary File / build-linux (push) Has been skipped

This commit is contained in:
Neshura 2023-12-20 00:13:50 +01:00
parent 1eaafac30d
commit 42978587e3
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 3 additions and 39 deletions

View file

@ -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

View file

@ -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