Skip to content

Merge pull request #87 from indoorvivants/update/nscplugin-0.4.16 #177

Merge pull request #87 from indoorvivants/update/nscplugin-0.4.16

Merge pull request #87 from indoorvivants/update/nscplugin-0.4.16 #177

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["*"]
jobs:
build:
name: CI
strategy:
fail-fast: false
matrix:
os: [macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Cache SBT
uses: actions/cache@v3
with:
path: |
~/.ivy2/cache
~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }}
- name: Cache sbt-vcpkg
uses: actions/cache@v3
with:
path: |
~/Library/Caches/sbt-vcpkg
key: ${{ runner.os }}-sbt-vcpkg
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17
- name: Setup
run: |
PLATFORM="$(uname)"
if [ $PLATFORM == "Darwin" ]; then
echo "It's a Mac"
brew install llvm@14
else
echo "It's a Linux"
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 14
fi
- name: Compile examples
run: sbt parts/nativeLink
mergify-build-checkpoint:
runs-on: ubuntu-latest
needs: [build]
steps:
- name: I only exist to please Mergify :(
run: echo "It's a sad existence but necessary"