Skip to content

Commit

Permalink
chore: comment out other jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
vmx committed Oct 18, 2023
1 parent 983091b commit c95b718
Showing 1 changed file with 107 additions and 107 deletions.
214 changes: 107 additions & 107 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,91 +55,91 @@ jobs:
# $HOME/.cargo/bin/cargo test --config net.git-fetch-with-cli=true --release --no-default-features --features blst,multicore --target ${{ matrix.target }}
# $HOME/.cargo/bin/cargo test --config net.git-fetch-with-cli=true --release --no-default-features --features blst,multicore,blst-portable --target ${{ matrix.target }}

# Linux tests
linux:
needs: set-msrv
strategy:
matrix:
include:
# 32-bit Linux/x86
#- target: i686-unknown-linux-gnu
# toolchain: ${{needs.set-msrv.steps.msrv.outputs.MSRV}}
# deps: sudo apt update && sudo apt install gcc-multilib
- target: i686-unknown-linux-gnu
toolchain: stable
deps: sudo apt update && sudo apt install gcc-multilib

# 64-bit Linux/x86_64
#- target: x86_64-unknown-linux-gnu
# toolchain: ${{needs.set-msrv.steps.msrv.outputs.MSRV}}
- target: x86_64-unknown-linux-gnu
toolchain: stable

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
targets: ${{ matrix.target }}
- name: Install opencl
run: sudo apt-get install -y ocl-icd-opencl-dev
- run: ${{ matrix.deps }}
- run: cargo test --target ${{ matrix.target }} --no-default-features --features pairing,multicore
- run: cargo test --target ${{ matrix.target }} --no-default-features --features pairing
- run: cargo test --target ${{ matrix.target }} --no-default-features --features blst
- run: cargo test --target ${{ matrix.target }} --no-default-features --features blst,multicore
- run: cargo test --target ${{ matrix.target }} --no-default-features --features blst,blst-portable
- run: cargo test --target ${{ matrix.target }} --no-default-features --features blst,multicore,blst-portable


# macOS tests
macos:
needs: set-msrv
strategy:
matrix:
toolchain:
- ${{needs.set-msrv.steps.msrv.outputs.MSRV}}
- stable

runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
target: x86_64-apple-darwin
- run: cargo test --no-default-features --features pairing,multicore
- run: cargo test --no-default-features --features pairing
- run: cargo test --no-default-features --features blst
- run: cargo test --no-default-features --features blst,multicore
- run: cargo test --no-default-features --features blst,blst-portable
- run: cargo test --no-default-features --features blst,multicore,blst-portable

# Windows tests
windows:
needs: set-msrv
strategy:
matrix:
include:
# 64-bit Windows (MSVC)
- target: x86_64-pc-windows-msvc
toolchain: ${{needs.set-msrv.steps.msrv.outputs.MSRV}}

runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
targets: ${{ matrix.target }}
- uses: msys2/setup-msys2@v2
- run: cargo test --target ${{ matrix.target }} --no-default-features --features pairing,multicore
- run: cargo test --target ${{ matrix.target }} --no-default-features --features pairing
- run: cargo test --target ${{ matrix.target }} --no-default-features --features blst
- run: cargo test --target ${{ matrix.target }} --no-default-features --features blst,multicore
- run: cargo test --target ${{ matrix.target }} --no-default-features --features blst,blst-portable
- run: cargo test --target ${{ matrix.target }} --no-default-features --features blst,multicore,blst-portable
# # Linux tests
# linux:
# needs: set-msrv
# strategy:
# matrix:
# include:
# # 32-bit Linux/x86
# #- target: i686-unknown-linux-gnu
# # toolchain: ${{needs.set-msrv.steps.msrv.outputs.MSRV}}
# # deps: sudo apt update && sudo apt install gcc-multilib
# - target: i686-unknown-linux-gnu
# toolchain: stable
# deps: sudo apt update && sudo apt install gcc-multilib
#
# # 64-bit Linux/x86_64
# #- target: x86_64-unknown-linux-gnu
# # toolchain: ${{needs.set-msrv.steps.msrv.outputs.MSRV}}
# - target: x86_64-unknown-linux-gnu
# toolchain: stable
#
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@master
# with:
# toolchain: ${{ matrix.toolchain }}
# targets: ${{ matrix.target }}
# - name: Install opencl
# run: sudo apt-get install -y ocl-icd-opencl-dev
# - run: ${{ matrix.deps }}
# - run: cargo test --target ${{ matrix.target }} --no-default-features --features pairing,multicore
# - run: cargo test --target ${{ matrix.target }} --no-default-features --features pairing
# - run: cargo test --target ${{ matrix.target }} --no-default-features --features blst
# - run: cargo test --target ${{ matrix.target }} --no-default-features --features blst,multicore
# - run: cargo test --target ${{ matrix.target }} --no-default-features --features blst,blst-portable
# - run: cargo test --target ${{ matrix.target }} --no-default-features --features blst,multicore,blst-portable
#
#
# # macOS tests
# macos:
# needs: set-msrv
# strategy:
# matrix:
# toolchain:
# - ${{needs.set-msrv.steps.msrv.outputs.MSRV}}
# - stable
#
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@master
# with:
# toolchain: ${{ matrix.toolchain }}
# target: x86_64-apple-darwin
# - run: cargo test --no-default-features --features pairing,multicore
# - run: cargo test --no-default-features --features pairing
# - run: cargo test --no-default-features --features blst
# - run: cargo test --no-default-features --features blst,multicore
# - run: cargo test --no-default-features --features blst,blst-portable
# - run: cargo test --no-default-features --features blst,multicore,blst-portable
#
# # Windows tests
# windows:
# needs: set-msrv
# strategy:
# matrix:
# include:
# # 64-bit Windows (MSVC)
# - target: x86_64-pc-windows-msvc
# toolchain: ${{needs.set-msrv.steps.msrv.outputs.MSRV}}
#
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@master
# with:
# toolchain: ${{ matrix.toolchain }}
# targets: ${{ matrix.target }}
# - uses: msys2/setup-msys2@v2
# - run: cargo test --target ${{ matrix.target }} --no-default-features --features pairing,multicore
# - run: cargo test --target ${{ matrix.target }} --no-default-features --features pairing
# - run: cargo test --target ${{ matrix.target }} --no-default-features --features blst
# - run: cargo test --target ${{ matrix.target }} --no-default-features --features blst,multicore
# - run: cargo test --target ${{ matrix.target }} --no-default-features --features blst,blst-portable
# - run: cargo test --target ${{ matrix.target }} --no-default-features --features blst,multicore,blst-portable

clippy_check_blst:
needs: set-msrv
Expand All @@ -153,25 +153,25 @@ jobs:
- name: Run Clippy
run: cargo clippy --workspace --all-targets --no-default-features --features blst,multicore -- -D warnings

clippy_check_pairing:
needs: set-msrv
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{needs.set-msrv.steps.msrv.outputs.MSRV}}
components: clippy
- name: Run Clippy
run: cargo clippy --workspace --all-targets -- -D warnings

check_fmt_and_docs:
name: Checking fmt and docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
components: rustfmt
- name: fmt
run: cargo fmt --all -- --check
#clippy_check_pairing:
# needs: set-msrv
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@master
# with:
# toolchain: ${{needs.set-msrv.steps.msrv.outputs.MSRV}}
# components: clippy
# - name: Run Clippy
# run: cargo clippy --workspace --all-targets -- -D warnings
#
#check_fmt_and_docs:
# name: Checking fmt and docs
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@master
# with:
# components: rustfmt
# - name: fmt
# run: cargo fmt --all -- --check

0 comments on commit c95b718

Please sign in to comment.