-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: ios: update tos and pp files * chore: ios: update Fastlane configuration * Test build (#2425) * Revert "chore(deps): bump raptorq from 1.8.1 to 2.0.0 in /rust (#2372)" This reverts commit d31f553. * fix: allow ded_code * fix: permission for semantic workflow * fix: clippy * fix: change semantic permission to write * fix: change token usage * fix: pull_request event * fix: add concurency * fix: add actor * fix: lint problem * fix: change signing cecrt * fix: change appfile * change team id * fix: semantic triggers * fix: change actors * fix: remove unnecessary changes * fix: return semantic run back * fix: temp add stepanLav --------- Co-authored-by: valentunn <[email protected]> * fix: XCode 16 build * fix: fix opencv library update * fix warning * linting * fix: build workflow (#2434) * fix: dependencies * fix: upload-artifacts * fix deny * fix manifest path * fix: semantic permissions * fix: use app instead of github token * fix: update version * fix: rust build fix token usage fix: return events back fix: dependencies update list of deny rollback rust fix: try to use particullar version return stable back fix: add test default fix tiny disable cache disable cache fix: qr reader phone fix: qr_reader use target_os fix: cargo clippy fix: fmt fix: remove semantic changes fix: remove semantic changes * fix: clippy fix: clippy fix: clippy fix: clippy fix: clippy * fix: redundant decrease * fix: workflows fix: ations * fix: versions * fix cargo.lock * fix: return small fixes back * fix: deny config * fix: clippy fix clippy fix clippy * fix: rollback version to ref * fix: deny * fix: macos version * downgrade opencv * fix: remove cache * fix: update opencv usage * fix: fmt * fix version in actions * fix: spellcheck * fix build script * fix: build version for ios * fix: return target_os definition * fix: rollback ubuntu version * make directory writable * downgrade ubuntu * fix: use latest opencv on ubuntu (#2437) * fix: use latest opencv on ubuntu * feat: add using opencv dockerfile * trigger event * remove test trigger * use builded container * rebuild image * update build image * debug * swithc to root * fix install dep * fix source * fix dependency * fix dependency * fix: dependency * build new image version * fix source * fix: build errors * fix: install dep * fix: dependency * fix: dependency * fix dependency * fix: remove sudo command * fix dependency in doc * fix: update opencv version * fix: update opencv * fix: decrease repetition * try to use action * use fixed version * fix version format * allow arm64 and build libsigner based on platform * rollback building --------- Co-authored-by: Russel <[email protected]> * fix: Password intersection with borders when importing keyset via banana split (#2430) * feat: add custom modifier for plain text field * refactor * fix: missing filter missing in the empty state (#2432) * feat: add custom modifier for plain text field * refactor * fix: display header with filter button in the empty state * refactor into separate extensions --------- Co-authored-by: Krzysztof Rodak <[email protected]> Co-authored-by: Krzysztof Rodak <[email protected]> Co-authored-by: Stepan Lavrentev <[email protected]> Co-authored-by: valentunn <[email protected]>
- Loading branch information
1 parent
63e13b4
commit 905506c
Showing
75 changed files
with
2,161 additions
and
1,917 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,17 @@ | ||
{ | ||
"name": "Ubuntu Development", | ||
"image": "ubuntu:22.04", | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-vscode.rust-analyzer" | ||
] | ||
} | ||
}, | ||
|
||
"features": { | ||
"ghcr.io/devcontainers/features/git:1": {}, | ||
"ghcr.io/devcontainers/features/github-cli:1": {} | ||
} | ||
} |
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,20 @@ | ||
name: 'Install Android Dependencies' | ||
description: 'Sets up JDK and Android SDK/NDK' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Set up JDK environment | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'adopt' | ||
java-version: 17 | ||
|
||
- name: Setup Android SDK | ||
uses: android-actions/setup-android@v3 | ||
with: | ||
cmdline-tools-version: 12266719 | ||
|
||
- name: Install NDK | ||
shell: bash | ||
run: echo "y" | ${ANDROID_SDK_ROOT}/cmdline-tools/16.0/bin/sdkmanager --install "ndk;24.0.8215888" --sdk_root=${ANDROID_SDK_ROOT} |
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 |
---|---|---|
|
@@ -14,14 +14,9 @@ on: | |
jobs: | ||
check: | ||
name: Check on MacOS | ||
runs-on: macos-13 | ||
runs-on: macos-15 | ||
steps: | ||
|
||
- name: Cancel Previous Runs | ||
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1 | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout sources | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -32,22 +27,25 @@ jobs: | |
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '2.7' | ||
bundler-cache: true | ||
bundler-cache: false | ||
|
||
- name: Setup - Xcode | ||
run: sudo xcode-select -switch '/Applications/Xcode_15.0.app/Contents/Developer' && /usr/bin/xcodebuild -version | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: 16 | ||
|
||
- name: Install dependencies | ||
run: | | ||
brew install sourcery | ||
bundle install | ||
- name: Get cached Swift Packages managed by Xcode | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/Library/Developer/Xcode/DerivedData/**/SourcePackages/ | ||
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }} | ||
restore-keys: | | ||
${{ runner.os }}-spm- | ||
# - name: Get cached Swift Packages managed by Xcode | ||
# uses: actions/cache@v3 | ||
# with: | ||
# path: ~/Library/Developer/Xcode/DerivedData/**/SourcePackages/ | ||
# key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }} | ||
# restore-keys: | | ||
# ${{ runner.os }}-spm- | ||
|
||
- name: Install Rust targets | ||
uses: dtolnay/rust-toolchain@stable | ||
|
@@ -60,12 +58,12 @@ jobs: | |
with: | ||
crate: uniffi_bindgen | ||
version: 0.22.0 # Must be in sync with version in Cargo.toml | ||
use-tool-cache: true | ||
use-tool-cache: false | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3 | ||
with: | ||
workspaces: rust -> rust/target | ||
# - name: Rust Cache | ||
# uses: Swatinem/rust-cache@27b8ea9368cf428f0bfe41b0876b1a7e809d9844 # v2.7.7 | ||
# with: | ||
# workspaces: rust -> rust/target | ||
|
||
- name: Build iOS and run tests | ||
shell: bash | ||
|
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 |
---|---|---|
|
@@ -15,11 +15,9 @@ jobs: | |
build: | ||
name: Build | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: ghcr.io/${{ github.repository }}/opencv-builder:4.11.0 | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1 | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout Sources | ||
uses: actions/[email protected] | ||
|
@@ -30,7 +28,7 @@ jobs: | |
- name: Install System Dependencies (Linux) | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y clang libclang-dev libopencv-dev | ||
sudo apt-get install -y clang libclang-dev | ||
- name: Install Rust stable toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
|
@@ -40,34 +38,28 @@ jobs: | |
with: | ||
crate: uniffi_bindgen | ||
version: 0.22.0 # Must be in sync with version in Cargo.toml | ||
use-tool-cache: true | ||
use-tool-cache: false | ||
|
||
- name: Install additional rust targets | ||
run: rustup target add aarch64-linux-android armv7-linux-androideabi x86_64-linux-android | ||
|
||
- name: Set up JDK environment | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'adopt' | ||
java-version: 17 | ||
|
||
- name: Install NDK | ||
run: echo "y" | sudo ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;24.0.8215888" --sdk_root=${ANDROID_SDK_ROOT} | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3 | ||
with: | ||
workspaces: rust -> rust/target | ||
|
||
- name: Gradle Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
|
||
- name: Install Android Dependencies | ||
uses: ./.github/actions/install-android-dep | ||
|
||
# - name: Rust Cache | ||
# uses: Swatinem/rust-cache@27b8ea9368cf428f0bfe41b0876b1a7e809d9844 # v2.7.7 | ||
# with: | ||
# workspaces: rust -> rust/target | ||
|
||
# - name: Gradle Cache | ||
# uses: actions/cache@v3 | ||
# with: | ||
# path: | | ||
# ~/.gradle/caches | ||
# ~/.gradle/wrapper | ||
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/.gradle*', '**/gradle-wrapper.properties') }} | ||
# restore-keys: | | ||
# ${{ runner.os }}-gradle- | ||
|
||
- name: Build | ||
run: | | ||
|
@@ -76,12 +68,10 @@ jobs: | |
makeapk: | ||
name: Build unsigned APKs | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: ghcr.io/${{ github.repository }}/opencv-builder:4.11.0 | ||
# if: github.ref == ' refs/head/main' | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1 | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout Sources | ||
uses: actions/[email protected] | ||
|
@@ -90,10 +80,9 @@ jobs: | |
submodules: 'recursive' | ||
|
||
- name: Install System Dependencies (Linux) | ||
if: runner.os == 'Linux' | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y clang libclang-dev libopencv-dev | ||
sudo apt-get install -y clang libclang-dev | ||
- name: Install Rust stable toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
|
@@ -103,41 +92,35 @@ jobs: | |
with: | ||
crate: uniffi_bindgen | ||
version: 0.22.0 # Must be in sync with version in Cargo.toml | ||
use-tool-cache: true | ||
use-tool-cache: false | ||
|
||
- name: Install additional rust targets | ||
run: rustup target add aarch64-linux-android armv7-linux-androideabi x86_64-linux-android | ||
|
||
- name: Set up JDK environment | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'adopt' | ||
java-version: 17 | ||
- name: Install Android Dependencies | ||
uses: ./.github/actions/install-android-dep | ||
|
||
- name: Install NDK | ||
run: echo "y" | sudo ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;24.0.8215888" --sdk_root=${ANDROID_SDK_ROOT} | ||
# - name: Rust Cache | ||
# uses: Swatinem/rust-cache@27b8ea9368cf428f0bfe41b0876b1a7e809d9844 # v2.7.7 | ||
# with: | ||
# workspaces: rust -> rust/target | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3 | ||
with: | ||
workspaces: rust -> rust/target | ||
|
||
- name: Gradle Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
# - name: Gradle Cache | ||
# uses: actions/cache@v3 | ||
# with: | ||
# path: | | ||
# ~/.gradle/caches | ||
# ~/.gradle/wrapper | ||
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/.gradle*', '**/gradle-wrapper.properties') }} | ||
# restore-keys: | | ||
# ${{ runner.os }}-gradle- | ||
|
||
- name: Assemble unsigned debug apk | ||
run: | | ||
./gradlew clean assembleDebug --stacktrace | ||
- name: Upload Gplay unsigned APKs | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: signer-debug-unsigned | ||
path: | | ||
|
Oops, something went wrong.