fix(ci): use ubuntu-20.04 to build the CLI (#6632)

This commit is contained in:
Lucas Fernandes Nogueira 2023-04-04 10:58:09 -03:00 committed by GitHub
parent 7fec0f083c
commit 5769ee6d29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 22 additions and 7 deletions

View File

@ -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"
]

View File

@ -0,0 +1,5 @@
---
"cli.js": patch
---
Use Ubuntu 20.04 to compile the CLI, increasing the minimum libc version required.

View File

@ -0,0 +1,6 @@
---
"cli.rs": patch
---
- Use Ubuntu 20.04 to compile the CLI for cargo-binstall, increasing the minimum libc required.
-

View File

@ -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

View File

@ -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 }}

View File

@ -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

View File

@ -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