Skip to content

feat(www): add initial draft of a new contact view #1905

feat(www): add initial draft of a new contact view

feat(www): add initial draft of a new contact view #1905

name: Build and Test
concurrency:
group: ${{ github.head_ref || github.ref }}
cancel-in-progress: true
on:
pull_request:
types:
- opened
- synchronize
push:
branches:
- master
jobs:
web_test:
name: Web Test
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install NPM Dependencies
run: npm ci
- name: Run Linter
run: npm run action lint
- name: Build Web App
run: npm run action www/build
- name: Test Web App
run: npm run action www/test -- --ci
- uses: codecov/codecov-action@v3
with:
files: ./output/coverage/www/coverage-final.json
flags: unittests, www
linux_debug_build:
name: Linux Debug Build
runs-on: ubuntu-20.04
timeout-minutes: 10
needs: web_test
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install NPM Dependencies
run: npm ci
- name: Build Linux Client
run: npm run action electron/build linux
windows_debug_build:
name: Windows Debug Build
runs-on: windows-2019
timeout-minutes: 10
needs: web_test
steps:
- name: Support longpaths
run: git config --system core.longpaths true
- name: Checkout
uses: actions/[email protected]
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install NPM Dependencies
run: npm ci
- name: Build Windows Client
run: npm run action electron/build windows
macos_debug_build:
name: MacOS Debug Build
runs-on: macos-13
timeout-minutes: 20
needs: web_test
steps:
- name: Display XCode
run: xcode-select --print-path
- name: Checkout
uses: actions/[email protected]
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install NPM Dependencies
run: npm ci
- name: Test OutlineAppleLib
run: npm run action cordova/test macos
- name: Build MacOS Client
run: npm run action cordova/build macos
- uses: codecov/codecov-action@v3
with:
xcode: true
xcode_archive_path: ./output/coverage/apple/macos/TestResult.xcresult
flags: unittests, apple, macos
ios_debug_build:
name: iOS Debug Build
runs-on: macos-13
timeout-minutes: 20
needs: web_test
steps:
- name: Display XCode
run: xcode-select --print-path
- name: Checkout
uses: actions/[email protected]
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install NPM Dependencies
run: npm ci
- name: Test OutlineAppleLib
run: npm run action cordova/test ios
- name: Build iOS Client
run: npm run action cordova/build ios
- uses: codecov/codecov-action@v3
with:
xcode: true
xcode_archive_path: ./output/coverage/apple/ios/TestResult.xcresult
flags: unittests, apple, ios
android_debug_build:
name: Android Debug Build
runs-on: ubuntu-20.04
timeout-minutes: 10
needs: web_test
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install NPM Dependencies
run: npm ci
- name: Install Java
uses: actions/[email protected]
with:
java-version: 11
- name: Setup Android
run: bash ./tools/build/setup_linux_android.sh
- name: Build Android Client
run: npm run action cordova/build android -- --verbose