add: x86 windows
This commit is contained in:
parent
a015a9b164
commit
a06ce7e183
10
.github/workflows/flutter-nightly.yml
vendored
10
.github/workflows/flutter-nightly.yml
vendored
@ -154,7 +154,7 @@ jobs:
|
|||||||
name: ${{ matrix.job.target }} (${{ matrix.job.os }})
|
name: ${{ matrix.job.target }} (${{ matrix.job.os }})
|
||||||
runs-on: ${{ matrix.job.os }}
|
runs-on: ${{ matrix.job.os }}
|
||||||
# Temporarily disable this action due to additional test is needed.
|
# Temporarily disable this action due to additional test is needed.
|
||||||
if: false
|
# if: false
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -175,15 +175,11 @@ jobs:
|
|||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable-${{ matrix.job.target }}
|
toolchain: nightly-${{ matrix.job.target }}
|
||||||
target: ${{ matrix.job.target }}
|
target: ${{ matrix.job.target }}
|
||||||
override: true
|
override: true
|
||||||
profile: minimal # minimal component installation (ie, no documentation)
|
profile: minimal # minimal component installation (ie, no documentation)
|
||||||
|
|
||||||
- name: Set Rust toolchain to the target
|
|
||||||
run: |
|
|
||||||
rustup default stable-${{ matrix.job.target }}
|
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
prefix-key: ${{ matrix.job.os }}-sciter
|
prefix-key: ${{ matrix.job.os }}-sciter
|
||||||
@ -204,6 +200,8 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
python3 res/inline-sciter.py
|
python3 res/inline-sciter.py
|
||||||
|
# Patch sciter x86
|
||||||
|
sed -i 's/branch = "dyn"/branch = "dyn_x86"/g' ./Cargo.toml
|
||||||
# Replace the link for the ico.
|
# Replace the link for the ico.
|
||||||
rm res/icon.ico && cp flutter/windows/runner/resources/app_icon.ico res/icon.ico
|
rm res/icon.ico && cp flutter/windows/runner/resources/app_icon.ico res/icon.ico
|
||||||
cargo build --features inline --release --bins
|
cargo build --features inline --release --bins
|
||||||
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -6343,7 +6343,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "trayicon"
|
name = "trayicon"
|
||||||
version = "0.1.3-1"
|
version = "0.1.3-1"
|
||||||
source = "git+https://github.com/open-trade/trayicon-rs#8d9c4489287752cc5be4a35c103198f7111112f9"
|
source = "git+https://github.com/open-trade/trayicon-rs#35bd01963271b45a0b6a0f65f1ce03a5f35bc691"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"winapi 0.3.9",
|
"winapi 0.3.9",
|
||||||
"winit",
|
"winit",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user