Skip to content

v1.6.0

v1.6.0 #42

Workflow file for this run

name: CI/CD
on:
push:
pull_request:
workflow_dispatch:
release:
types: [published]
env:
CARGO_TERM_COLOR: always
jobs:
build_mac:
name: Build on macOS
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: Build
run: |
rustup target add aarch64-apple-darwin
cargo build --verbose --release
cargo build --verbose --release --target aarch64-apple-darwin
lipo -create \
./target/aarch64-apple-darwin/release/ifrextractor \
./target/release/ifrextractor \
-output ./ifrextractor
- name: Upload to artifacts
uses: actions/upload-artifact@v4
with:
name: macOS build (universal)
path: ifrextractor
build_freebsd:
name: Build on FreeBSD
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build on FreeBSD inside macOS VM
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
pkg install -y rust
run: |
cargo build --verbose --release
- name: Upload to artifacts
uses: actions/upload-artifact@v4
with:
name: FreeBSD build
path: target/release/ifrextractor
build_linux:
name: Build on Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --release
- name: Upload to artifacts
uses: actions/upload-artifact@v4
with:
name: Linux build
path: target/release/ifrextractor
build_windows:
name: Build on Windows
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --release
- name: Upload to artifacts
uses: actions/upload-artifact@v4
with:
name: Windows build
path: target/release/ifrextractor.exe