| 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 |
name: emf2svg - Alpine-x86_64 |
| 27 |
|
| 28 |
on: |
| 29 |
push: |
| 30 |
branches: [ master ] |
| 31 |
pull_request: |
| 32 |
workflow_dispatch: |
| 33 |
|
| 34 |
concurrency: |
| 35 |
group: '${{ github.workflow }}-${{ github.head_ref || github.ref_name }}' |
| 36 |
cancel-in-progress: true |
| 37 |
|
| 38 |
jobs: |
| 39 |
build-and-test: |
| 40 |
runs-on: ubuntu-latest |
| 41 |
container: |
| 42 |
image: alpine:latest |
| 43 |
env: |
| 44 |
BUILD_TYPE: Release |
| 45 |
VCPKG_FORCE_SYSTEM_BINARIES: 1 |
| 46 |
steps: |
| 47 |
- run: apk --no-cache add build-base cmake git valgrind argp-standalone gcompat clang gperf flex bison gettext-dev python3 ninja zip unzip curl pkgconfig libxml2-utils font-noto-hebrew font-noto-arabic libpng freetype fontconfig libuuid autoconf autoconf-archive automake libtool |
| 48 |
- uses: actions/checkout@v4 |
| 49 |
with: |
| 50 |
submodules: recursive |
| 51 |
- run: git config --global --add safe.directory $(pwd) |
| 52 |
- run: mkdir -p cache && echo "VCPKG_DEFAULT_BINARY_CACHE=$(pwd)/cache" >> $GITHUB_ENV |
| 53 |
- uses: actions/cache@v4 |
| 54 |
with: |
| 55 |
path: cache |
| 56 |
key: ${{ github.workflow }}-vcpkg-${{ hashFiles('.git/modules/*/HEAD') }} |
| 57 |
- run: cmake -B build -G Ninja -DCMAKE_MAKE_PROGRAM=ninja -DVCPKG_TARGET_TRIPLET=x64-linux -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ |
| 58 |
- run: ninja -C build |
| 59 |
- run: ./tests/resources/check_correctness.sh -r -s |
| 60 |
- run: ./tests/resources/check_correctness.sh -r -s -e tests/resources/emf-corrupted/ -xN |
| 61 |
- run: ./tests/resources/check_correctness.sh -r -s -e tests/resources/emf-ea/ |
| 62 |
|