Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Test with nativelink #179

Test with nativelink

Test with nativelink #179

Workflow file for this run

on:
push:
branches:
- master
pull_request:
schedule:
- cron: '0 0 1 * *'
name: CI
jobs:
build_and_test:
runs-on: ubuntu-24.04
strategy:
matrix:
rust: [stable, beta, nightly]
features: [
#"--features=lambda --no-default-features",
""]
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --allow-downgrades --no-install-recommends pkg-config libssl-dev
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- name: Build and test
uses: actions-rs/cargo@v1
env:
RUST_BACKTRACE: 1
with:
command: test
args: ${{ matrix.features }} -- --nocapture
- name: Check HTTP response
if: ${{ matrix.features == '' }}
run: ./test.sh
bazel:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: TraceMachina/nativelink-action@v0
with:
api_key: ${{ secrets.NATIVELINK_API_KEY }}
account: tom-parker-shemilt
prefix: tom-parker-shemilt-y0738m
- uses: asdf-vm/actions/install@v4
- name: Bazel build
run: bazel build //:dawn
- name: Bazel test
run: bazel test //:dawn_test