|
22 | 22 | runs-on: ubuntu-latest
|
23 | 23 | strategy:
|
24 | 24 | matrix:
|
25 |
| - type: [libs, client, apps, libs-vcpkg, client-vcpkg, apps-vcpkg, libs-cmake, manager-with-webview-vcpkg, server, manager-with-webview, manager-without-webview, unit-test, integration-test] |
| 25 | + type: [libs, client, apps, libs-vcpkg, client-vcpkg, apps-vcpkg, libs-cmake, libs-arm64, apps-arm64, manager-with-webview-vcpkg, server, manager-with-webview, manager-without-webview, unit-test, integration-test] |
26 | 26 | fail-fast: false
|
27 | 27 | steps:
|
28 | 28 | - uses: actions/checkout@v2
|
|
34 | 34 | sudo apt-get -qq update
|
35 | 35 | sudo apt-get install -y libftgl-dev freeglut3-dev libcurl4-openssl-dev libxmu-dev libxi-dev libfcgi-dev libxss-dev libnotify-dev libxcb-util0-dev libgtk-3-dev libsecret-1-dev libgcrypt20-dev libsystemd-dev libwebkit2gtk-4.0-dev p7zip-full libxxf86vm-dev ocl-icd-opencl-dev zip
|
36 | 36 |
|
| 37 | + - name: Install dependencies for arm64 |
| 38 | + if: success() && endsWith(matrix.type, 'arm64') |
| 39 | + run: | |
| 40 | + sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu |
| 41 | +
|
37 | 42 | - name: Install dependencies for integration testing
|
38 |
| - if: matrix.type == 'integration-test' |
| 43 | + if: success() && matrix.type == 'integration-test' |
39 | 44 | run: |
|
40 | 45 | sudo apt-get install ansible
|
41 | 46 | sudo service mysql stop
|
@@ -112,14 +117,27 @@ jobs:
|
112 | 117 | run: ./3rdParty/buildLinuxDependencies.sh --gtest-only && ./configure --disable-client --disable-manager --enable-unit-tests CFLAGS="-g -O0" CXXFLAGS="-g -O0"
|
113 | 118 |
|
114 | 119 | - name: Make
|
115 |
| - if: success() && ! contains(matrix.type, 'integration-test') && ! endsWith(matrix.type, 'cmake') |
| 120 | + if: success() && ! contains(matrix.type, 'integration-test') && ! endsWith(matrix.type, 'cmake') && ! endsWith(matrix.type, 'arm64') |
116 | 121 | run: make
|
117 | 122 |
|
118 | 123 | - name: Make for cmake
|
119 | 124 | if: success() && endsWith(matrix.type, 'cmake')
|
120 | 125 | run:
|
121 | 126 | cmake --build build
|
122 | 127 |
|
| 128 | + - name: Build libraries for amd64 |
| 129 | + if: success() && matrix.type == 'libs-arm64' |
| 130 | + run: | |
| 131 | + ./linux/arm64/build_libraries_arm64.sh |
| 132 | +
|
| 133 | + - name: Build apps for amd64 |
| 134 | + if: success() && matrix.type == 'apps-arm64' |
| 135 | + run: | |
| 136 | + ./linux/arm64/build_libraries_arm64.sh |
| 137 | + ./linux/arm64/build_openssl_arm64.sh |
| 138 | + ./linux/arm64/build_curl_arm64.sh |
| 139 | + ./linux/arm64/build_example_arm64.sh |
| 140 | +
|
123 | 141 | - name: Execute unit-test and report coverage
|
124 | 142 | if: success() && matrix.type == 'unit-test'
|
125 | 143 | run: ./tests/executeUnitTests.sh --report-coverage --report-xml
|
|
0 commit comments