File tree Expand file tree Collapse file tree 3 files changed +81
-0
lines changed
Expand file tree Collapse file tree 3 files changed +81
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ # push:
3+ # branches: [master]
4+ workflow_dispatch :
5+ pull_request :
6+ branches : [master]
7+
8+ name : Fontconfig
9+
10+ jobs :
11+ build :
12+ name : compile android fontconfig then deploy
13+ runs-on : macos-14
14+ env :
15+ GH_TOKEN : ${{ github.token }}
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v4
19+ - uses : nttld/setup-ndk@v1
20+ id : setup-ndk
21+ with :
22+ ndk-version : r21e
23+ add-to-path : false
24+ local-cache : true
25+ - name : One Step
26+ run : .github/workflows/onestep.sh fontconfig android
27+ env :
28+ ANDROID_NDK_HOME : ${{ steps.setup-ndk.outputs.ndk-path }}
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ #
3+ # Copyright (C) 2021 Matt Reach<[email protected] >4+
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+ #
17+ #
18+ #
19+
20+ export LIB_NAME=' fontconfig'
21+ export LIPO_LIBS=" libfontconfig"
22+ export LIB_DEPENDS_BIN=" meson pkg-config"
23+ export GIT_LOCAL_REPO=extra/fontconfig
24+ export GIT_COMMIT=2.16.0
25+ export REPO_DIR=fontconfig
26+ export GIT_REPO_VERSION=2.16.0
27+ export PRE_COMPILE_TAG=fontconfig-2.16.0-241227150449
28+
29+ # you can export GIT_FONTCONFIG_UPSTREAM=git@xx:yy/fontconfig.git use your mirror
30+ if [[ " $GIT_FONTCONFIG_UPSTREAM " != " " ]] ; then
31+ export GIT_UPSTREAM=" $GIT_FONTCONFIG_UPSTREAM "
32+ else
33+ export GIT_UPSTREAM=https://gitlab.freedesktop.org/fontconfig/fontconfig.git
34+ fi
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ #
3+ # Copyright (C) 2021 Matt Reach<[email protected] >4+
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+ #
17+
18+ # call common meson build shell
19+ ./meson-compatible.sh " -Ddoc=disabled -Dtests=disabled -Dtools=disabled"
You can’t perform that action at this time.
0 commit comments