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