Skip to content

Commit

Permalink
Try removing CI steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Emann committed Jan 28, 2024
1 parent c9db416 commit 2a74527
Showing 1 changed file with 17 additions and 26 deletions.
43 changes: 17 additions & 26 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,22 @@ jobs:
rust: [nightly]

steps:
- uses: hecrj/setup-rust-action@v2
with:
rust-version: ${{ matrix.rust }}
targets: ${{ matrix.target }}
components: 'rustfmt, clippy'
# - 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: 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: |
clang --version || true
clang -O3 -o c_roaring.exe roaring_fast_or.c
./c_roaring.exe
shell: bash
# - name: Set clang path
# if: matrix.os =='windows-latest'
# run: echo "LIBCLANG_PATH=C:\Program Files\LLVM\bin" >> $GITHUB_ENV
# shell: bash

- name: msvc c roaring
if: matrix.os == 'windows-latest'
Expand All @@ -57,7 +48,7 @@ jobs:
echo "running"
./roaring_fast_or.exe
echo "$LASTEXITCODE"
continue-on-error: true
continue-on-error: false


# - name: Cargo fmt
Expand All @@ -74,10 +65,10 @@ jobs:
# - name: Test
# run: cargo +${{ matrix.rust }} test

- name: Benchmark
if: matrix.rust == 'nightly'
run: cargo +${{ matrix.rust }} bench -- 'or/fast'
continue-on-error: true
# - name: Benchmark
# if: matrix.rust == 'nightly'
# run: cargo +${{ matrix.rust }} bench -- 'or/fast'
# continue-on-error: true

- name: Archive artifacts
if: matrix.os == 'windows-latest'
Expand Down

0 comments on commit 2a74527

Please sign in to comment.