From 98136f0e024953eac1edaab38d975ac1cd4d3248 Mon Sep 17 00:00:00 2001 From: Krzysztof Modras Date: Mon, 21 Aug 2023 20:55:55 +0200 Subject: [PATCH] Github CI --- .github/workflows/test.yml | 18 ++++++++++ azure-pipelines.yml | 73 -------------------------------------- 2 files changed, 18 insertions(+), 73 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 azure-pipelines.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 000000000..777364cc9 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,18 @@ +name: Test Extenision Manifest V2 + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test-mv2: + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Install asdf & tools + uses: asdf-vm/actions/install@v2 + - name: Bootstrap + run: ./bootstrap.sh diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 5de6c9e9a..000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,73 +0,0 @@ -trigger: -- master -- develop - -pr: - branches: - include: - - '*' - -strategy: - matrix: - Cliqz: - scheme: 'Cliqz' - actions: 'build' - Ghostery: - scheme: 'Ghostery' - actions: 'build' - CliqzTests: - scheme: 'Cliqz' - actions: 'test' - -pool: - vmImage: 'macOS-10.15' - -steps: -- bash: | - sudo xcode-select --switch /Applications/Xcode_12.app - displayName: 'Change XCode to 12' - -- task: NodeTool@0 - displayName: 'Define Node to v12.18.4' - inputs: - versionSpec: '12.18.4' - -- bash: | - set -x - npm i -g npm@6.5 - /usr/local/bin/npm ci - displayName: 'Install Node modules' - -- bash: | - set -x - npm run build-user-scripts - displayName: Generate User Scripts - -- task: UseRubyVersion@0 - inputs: - versionSpec: '2.6' - addToPath: true - -- bash: | - set -x - gem install bundler:2.1.4 --force - bundle install --retry=3 - bundle exec pod repo update - bundle exec pod install - displayName: 'Install CocoaPods' - -- bash: bundle exec fastlane lint - displayName: 'Lint' - -- task: Xcode@5 - inputs: - actions: '$(actions)' - sdk: 'iphonesimulator' - xcWorkspacePath: 'UserAgent.xcworkspace' - scheme: '$(scheme)' - packageApp: true - configuration: 'CI' - destinationPlatformOption: 'iOS' - destinationSimulators: 'iPhone 11' - publishJUnitResults: true - args: '-derivedDataPath builds'