mirror of
https://github.com/sipeed/NanoKVM-USB.git
synced 2026-09-10 21:49:56 -05:00
ci: build x64 version with macOS 13, remove macOS from test build
This commit is contained in:
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@@ -82,24 +82,11 @@ jobs:
|
||||
target: windows
|
||||
build_script: build:win
|
||||
artifact_name: desktop-windows
|
||||
- os: macos-latest
|
||||
target: macos-arm64
|
||||
build_script: build:mac
|
||||
build_args: --arm64
|
||||
artifact_name: desktop-macos-arm64
|
||||
- os: macos-13
|
||||
target: macos-x64
|
||||
build_script: build:mac
|
||||
build_args: --x64
|
||||
artifact_name: desktop-macos-x64
|
||||
defaults:
|
||||
run:
|
||||
working-directory: desktop
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
APPLE_ID: ${{ secrets.APPLE_ID }}
|
||||
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
|
||||
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -115,18 +102,11 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y build-essential python3 libudev-dev rpm
|
||||
|
||||
- name: Import Code-Signing Certificates
|
||||
if: startsWith(matrix.os, 'macos')
|
||||
uses: apple-actions/import-codesign-certs@v3
|
||||
with:
|
||||
p12-file-base64: ${{ secrets.APPLE_CERTIFICATE }}
|
||||
p12-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Build desktop package
|
||||
run: npm run ${{ matrix.build_script }} ${{ matrix.build_args || '' }}
|
||||
run: npm run ${{ matrix.build_script }}
|
||||
|
||||
- name: Upload desktop artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -92,9 +92,15 @@ jobs:
|
||||
build_script: build:win-full
|
||||
artifact_name: desktop-windows
|
||||
- os: macos-latest
|
||||
target: macos
|
||||
build_script: build:mac-full
|
||||
artifact_name: desktop-macos
|
||||
target: macos-arm64
|
||||
build_script: build:mac
|
||||
build_args: --arm64
|
||||
artifact_name: desktop-macos-arm64
|
||||
- os: macos-13
|
||||
target: macos-x64
|
||||
build_script: build:mac
|
||||
build_args: --x64
|
||||
artifact_name: desktop-macos-x64
|
||||
defaults:
|
||||
run:
|
||||
working-directory: desktop
|
||||
|
||||
Reference in New Issue
Block a user