Skip to content

Fix the github actions #3

Fix the github actions

Fix the github actions #3

Workflow file for this run

name: Build
on:
push:
jobs:
build:
name: Build - ${{ matrix.platform.target }}
runs-on: ${{ matrix.platform.os }}
strategy:
fail-fast: false
matrix:
platform:
- target: x86_64-unknown-linux-musl
os: ubuntu-20.04
pre_command: sudo apt install pkg-config libssl-dev
- target: aarch64-apple-darwin
os: macOS-latest
pre_command: brew install openssl
steps:
- name: Pre pre_command
run: ${{ matrix.platform.pre_command }}
- name: Checkout
uses: actions/checkout@v3
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
target: ${{ matrix.platform.target }}
args: "--release"
strip: true
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: pgextract-${{ matrix.platform.target }}
path: pgextract