mirror of
https://github.com/ivabus/gui
synced 2025-06-08 00:00:27 +03:00
apply new tea build strategy to all pipelines
This commit is contained in:
parent
aa883acc4b
commit
28a84d8fe1
2 changed files with 7 additions and 16 deletions
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
|
@ -64,7 +64,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: build tauri for MacOS
|
- name: build tauri for MacOS
|
||||||
uses: teaxyz/setup@v0
|
# uses: teaxyz/setup@v0
|
||||||
if: startsWith(matrix.platform.name, 'darwin')
|
if: startsWith(matrix.platform.name, 'darwin')
|
||||||
# FROM: https://tauri.app/v1/guides/distribution/sign-macos
|
# FROM: https://tauri.app/v1/guides/distribution/sign-macos
|
||||||
env:
|
env:
|
||||||
|
@ -77,19 +77,14 @@ jobs:
|
||||||
# this only helps in notarization
|
# this only helps in notarization
|
||||||
# APPLE_ID: ${{ secrets.APPLE_ID }}
|
# APPLE_ID: ${{ secrets.APPLE_ID }}
|
||||||
# APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
# APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
||||||
with:
|
run: |
|
||||||
target: build
|
sh <(curl https://tea.xyz) -ES xc build
|
||||||
|
|
||||||
- name: build tauri for Linux
|
- name: build tauri for Linux
|
||||||
# uses: teaxyz/setup@v0
|
# uses: teaxyz/setup@v0
|
||||||
if: startsWith(matrix.platform.name, 'linux')
|
if: startsWith(matrix.platform.name, 'linux')
|
||||||
# TODO: https://tauri.app/v1/guides/distribution/sign-linux
|
# TODO: https://tauri.app/v1/guides/distribution/sign-linux
|
||||||
run: |
|
uses: ./devops/ubuntu
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf pkg-config
|
|
||||||
sh <(curl https://tea.xyz) --yes
|
|
||||||
tea .
|
|
||||||
tea xc build
|
|
||||||
|
|
||||||
- name: Get current unix ts - seconds
|
- name: Get current unix ts - seconds
|
||||||
id: date
|
id: date
|
||||||
|
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
@ -34,7 +34,6 @@ jobs:
|
||||||
echo "extension=$EXTENSION" >> $GITHUB_OUTPUT
|
echo "extension=$EXTENSION" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: build tauri for MacOS
|
- name: build tauri for MacOS
|
||||||
uses: teaxyz/setup@v0
|
|
||||||
if: startsWith(matrix.platform.name, 'darwin')
|
if: startsWith(matrix.platform.name, 'darwin')
|
||||||
# FROM: https://tauri.app/v1/guides/distribution/sign-macos
|
# FROM: https://tauri.app/v1/guides/distribution/sign-macos
|
||||||
env:
|
env:
|
||||||
|
@ -47,17 +46,14 @@ jobs:
|
||||||
# this only helps in notarization
|
# this only helps in notarization
|
||||||
# APPLE_ID: ${{ secrets.APPLE_ID }}
|
# APPLE_ID: ${{ secrets.APPLE_ID }}
|
||||||
# APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
# APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
||||||
with:
|
run: |
|
||||||
target: build
|
sh <(curl https://tea.xyz) -ES xc build
|
||||||
|
|
||||||
- name: build tauri for Linux
|
- name: build tauri for Linux
|
||||||
# uses: teaxyz/setup@v0
|
# uses: teaxyz/setup@v0
|
||||||
if: startsWith(matrix.platform.name, 'linux')
|
if: startsWith(matrix.platform.name, 'linux')
|
||||||
# TODO: https://tauri.app/v1/guides/distribution/sign-linux
|
# TODO: https://tauri.app/v1/guides/distribution/sign-linux
|
||||||
run: |
|
uses: ./devops/ubuntu
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf pkg-config
|
|
||||||
sh <(curl https://tea.xyz) xc build
|
|
||||||
|
|
||||||
|
|
||||||
- name: Get current unix ts - seconds
|
- name: Get current unix ts - seconds
|
||||||
|
|
Loading…
Reference in a new issue