mirror of
https://github.com/jj-vcs/jj.git
synced 2026-07-08 18:13:08 +08:00
Bumps the github-dependencies group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [taiki-e/install-action](https://github.com/taiki-e/install-action), [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) and [github/codeql-action](https://github.com/github/codeql-action). Updates `actions/checkout` from 6.0.0 to 6.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](1af3b93b68...8e8c483db8) Updates `taiki-e/install-action` from 2.62.60 to 2.62.63 - [Release notes](https://github.com/taiki-e/install-action/releases) - [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md) - [Commits](3575e53270...50708e9ba8) Updates `astral-sh/setup-uv` from 7.1.4 to 7.1.5 - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](1e862dfacb...ed21f2f24f) Updates `github/codeql-action` from 4.31.6 to 4.31.7 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](fe4161a26a...cf1bb45a27) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-dependencies - dependency-name: taiki-e/install-action dependency-version: 2.62.63 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-dependencies - dependency-name: astral-sh/setup-uv dependency-version: 7.1.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-dependencies - dependency-name: github/codeql-action dependency-version: 4.31.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
79 lines
2.4 KiB
YAML
79 lines
2.4 KiB
YAML
name: binaries
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
binaries:
|
|
strategy:
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
build: [linux-x86_64-musl, linux-x86_64-gnu, linux-aarch64-musl, linux-aarch64-gnu, macos-x86_64, macos-aarch64, win-x86_64]
|
|
include:
|
|
- build: linux-x86_64-musl
|
|
os: ubuntu-24.04
|
|
target: x86_64-unknown-linux-musl
|
|
- build: linux-x86_64-gnu
|
|
os: ubuntu-24.04
|
|
target: x86_64-unknown-linux-gnu
|
|
- build: linux-aarch64-musl
|
|
os: ubuntu-24.04-arm
|
|
target: aarch64-unknown-linux-musl
|
|
- build: linux-aarch64-gnu
|
|
os: ubuntu-24.04-arm
|
|
target: aarch64-unknown-linux-gnu
|
|
- build: macos-x86_64
|
|
os: macos-15
|
|
target: x86_64-apple-darwin
|
|
- build: macos-aarch64
|
|
os: macos-15
|
|
target: aarch64-apple-darwin
|
|
- build: win-x86_64
|
|
os: windows-2022
|
|
target: x86_64-pc-windows-msvc
|
|
- build: win-aarch64
|
|
os: windows-11-arm
|
|
target: aarch64-pc-windows-msvc
|
|
runs-on: ${{ matrix.os }}
|
|
timeout-minutes: 20 # NOTE (aseipp): tests aren't run but sometimes builds take a while
|
|
|
|
name: Build binary artifacts
|
|
steps:
|
|
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
|
|
with:
|
|
persist-credentials: false
|
|
- name: Install packages (Ubuntu)
|
|
if: startsWith(matrix.os, 'ubuntu')
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y --no-install-recommends xz-utils liblz4-tool musl-tools
|
|
- name: Install Rust
|
|
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9
|
|
with:
|
|
toolchain: stable
|
|
target: ${{ matrix.target }}
|
|
- name: Build release binary
|
|
shell: bash
|
|
run: cargo build --target ${{ matrix.target }} --verbose --release
|
|
|
|
- name: Set up artifact directory
|
|
shell: bash
|
|
run: |
|
|
outdir="target/${{ matrix.target }}/release"
|
|
BIN=$outdir/jj
|
|
[[ "${{ matrix.os }}" == windows* ]] && BIN+=".exe"
|
|
|
|
mkdir -p target/out
|
|
cp $BIN target/out
|
|
|
|
- name: Publish binary artifact
|
|
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
|
|
with:
|
|
name: jj-${{ matrix.target }}
|
|
path: target/out
|