mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-02-06 13:37:09 +00:00
fix(ci): use ubuntu-20.04 to build the CLI (#6632)
This commit is contained in:
parent
7fec0f083c
commit
5769ee6d29
@ -78,6 +78,8 @@
|
||||
".changes/tauri-mobile-entry-point.md",
|
||||
".changes/tls-features-automatically-enabled.md",
|
||||
".changes/tls-features-refactor.md",
|
||||
".changes/ubuntu-20.04-cli.js.md",
|
||||
".changes/ubuntu-20.04-cli.rs.md",
|
||||
".changes/with-webview.md",
|
||||
".changes/wry26.md"
|
||||
]
|
||||
|
||||
5
.changes/ubuntu-20.04-cli.js.md
Normal file
5
.changes/ubuntu-20.04-cli.js.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Use Ubuntu 20.04 to compile the CLI, increasing the minimum libc version required.
|
||||
6
.changes/ubuntu-20.04-cli.rs.md
Normal file
6
.changes/ubuntu-20.04-cli.rs.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
---
|
||||
|
||||
- Use Ubuntu 20.04 to compile the CLI for cargo-binstall, increasing the minimum libc required.
|
||||
-
|
||||
10
.github/workflows/publish-cli-js.yml
vendored
10
.github/workflows/publish-cli-js.yml
vendored
@ -40,14 +40,14 @@ jobs:
|
||||
build: yarn build:release --target i686-pc-windows-msvc
|
||||
target: i686-pc-windows-msvc
|
||||
architecture: x64
|
||||
- host: ubuntu-18.04
|
||||
- host: ubuntu-20.04
|
||||
target: x86_64-unknown-linux-gnu
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
|
||||
build: |
|
||||
cd tooling/cli/node
|
||||
yarn build:release --target x86_64-unknown-linux-gnu
|
||||
strip *.node
|
||||
- host: ubuntu-18.04
|
||||
- host: ubuntu-20.04
|
||||
target: x86_64-unknown-linux-musl
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
||||
build: |
|
||||
@ -59,14 +59,14 @@ jobs:
|
||||
build: |
|
||||
yarn build:release --features openssl-vendored --target=aarch64-apple-darwin
|
||||
strip -x *.node
|
||||
- host: ubuntu-18.04
|
||||
- host: ubuntu-20.04
|
||||
target: aarch64-unknown-linux-gnu
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
|
||||
build: |
|
||||
cd tooling/cli/node
|
||||
yarn build:release --target aarch64-unknown-linux-gnu
|
||||
aarch64-unknown-linux-gnu-strip *.node
|
||||
- host: ubuntu-18.04
|
||||
- host: ubuntu-20.04
|
||||
architecture: x64
|
||||
target: armv7-unknown-linux-gnueabihf
|
||||
setup: |
|
||||
@ -75,7 +75,7 @@ jobs:
|
||||
build: |
|
||||
yarn build:release --target=armv7-unknown-linux-gnueabihf
|
||||
arm-linux-gnueabihf-strip *.node
|
||||
- host: ubuntu-18.04
|
||||
- host: ubuntu-20.04
|
||||
architecture: x64
|
||||
target: aarch64-unknown-linux-musl
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
||||
|
||||
4
.github/workflows/publish-cli-rs.yml
vendored
4
.github/workflows/publish-cli-rs.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- os: ubuntu-18.04
|
||||
- os: ubuntu-20.04
|
||||
rust_target: x86_64-unknown-linux-gnu
|
||||
ext: ''
|
||||
- os: macos-latest
|
||||
@ -39,7 +39,7 @@ jobs:
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: ${{ matrix.config.rust_target }}
|
||||
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: ${{ matrix.config.rust_target }}
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
|
||||
## \[2.0.0-alpha.6]
|
||||
|
||||
- Use Ubuntu 20.04 to compile the CLI for cargo-binstall, increasing the minimum libc required.
|
||||
- Automatically enable the `rustls-tls` tauri feature on mobile and `native-tls` on desktop if `rustls-tls` is not enabled.
|
||||
- [cfdee00f](https://www.github.com/tauri-apps/tauri/commit/cfdee00f2b1455a9719bc44823fdaeabbe4c1cb2) refactor(core): fix tls features, use rustls on mobile ([#6591](https://www.github.com/tauri-apps/tauri/pull/6591)) on 2023-03-30
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
|
||||
## \[2.0.0-alpha.6]
|
||||
|
||||
- Use Ubuntu 20.04 to compile the CLI, increasing the minimum libc version required.
|
||||
- Automatically enable the `rustls-tls` tauri feature on mobile and `native-tls` on desktop if `rustls-tls` is not enabled.
|
||||
- [cfdee00f](https://www.github.com/tauri-apps/tauri/commit/cfdee00f2b1455a9719bc44823fdaeabbe4c1cb2) refactor(core): fix tls features, use rustls on mobile ([#6591](https://www.github.com/tauri-apps/tauri/pull/6591)) on 2023-03-30
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user