mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 18:12:48 +03:00
more tests
This commit is contained in:
parent
9b7c3eea7f
commit
0b1809cb5d
23
.github/workflows/publish.yaml
vendored
23
.github/workflows/publish.yaml
vendored
@ -27,7 +27,8 @@ on:
|
||||
jobs:
|
||||
publish-tauri:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
# todo: make false
|
||||
fail-fast: true
|
||||
matrix:
|
||||
platform:
|
||||
- macos-latest
|
||||
@ -59,7 +60,7 @@ jobs:
|
||||
|
||||
- uses: actions/cache@v3
|
||||
# do not cache pnpm on our runners (internet in berlin is very slow)
|
||||
if: matrix.platform != 'macos-aarch64'
|
||||
if: matrix.platform == 'ubuntu-latest' || matrix.platform == 'ubuntu-20.04'
|
||||
name: Setup pnpm cache
|
||||
with:
|
||||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
|
||||
@ -78,7 +79,7 @@ jobs:
|
||||
|
||||
- name: Cache rust dependencies
|
||||
# do not cache rust on our runners (internet in berlin is very slow)
|
||||
if: matrix.platform != 'macos-aarch64'
|
||||
if: matrix.platform == 'ubuntu-latest' || matrix.platform == 'ubuntu-20.04'
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: src-tauri
|
||||
@ -101,18 +102,20 @@ jobs:
|
||||
NEXT_VERSION=$(./scripts/next.sh "${CURRENT_VERSION}" "${{ env.bump }}")
|
||||
echo "version=$NEXT_VERSION" >> $GITHUB_ENV
|
||||
|
||||
- run: env
|
||||
- run: ls /usr/lib/pkgconfig
|
||||
- run: ls /usr/share/pkgconfig
|
||||
- run: ls /usr/local/pkgconfig
|
||||
- run: find / -name pkgconfig -exec ls {} \;
|
||||
# github's linux runner has homebrew installed which messes up with pkg-config.
|
||||
- name: uninstall homebrew
|
||||
run: NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
|
||||
# github's linux runner has homebrew installed which messes up with pkg-config.
|
||||
if: runner.os == 'Linux' && runner.arch == 'X64'
|
||||
- run: sudo apt-get update
|
||||
- name: install ubuntu dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
|
||||
# self hosted Linux ARM64 runner has this baked in
|
||||
if: runner.os == 'Linux' && runner.arch != 'ARM64'
|
||||
- name: Install system dependencies
|
||||
# self hosted Linux ARM64 runner has this baked in
|
||||
run: sudo apt-get install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
|
||||
if: runner.os == 'Linux' && runner.arch != 'ARM64'
|
||||
- name: import gpg key
|
||||
if: runner.os == 'Linux'
|
||||
uses: crazy-max/ghaction-import-gpg@v5
|
||||
|
Loading…
Reference in New Issue
Block a user