Skip to content

Commit 2b85de6

Browse files
hedgar2017akiramenai
authored andcommitted
fix: make arch names equal to target machine initializers
It is easier to pass them this way to the compiler driver. No case checking and additional `if`s required if we keep them equal to actual arch names.
1 parent 02ff5ae commit 2b85de6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/benchmarks-integration-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ jobs:
8686

8787
- name: Check for EraVM target
8888
id: eravm
89-
if: contains(github.event.pull_request.title, '[EraVM]')
90-
run: echo "machine=EraVM" | tee -a "${GITHUB_OUTPUT}"
89+
if: contains(github.event.pull_request.title, '[eravm]') || contains(github.event.pull_request.title, '[EraVM]')
90+
run: echo "machine=eravm" | tee -a "${GITHUB_OUTPUT}"
9191

9292
- name: Check for EVM target
9393
id: evm
94-
if: contains(github.event.pull_request.title, '[EVM]')
95-
run: echo "machine=EVM" | tee -a "${GITHUB_OUTPUT}"
94+
if: contains(github.event.pull_request.title, '[evm]') || contains(github.event.pull_request.title, '[EVM]')
95+
run: echo "machine=evm" | tee -a "${GITHUB_OUTPUT}"
9696

9797
- name: Check for default target
9898
id: default

.github/workflows/regression-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838

3939
- name: Check for EraVM target
4040
id: eravm
41-
if: contains(github.event.pull_request.title, '[EraVM]')
41+
if: contains(github.event.pull_request.title, '[eravm]') || contains(github.event.pull_request.title, '[EraVM]')
4242
run: echo "machine=eravm" | tee -a "${GITHUB_OUTPUT}"
4343

4444
- name: Check for EVM target
4545
id: evm
46-
if: contains(github.event.pull_request.title, '[EVM]')
46+
if: contains(github.event.pull_request.title, '[evm]') || contains(github.event.pull_request.title, '[EVM]')
4747
run: echo "machine=evm" | tee -a "${GITHUB_OUTPUT}"
4848

4949
- name: Check for default target

0 commit comments

Comments
 (0)