Skip to content

Commit

Permalink
ci(pr.yml): Add a 32 bit runner test
Browse files Browse the repository at this point in the history
  • Loading branch information
kanav99 committed Apr 7, 2021
1 parent 42f4f2a commit e9cb323
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
fetch-depth: "0"
- uses: maidsafe/pr_size_checker@v2
with:
max_lines_changed: 200
Expand Down Expand Up @@ -151,6 +151,32 @@ jobs:
- name: Cargo test
run: cargo test --release

tests32:
name: Test 32bit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Install Rust
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: i686-unknown-linux-gnu
override: true

# Cache.
- name: Cargo cache registry, index and build
uses: actions/cache@v2.1.4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-cache-${{ hashFiles('**/Cargo.lock') }}

# Run tests.
- name: Cargo test
run: cargo test --release

# Test publish using --dry-run.
test-publish:
name: Test Publish
Expand Down

0 comments on commit e9cb323

Please sign in to comment.