Skip to content

don't cross compile

don't cross compile #2

Workflow file for this run

name: Build
on:
push:
branches:
- master
- main
paths:
- "**.rs"
- "**.toml"
- "**.lock"
- ".github/workflows/*.yml"
jobs:
publish-linux:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Check out
uses: actions/checkout@v2
- name: Install ffi toolchain (1.76.0)
run: |
rustup install 1.76.0-x86_64-unknown-linux-gnu
rustup default 1.76.0-x86_64-unknown-linux-gnu
- name: Build Linux
run: |
cargo build
- uses: actions/upload-artifact@v4
with:
path: "target/debug/libdrift_ffi_sys.so"
name: libdrift_ffi_sys.so
publish-mac:
runs-on: macos-latest
timeout-minutes: 15
steps:
- name: Check out
uses: actions/checkout@v2
- name: Install ffi toolchain (1.76.0)
run: |
rustup install 1.76.0-x86_64-apple-darwin
rustup default 1.76.0-x86_64-apple-darwin
- name: Build Linux
run: |
cargo build
- name: Build Mac
run: |
cargo build
- uses: actions/upload-artifact@v4
with:
path: "target/debug/libdrift_ffi_sys.dylib"
name: libdrift_ffi_sys.dylib