Skip to content

Commit

Permalink
fix: also build x86 macos & update deps
Browse files Browse the repository at this point in the history
Signed-off-by: Martichou <[email protected]>
  • Loading branch information
Martichou committed Jul 14, 2024
1 parent 0fc7021 commit 037100a
Show file tree
Hide file tree
Showing 11 changed files with 170 additions and 119 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
if: matrix.os != 'macos-latest'
if: contains(matrix.os, 'macos') == false
run: |
sudo apt-get update
sudo apt-get install -y libdbus-1-dev
Expand Down Expand Up @@ -65,6 +65,11 @@ jobs:
cache_directory: app/main/src-tauri/target
build_cmd: dmg:build
generated_bundle: dmg/RQuickShare_*.dmg
- os: macos-13
target_path: app/main
cache_directory: app/main/src-tauri/target
build_cmd: dmg:build
generated_bundle: dmg/RQuickShare_*.dmg
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
Expand All @@ -81,15 +86,15 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Linux dependencies for U
if: matrix.os != 'macos-latest'
if: contains(matrix.os, 'macos') == false
run: |
sudo apt-get update
sudo apt-get install -y libdbus-1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
- name: Install Linux dependencies
if: matrix.os != 'macos-latest'
if: contains(matrix.os, 'macos') == false
run: ${{ matrix.dependencies }}
- name: GLIBC version
if: matrix.os != 'macos-latest'
if: contains(matrix.os, 'macos') == false
run: |
GLIBC_VER=$(ldd --version | head -n1 | awk '{print $NF}')
echo "GLIBC version: ${GLIBC_VER}"
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
name: main
target_path: app/main
cache_directory: app/main/src-tauri/target
- os: macos-13
name: main
target_path: app/main
cache_directory: app/main/src-tauri/target
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
Expand All @@ -49,12 +53,12 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Linux dependencies for U
if: matrix.os != 'macos-latest'
if: contains(matrix.os, 'macos') == false
run: |
sudo apt-get update
sudo apt-get install -y libdbus-1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
- name: Install Linux dependencies
if: matrix.os != 'macos-latest'
if: contains(matrix.os, 'macos') == false
run: ${{ matrix.dependencies }}

- name: Build Vite + Tauri
Expand Down
Loading

0 comments on commit 037100a

Please sign in to comment.