This repository has been archived by the owner on Jul 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (51 loc) · 2.29 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: build
on: push
jobs:
build:
runs-on: ${{ matrix.config.os }}
continue-on-error: false
strategy:
fail-fast: false
matrix:
config:
- { os: ubuntu-22.04, profile_host: ubuntu-22.04-clang, profile_build: ubuntu-22.04-clang, }
- { os: ubuntu-22.04, profile_host: ubuntu-22.04-android-armv8, profile_build: ubuntu-22.04-clang, }
- { os: ubuntu-20.04, profile_host: ubuntu-20.04-clang, profile_build: ubuntu-20.04-clang, }
- { os: macos-10.15, profile_host: macos-10.15-clang, profile_build: macos-10.15-clang, }
- { os: windows-2019, profile_host: windows-2019-msvc, profile_build: windows-2019-msvc, }
steps:
- name: checkout
uses: actions/checkout@v3
- name: set up python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- run: pip install conan
- name: conan profiles
run: |
conan profile new default
cp profiles/* "$(conan config home)/profiles"
- name: cache
uses: actions/cache@v3
with:
path: |
~/.conan/data
C:/.conan
C:/Users/runneradmin/.conan/data
key: ${{ matrix.config.profile_build }}-${{ matrix.config.profile_host }}-rev1
restore-keys: |
${{ matrix.config.profile_build }}-${{ matrix.config.profile_host }}-
- run: conan export recipes/fontforge/conanfile.py
- run: conan export recipes/glib/conanfile.py
- run: conan export recipes/libuninameslist/conanfile.py
- run: conan export recipes/pango/conanfile.py
- run: conan export recipes/pdf2htmlEX/conanfile.py
- run: conan export recipes/poppler/conanfile.py
- run: conan export recipes/spiro/conanfile.py
- run: conan create --build=missing --profile:host=${{ matrix.config.profile_host }} --profile:build=${{ matrix.config.profile_build }} recipes/pdf2htmlEX/conanfile.py
#- name: conan setup
# run: |
# conan remote add odr-conan-repo https://odr.jfrog.io/artifactory/api/conan/odr-conan
# conan config set general.revisions_enabled=1
# conan user -p "${{ secrets.JFROG_PASSWORD }}" -r odr-conan-repo "${{ secrets.JFROG_USERNAME }}"
#- run: conan upload pdf2htmlEX -r odr-conan-repo -c