cli did create web #21
Workflow file for this run
This file contains 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: Kotlin CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
aarch64-apple-darwin: | |
runs-on: macos-latest | |
name: Load shared library on aarch64-apple-darwin target | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Run tests | |
run: | | |
cd bound/kt | |
mvn '-Dtest=SystemTargetTest#can load shared library' test | |
x86_64-apple-darwin: | |
runs-on: macos-12 | |
name: Load shared library on x86_64-apple-darwin target | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Run tests | |
run: | | |
cd bound/kt | |
mvn '-Dtest=SystemTargetTest#can load shared library' test | |
x86_64-unknown-linux-gnu: | |
runs-on: ubuntu-latest | |
name: Load shared library on x86_64-unknown-linux-gnu target | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Run tests | |
run: | | |
cd bound/kt | |
mvn '-Dtest=SystemTargetTest#can load shared library' test | |
x86_64-unknown-linux-musl: | |
runs-on: ubuntu-latest | |
container: | |
image: alpine:latest | |
name: Load shared library on x86_64-unknown-linux-musl target | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
apk update | |
apk add openjdk11 | |
apk add maven | |
apk add bash | |
- name: Set JAVA_HOME | |
run: | | |
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk | |
export PATH=$JAVA_HOME/bin:$PATH | |
- name: Change directory to bound/kt and run tests | |
run: | | |
cd bound/kt | |
mvn '-Dtest=SystemTargetTest#can load shared library' test |