Skip to content

Commit

Permalink
try to fix the ci
Browse files Browse the repository at this point in the history
  • Loading branch information
brayniac committed Jun 26, 2024
1 parent 2cee0ed commit 2177d35
Showing 1 changed file with 2 additions and 55 deletions.
57 changes: 2 additions & 55 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
os: [ ubuntu-latest, macos-12 ]
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-rust
Expand All @@ -39,21 +39,6 @@ jobs:
run: |
cargo hack --feature-powerset check --locked
# check-windows:
# name: check-${{ matrix.os }}
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ windows-latest ]
# steps:
# - uses: actions/checkout@v3
# - uses: Swatinem/rust-cache@v2
# with:
# shared-key: check-${{ matrix.os }}
# - name: cargo check
# run: |
# cargo check --all-targets

clippy:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -123,7 +108,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
os: [ ubuntu-latest, macos-12 ]
profile: [ release, debug ]
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -168,50 +153,12 @@ jobs:
name: binaries
path: install

# build-windows:
# name: build-${{ matrix.os }}-${{ matrix.profile }}
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ windows-latest ]
# profile: [ release, debug ]
# steps:
# - uses: actions/checkout@v3
# - uses: Swatinem/rust-cache@v2
# with:
# shared-key: build-${{ matrix.os }}-${{ matrix.profile }}

# - name: Update cargo flags
# if: ${{ matrix.profile == 'release' }}
# run: echo 'FLAGS=--release' >> $GITHUB_ENV
# shell: bash
# - name: Update cargo flags
# if: ${{ matrix.profile == 'debug' }}
# run: echo 'FLAGS=' >> $GITHUB_ENV
# shell: bash

# - name: build
# shell: bash
# run: |
# cargo build --workspace --exclude momento-proxy --all-features --all-targets --locked ${{ env.FLAGS }}
# - name: test
# shell: bash
# run: |
# cargo test --workspace --exclude momento-proxy --all-features --tests --lib --bins --examples --locked ${{ env.FLAGS }}
# - name: doctests
# if: ${{ matrix.profile == 'debug' }}
# shell: bash
# run: |
# cargo test --workspace --exclude momento-proxy --all-features --doc --locked -- --test-threads 16

check-success:
name: verify all tests pass
runs-on: ubuntu-latest
needs:
- build
# - build-windows
- check
# - check-windows
- rustfmt
- clippy
- clippy-upload
Expand Down

0 comments on commit 2177d35

Please sign in to comment.