Add support for multiple Output ICC profile types #15
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build and test | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| linux: | |
| name: Build and run tests on Linux | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install build and test dependencies | |
| run: | | |
| export DEBIAN_FRONTEND=noninteractive | |
| export DEBCONF_NONINTERACTIVE_SEEN=true | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-suggests --no-install-recommends \ | |
| autogen \ | |
| dh-autoreconf \ | |
| build-essential \ | |
| clang \ | |
| cmake \ | |
| git \ | |
| liblcms2-dev \ | |
| llvm \ | |
| libtool \ | |
| nodejs \ | |
| npm \ | |
| pkg-config \ | |
| python3 \ | |
| shtool \ | |
| valgrind | |
| sudo apt-get clean | |
| - name: Install yarn package manager | |
| run: npm install --global yarn | |
| - name: Build and install library | |
| run: | | |
| mkdir build | |
| cd build | |
| cmake .. | |
| make | |
| sudo make install | |
| - name: Build and install Emscripten SDK | |
| run: | | |
| git clone https://github.com/emscripten-core/emsdk.git | |
| cd emsdk | |
| git pull | |
| ./emsdk install latest | |
| ./emsdk activate latest | |
| source ./emsdk_env.sh | |
| - name: Build WebAssembly bindings | |
| run: | | |
| yarn run clean | |
| sh ./emsdk/emsdk activate latest | |
| source ./emsdk/emsdk_env.sh | |
| yarn run build | |
| - name: Perform npm package publish dry run | |
| run: | | |
| sh ./emsdk/emsdk activate latest | |
| source ./emsdk/emsdk_env.sh | |
| npm publish . --dry-run | |
| macos: | |
| name: Build and run tests on macOS | |
| runs-on: macos-latest | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install build and test dependencies | |
| run: | | |
| brew update | |
| brew upgrade | |
| brew install \ | |
| autoconf \ | |
| automake \ | |
| cmake \ | |
| emscripten \ | |
| libtool \ | |
| little-cms2 \ | |
| llvm \ | |
| node \ | |
| yarn | |
| - name: Build and install library | |
| run: | | |
| mkdir build | |
| cd build | |
| cmake -DCMAKE_PREFIX_PATH=$PWD/install -DCMAKE_INSTALL_PREFIX=$PWD/install .. | |
| make | |
| make install | |
| - name: Build WebAssembly bindings | |
| run: | | |
| yarn run clean | |
| yarn run build | |
| - name: Perform npm package publish dry run | |
| run: npm publish . --dry-run |