-
-
Notifications
You must be signed in to change notification settings - Fork 674
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alternative frontend with Slint (#1102)
- Loading branch information
Showing
88 changed files
with
8,430 additions
and
856 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
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,54 @@ | ||
name: 🐧 Linux CLI Eyra | ||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '0 0 * * 2' | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
linux-cli: | ||
strategy: | ||
matrix: | ||
toolchain: [ nightly ] | ||
type: [ release ] | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install basic libraries | ||
run: sudo apt update || true; sudo apt install -y ffmpeg | ||
|
||
# New versions of nightly rust may call new unimplemented in eyra functions, so use const version | ||
- name: Setup rust version | ||
run: rustup default nightly-2023-11-29 | ||
|
||
- name: Add eyra | ||
run: | | ||
cd czkawka_cli | ||
cargo add eyra --rename=std | ||
echo 'fn main() { println!("cargo:rustc-link-arg=-nostartfiles"); }' > build.rs | ||
cd .. | ||
- name: Build Release | ||
run: cargo build --release --bin czkawka_cli | ||
if: ${{ (matrix.type == 'release') }} | ||
|
||
- name: Store Linux CLI | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: czkawka_cli-${{ runner.os }}-${{ matrix.toolchain }} | ||
path: target/release/czkawka_cli | ||
if: ${{ matrix.type == 'release' }} | ||
|
||
- name: Linux Regression Test | ||
run: | | ||
wget https://github.com/qarmin/czkawka/releases/download/6.0.0/TestFiles.zip | ||
cd ci_tester | ||
cargo build --release | ||
cd .. | ||
ci_tester/target/release/ci_tester target/release/czkawka_cli | ||
if: ${{ matrix.type == 'release' }} |
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
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
Oops, something went wrong.