test linux build

This commit is contained in:
neil 2023-01-06 06:54:03 +08:00
parent 7413873974
commit a8a93ef98e

View file

@ -125,24 +125,25 @@ jobs:
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
# - os: [self-hosted, linux, ARM64] # note: if this fails maybe the runner got replaced, manually installed gtk there
# name: linux+aarch64 # sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
- os: [self-hosted, linux, ARM64]
name: linux+aarch64
container: ${{ matrix.platform.container }} container: ${{ matrix.platform.container }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
# will this work on tea? this is not packaged yet? - name: install dependencies (ubuntu only)
# - name: install dependencies (ubuntu only) if: matrix.platform.name == 'linux+x86-64'
# if: matrix.platform.name == 'linux+x86-64' 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 patchelf pkg-config
- name: build tauri for MacOS - name: build tauri for MacOS
uses: teaxyz/setup@v0 uses: teaxyz/setup@v0