Skip to content

Commit

Permalink
github: add buck2 ci build
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Seipp <[email protected]>
  • Loading branch information
thoughtpolice committed Jun 26, 2024
1 parent fc1a808 commit 5b261d7
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/actions/install-dotslash/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Install DotSlash
description: Install DotSlash on the current system
inputs:
version:
description: "version of dotslash"
required: true
default: "0.4.1"
runs:
using: "composite"
steps:
- name: Install DotSlash
shell: bash
run: |
set -e
version="${{ inputs.version }}"
echo "Installing DotSlash version $version"
curl -L "
29 changes: 29 additions & 0 deletions .github/workflows/build-buck2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: buck2

on:
push:
branches:
- main
pull_request:

permissions: read-all

jobs:
nix:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: windows-latest
runs-on: ${{ matrix.os }}
timeout-minutes: 15 # NOTE (aseipp): keep in-sync with the build.yml timeout limit

name: build with buck2
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: ./.github/actions/install-dotslash
- name: Install Rust
uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8
with:
toolchain: 1.76

0 comments on commit 5b261d7

Please sign in to comment.