tmp rm macos builds

This commit is contained in:
neil 2023-01-06 07:14:41 +08:00
parent b5f65e382f
commit 46733038e4

View file

@ -121,16 +121,16 @@ jobs:
strategy: strategy:
matrix: matrix:
platform: platform:
- os: macos-11 # - os: macos-11
name: darwin+x86-64 # name: darwin+x86-64
id: mac_latest # id: mac_latest
# TODO: blocked by gtk packages # TODO: blocked by gtk packages
- os: ubuntu-latest - os: ubuntu-latest
name: linux+x86-64 name: linux+x86-64
id: linux id: linux
- os: [self-hosted, macOS, ARM64] # - os: [self-hosted, macOS, ARM64]
name: darwin+aarch64 # name: darwin+aarch64
id: mac_m1 # id: mac_m1
# note: if this fails maybe the runner got replaced, manually installed gtk there # note: if this fails maybe the runner got replaced, manually installed gtk there
# sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf # sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
- os: [self-hosted, linux, ARM64] - os: [self-hosted, linux, ARM64]
@ -144,6 +144,7 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev
sh <(curl https://tea.xyz)
- name: build tauri for MacOS - name: build tauri for MacOS
uses: teaxyz/setup@v0 uses: teaxyz/setup@v0
@ -163,11 +164,12 @@ jobs:
target: build target: build
- name: build tauri for Linux - name: build tauri for Linux
uses: teaxyz/setup@v0 # uses: teaxyz/setup@v0
if: matrix.platform.name == 'linux+x86-64' || matrix.platform.name == 'linux+aarch64' if: matrix.platform.name == 'linux+x86-64' || matrix.platform.name == 'linux+aarch64'
# TODO: https://tauri.app/v1/guides/distribution/sign-linux # TODO: https://tauri.app/v1/guides/distribution/sign-linux
with: run: |
target: build tea .
tea build
- name: build platform output - name: build platform output
id: build_platform id: build_platform