chore: sync make build with dev (#5847)

* chore: sync up make build with dev

* ci: update macOS self-hosted runner
This commit is contained in:
Nguyen Ngoc Minh 2025-07-21 21:12:14 -07:00 committed by GitHub
parent 9ea081576b
commit af892428a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 5 additions and 14 deletions

View File

@ -71,7 +71,7 @@ jobs:
path: coverage/lcov.info
test-on-macos:
runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) && 'macos-latest' || 'macos-selfhosted-12-arm64' }}
runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) && 'macos-latest' || 'macos-selfhosted-15-arm64' }}
if: github.event_name == 'pull_request' || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
steps:
- name: Getting the repo

View File

@ -141,7 +141,7 @@ jobs:
fi
- name: Build app
run: |
make build-tauri
make build
APP_IMAGE=./src-tauri/target/release/bundle/appimage/$(ls ./src-tauri/target/release/bundle/appimage/ | grep AppImage | head -1)
yarn tauri signer sign \

View File

@ -168,7 +168,7 @@ jobs:
- name: Build app
run: |
rustup target add x86_64-apple-darwin
make build-tauri
make build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APP_PATH: '.'

View File

@ -178,7 +178,7 @@ jobs:
- name: Build app
shell: bash
run: |
make build-tauri
make build
env:
AZURE_KEY_VAULT_URI: ${{ secrets.AZURE_KEY_VAULT_URI }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}

View File

@ -56,11 +56,6 @@ build: install-and-build
yarn download:lib
yarn build
# Deprecated soon
build-tauri: install-and-build
yarn download:lib
yarn build
clean:
ifeq ($(OS),Windows_NT)
-powershell -Command "Get-ChildItem -Path . -Include node_modules, .next, dist, build, out, .turbo, .yarn -Recurse -Directory | Remove-Item -Recurse -Force"

View File

@ -73,12 +73,8 @@ run = [
[tasks.build]
description = "Build complete application (matches Makefile)"
depends = ["install-and-build"]
run = "yarn build"
[tasks.build-tauri]
description = "Build Tauri application (DEPRECATED - matches Makefile)"
depends = ["install-and-build"]
run = [
"yarn copy:lib",
"yarn build"
]