Skip to content

wip: trying to debug windows CI failures #249

wip: trying to debug windows CI failures

wip: trying to debug windows CI failures #249

Workflow file for this run

name: Rust
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
RUSTFLAGS: -A warnings
jobs:
test:
name: Test on ${{ matrix.os }} using Rust ${{ matrix.rust }}'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
rust: [nightly]
steps:
- uses: hecrj/setup-rust-action@v2
with:
rust-version: ${{ matrix.rust }}
targets: ${{ matrix.target }}
components: 'rustfmt, clippy'
- uses: actions/checkout@v4
- name: Install LLVM
if: matrix.os == 'windows-latest'
run: choco upgrade llvm -y
- name: Set clang path
if: matrix.os =='windows-latest'
run: echo "LIBCLANG_PATH=C:\Program Files\LLVM\bin" >> $GITHUB_ENV
shell: bash
- name: Run c roaring
if: matrix.os == 'windows-latest'
run: |
cc --version || true
cl.exe /version || true
clang --version || true
# - name: Cargo fmt
# run: cargo +${{ matrix.rust }} fmt --all -- --check
# if: matrix.os == 'ubuntu-latest' && matrix.rust == 'nightly'
# - name: Cargo clippy
# run: cargo +${{ matrix.rust }} clippy --all-targets --workspace
# if: matrix.os == 'ubuntu-latest' && matrix.rust == 'nightly'
# - name: Build
# run: cargo +${{ matrix.rust }} build
# - name: Test
# run: cargo +${{ matrix.rust }} test
- name: Benchmark
if: matrix.rust == 'nightly'
run: cargo +${{ matrix.rust }} bench -- 'or/fast'
# - name: Minimal versions
# if: matrix.rust == 'nightly'
# run: cargo +${{ matrix.rust }} -Zdirect-minimal-versions test