diff --git a/.github/actions/install-dotslash/action.yml b/.github/actions/install-dotslash/action.yml new file mode 100644 index 0000000000..81089631e8 --- /dev/null +++ b/.github/actions/install-dotslash/action.yml @@ -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 " diff --git a/.github/workflows/build-buck2.yml b/.github/workflows/build-buck2.yml new file mode 100644 index 0000000000..123b4c8cf9 --- /dev/null +++ b/.github/workflows/build-buck2.yml @@ -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