test installation on M1 with brew #2
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: Build on M1 | |
on: [push, pull_request] | |
jobs: | |
release_m1: | |
name: Build and release macos M1 | |
runs-on: flyci-macos-14-m1 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install latests rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
default: true | |
override: true | |
- name: Install Unix ODBC | |
run: | | |
brew install unixodbc | |
sudo ln -s /opt/homebrew/lib ~/lib | |
- name: Build | |
run: cargo build --release | |
- name: Github Upload | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
file: target/release/odbc2parquet | |
asset_name: odbc2parquet-macos-m1 | |
tag: ${{ github.ref }} |