directly call zpool

This commit is contained in:
Robin Appelman 2021-03-24 21:43:47 +01:00
commit e858c30645
5 changed files with 57 additions and 452 deletions

View file

@ -5,11 +5,8 @@ name: CI
jobs:
check:
name: Check
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: zfs libs
run: |
sudo apt-get install libzfs2linux libzfslinux-dev
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
@ -23,24 +20,25 @@ jobs:
build:
name: Build
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: zfs libs
- name: musl-tools
run: |
sudo apt-get install libzfs2linux libzfslinux-dev
sudo apt-get install musl-tools
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
target: x86_64-unknown-linux-musl
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: build
args: --release
args: --release --target x86_64-unknown-linux-musl
- uses: actions/upload-artifact@v2
with:
name: palantir
path: target/release/palantir
path: target/x86_64-unknown-linux-musl/release/palantir