Skip to content

Commit

Permalink
Merge pull request #6 from wasmi-labs/rf-improve-ci-jobs
Browse files Browse the repository at this point in the history
Split up CI job steps into more pieces
  • Loading branch information
Robbepop authored May 14, 2024
2 parents 01e9bce + 71476cd commit b66c7f8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ jobs:
~/target/
key: ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-${{ github.job }}-
- name: System Information
run: lscpu
- name: Compile (--profile ci)
run: cargo build --benches --profile ci
- name: Run Compilation Benches (--profile ci)
run: cargo bench compile/ --profile ci

Expand All @@ -72,6 +76,10 @@ jobs:
~/target/
key: ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-${{ github.job }}-
- name: System Information
run: lscpu
- name: Compile (--profile ci)
run: cargo build --benches --profile ci
- name: Run Execution Benches (--profile ci)
run: cargo bench execute/ --profile ci

Expand All @@ -93,8 +101,12 @@ jobs:
~/target/
key: ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-${{ github.job }}-
- name: System Information
run: lscpu
- name: Compile (--profile ci)
run: cargo build --bin coremark --profile ci
- name: Run Coremark (--profile ci)
run: cargo run --profile ci
run: cargo run --bin coremark --profile ci

fmt:
name: Formatting
Expand Down

0 comments on commit b66c7f8

Please sign in to comment.