ci-all-via-ir #188
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
name: ci-all-via-ir | |
on: | |
workflow_dispatch: | |
jobs: | |
tests: | |
name: Forge Testing all via-ir | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
profile: [via-ir-0,via-ir-1,via-ir-2,via-ir-3] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install Dependencies | |
run: forge install | |
- name: Run Tests with ${{ matrix.profile }} | |
run: > | |
( [ "${{ matrix.profile }}" = "via-ir-0" ] && | |
forge test --use 0.8.4 --via-ir --skip "*/g/*" && | |
forge test --use 0.8.5 --via-ir --skip "*/g/*" && | |
forge test --use 0.8.6 --via-ir --skip "*/g/*" && | |
forge test --use 0.8.7 --via-ir --skip "*/g/*" && | |
forge test --use 0.8.8 --via-ir --skip "*/g/*" && | |
forge test --use 0.8.9 --via-ir --skip "*/g/*" | |
) || | |
( [ "${{ matrix.profile }}" = "via-ir-1" ] && | |
forge test --use 0.8.13 --via-ir && | |
forge test --use 0.8.12 --via-ir --skip "*/g/*" && | |
forge test --use 0.8.11 --via-ir --skip "*/g/*" && | |
forge test --use 0.8.10 --via-ir --skip "*/g/*" | |
) || | |
( [ "${{ matrix.profile }}" = "via-ir-2" ] && | |
forge test --use 0.8.14 --via-ir && | |
forge test --use 0.8.15 --via-ir && | |
forge test --use 0.8.16 --via-ir && | |
forge test --use 0.8.17 --via-ir | |
) || | |
( [ "${{ matrix.profile }}" = "via-ir-3" ] && | |
forge test --use 0.8.28 --via-ir && | |
forge test --use 0.8.27 --via-ir && | |
forge test --use 0.8.26 --via-ir && | |
forge test --use 0.8.25 --via-ir && | |
forge test --use 0.8.24 --via-ir && | |
forge test --use 0.8.23 --via-ir && | |
forge test --use 0.8.22 --via-ir && | |
forge test --use 0.8.21 --via-ir && | |
forge test --use 0.8.20 --via-ir && | |
forge test --use 0.8.19 --via-ir && | |
forge test --use 0.8.18 --via-ir | |
) |