Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
check:
runs-on: macos-latest
runs-on: macos-26
steps:
- uses: actions/checkout@v7
- run: rustup toolchain install stable --profile=minimal --component=clippy --component=rustfmt
Expand All @@ -21,7 +21,7 @@ jobs:
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [macos-26, ubuntu-26.04, windows-2025]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
Expand Down
25 changes: 18 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Release Binaries

on:
pull_request:
branches:
- main
push:
branches: [ main ]
tags:
Expand All @@ -15,24 +18,32 @@ env:

jobs:
release:
runs-on: ubuntu-26.04
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-26.04
target: x86_64-unknown-linux-gnu
- os: macos-26
target: aarch64-apple-darwin
- os: windows-2025
target: x86_64-pc-windows-msvc

runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v7

- name: Build release
shell: bash
run: |
set -euox pipefail
cargo build --release

- name: Prepare artifact
run: |
set -eoux pipefail
mkdir -p dist
cp target/release/${BIN_NAME} dist/${BIN_NAME}
cp target/release/${BIN_NAME} dist/${BIN_NAME}-${{ matrix.target }}

- name: Upload artifact
uses: actions/upload-artifact@v7
with:
name: ${{ env.BIN_NAME }}-x86_64-unknown-linux-gnu-${{ github.sha }}
name: ${{ env.BIN_NAME }}-${{ matrix.target }}-${{ github.sha }}
path: dist/*