-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from ehuss/index-stress
Index stress
- Loading branch information
Showing
2 changed files
with
140 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,127 @@ | ||
name: CI | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
if: ${{ false }} # disable for now | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
# build: [windows] | ||
include: | ||
# - build: stable | ||
# os: ubuntu-latest | ||
# rust: stable | ||
# - build: beta | ||
# os: ubuntu-latest | ||
# rust: beta | ||
# - build: nightly | ||
# os: ubuntu-latest | ||
# rust: nightly | ||
# - build: macos | ||
# os: macos-latest | ||
# rust: stable | ||
- os: windows-latest | ||
# rust: stable | ||
steps: | ||
- uses: actions/checkout@master | ||
# - uses: actions/cache@v3 | ||
# with: | ||
# path: | | ||
# ~/.cargo/bin/ | ||
# ~/.cargo/registry/index/ | ||
# ~/.cargo/registry/cache/ | ||
# ~/.cargo/git/db/ | ||
# foo/target/ | ||
# key: ${{ runner.os }}-cargo | ||
# - name: Install Rust (rustup) | ||
# run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }} | ||
# shell: bash | ||
- run: | | ||
set -x | ||
which make | ||
which mingw32-make | ||
make --version | ||
mingw32-make --version | ||
shell: bash | ||
|
||
on: | ||
schedule: | ||
- cron: '2,22,42 * * * *' | ||
|
||
# test1: | ||
# name: Test1 | ||
# runs-on: windows-latest | ||
# steps: | ||
# - uses: actions/checkout@master | ||
# - name: Test1 | ||
# shell: bash | ||
# run: | | ||
# cd foo | ||
# cargo -V | ||
# cargo run | ||
jobs: | ||
test1: | ||
name: Test1 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test2: | ||
name: Test2 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test3: | ||
name: Test3 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test4: | ||
name: Test4 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test5: | ||
name: Test5 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test6: | ||
name: Test6 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test7: | ||
name: Test7 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test8: | ||
name: Test8 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test9: | ||
name: Test9 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test10: | ||
name: Test10 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test11: | ||
name: Test11 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test12: | ||
name: Test12 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test13: | ||
name: Test13 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test14: | ||
name: Test14 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test15: | ||
name: Test15 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test16: | ||
name: Test16 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test17: | ||
name: Test17 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test18: | ||
name: Test18 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test19: | ||
name: Test19 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh | ||
test20: | ||
name: Test20 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
export CARGO_NET_RETRY=0 | ||
|
||
for package in cargo cargo-make cargo-all-features cargo-deb backtrace deno leptos_icons poem | ||
do | ||
echo $package | ||
cargo new a | ||
cd a | ||
echo "$package = \"*\"" >> Cargo.toml | ||
CARGO_HOME=chome cargo generate-lockfile | ||
cd .. | ||
rm -rf a | ||
done |