-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
29 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/.git | ||
/target | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,27 @@ | ||
FROM rust:slim | ||
|
||
RUN apt-get update -y && apt-get install -y p7zip pkg-config libpango1.0-dev libcairo2-dev libgtk-3-dev libglib2.0 libxcb1 | ||
FROM riey/kime-build:0.1.0 | ||
|
||
WORKDIR /opt/kime | ||
|
||
RUN mkdir -pv /opt/kime-out | ||
|
||
COPY docs ./docs | ||
COPY xtask ./xtask | ||
COPY engine ./engine | ||
COPY xim ./xim | ||
COPY wayland ./wayland | ||
COPY gtk2 ./gtk2 | ||
COPY gtk3 ./gtk3 | ||
COPY gtk4 ./gtk4 | ||
COPY qt5 ./qt5 | ||
COPY qt6 ./qt6 | ||
|
||
COPY Cargo.toml . | ||
COPY Cargo.lock . | ||
|
||
RUN mkdir .cargo | ||
RUN cargo vendor > .cargo/config | ||
RUN cargo install -f cargo-deb | ||
|
||
COPY CMakeLists.txt . | ||
COPY LICENSE . | ||
COPY .cargo ./.cargo | ||
|
||
COPY pkg ./pkg | ||
# vendor cargo deps | ||
RUN cargo vendor >> .cargo/config | ||
|
||
CMD ./pkg/release-deb.sh | ||
CMD cargo xtask build XIM WAYLAND GTK2 GTK3 GTK4 QT5 QT6 && 7z a /opt/kime-out/kime.7z ./build/out/* && cargo xtask release-deb /opt/kime-out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "kime-xtask" | ||
version = "0.8.0" | ||
version = "0.9.0" | ||
authors = ["Riey <[email protected]>"] | ||
edition = "2018" | ||
|
||
|