Skip to content

install xsimd if needed #2

install xsimd if needed

install xsimd if needed #2

Workflow file for this run

name: Build All
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
jobs:
build-cmake:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-arm-latest, windows-latest, macos-latest, macos-arm-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'adopt'
cache: 'gradle'
- uses: actions/cache@v3
with:
path: ~/.konan
key: ${{ runner.os }}-konan
- if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-arm-latest'
run: |
apt-get install xsimd
- if: matrix.os == 'macos-latest' || matrix.os == 'macos-arm-latest'
run: |
brew install xsimd
- uses: gradle/gradle-build-action@v2
with:
arguments: cmakeBuild
build:
needs: build-cmake
runs-on: macos-latest
steps:
- uses: actions/cache@v3
with:
path: ~/.konan
key: ${{ runner.os }}-konan
- uses: gradle/gradle-build-action@v2
with:
arguments: -Pproduction=true build
release:
needs: build
runs-on: macos-latest
steps:
- uses: actions/cache@v3
with:
path: ~/.konan
key: ${{ runner.os }}-konan
- uses: gradle/gradle-build-action@v2
with:
arguments: -Pproduction=true publish