Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Only compile svm-runtime-ffi in CI #354

Merged
merged 6 commits into from
Aug 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,9 @@ jobs:
- name: Cargo Build
uses: actions-rs/cargo@v1
with:
profile: minimal
toolchain: nightly
command: build
args: --${{ matrix.profile }}
args: --${{ matrix.profile }} --package svm-runtime-ffi --features=default-cranelift,default-memory --no-default-features
- name: Prepare Artifact (General)
run: |
set -e
Expand All @@ -83,17 +82,17 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: |
set -e
mv target/${{ matrix.profile }}/libsvm.so bins/svm.so
mv target/${{ matrix.profile }}/libsvm_runtime_ffi.so bins/svm.so
- name: Prepare Artifact (macOS)
if: matrix.os == 'macos-latest'
run: |
set -e
mv target/${{ matrix.profile }}/libsvm.dylib bins/svm.dylib
mv target/${{ matrix.profile }}/libsvm_runtime_ffi.dylib bins/svm.dylib
- name: Prepare Artifact (Windows)
if: matrix.os == 'windows-latest'
run: |
set -e
mv target/${{ matrix.profile }}/svm.dll bins/svm.dll
mv target/${{ matrix.profile }}/svm_runtime_ffi.dll bins/svm.dll
- name: Upload Artifacts
uses: actions/upload-artifact@master
with:
Expand Down