debian actually
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2m46s Details

This commit is contained in:
Martyn Ranyard 2023-11-06 16:12:28 +01:00
parent 29fea79c74
commit 9d78ff486a
No known key found for this signature in database
1 changed files with 4 additions and 4 deletions

View File

@ -21,21 +21,19 @@ jobs:
run: |
apt-get update
apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
- name: Check out repository code
uses: actions/checkout@v3
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: './src-tauri -> target'
- name: Install windows cross-compiling deps
run: apt install nsis lld llvm
run: apt install -y nsis lld llvm
- name: And allow rust to work with them
run: |
rustup target add x86_64-pc-windows-msvc
cargo install xwin
xwin splat --output ~/.xwin
mkdir $HOME/.cargo -p
cat > $HOME/.cargo/config.toml <<<EOF
cat > $HOME/.cargo/config.toml <<EOF
[target.x86_64-pc-windows-msvc]
linker = "lld"
rustflags = [
@ -44,6 +42,8 @@ jobs:
"-Lnative=/home/username/.xwin/sdk/lib/ucrt/x86_64"
]
EOF
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository