Skip to content

Commit db3bb43

Browse files
authored
Remove "build-bash" testing because it is duplicate of "build-pwsh" test. (#3874)
1 parent 6ee77ca commit db3bb43

File tree

1 file changed

+0
-110
lines changed

1 file changed

+0
-110
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -156,116 +156,6 @@ jobs:
156156
}
157157
_scripts/test.ps1 -target ${{ matrix.language }} -pc "$Before" -cc "$After"
158158
159-
build-bash:
160-
needs: setup
161-
runs-on: ${{ matrix.os }}
162-
strategy:
163-
fail-fast: false
164-
matrix:
165-
os: [macos-latest, ubuntu-latest]
166-
language: ${{ fromJson(needs.setup.outputs.mymatrix) }}
167-
steps:
168-
- name: Info
169-
shell: bash
170-
run: |
171-
arch
172-
uname -a
173-
if [ -f /proc/cpuinfo ]; then cat /proc/cpuinfo; fi
174-
- name: Checkout
175-
uses: actions/checkout@v4
176-
with:
177-
fetch-depth: 0
178-
- name: Setup PHP
179-
id: setup-php
180-
uses: shivammathur/setup-php@v2
181-
with:
182-
php-version: '8.2'
183-
ini-values: xdebug.max_nesting_level=1000
184-
- name: Print PHP version
185-
run: |
186-
echo ${{ steps.setup-php.outputs.php-version }}
187-
php --version
188-
- name: Install Dotnet
189-
uses: actions/[email protected]
190-
with:
191-
dotnet-version: '7.0.x'
192-
- name: Test Dotnet
193-
run: |
194-
dotnet --version
195-
dotnet --info
196-
dotnet --list-runtimes
197-
dotnet --list-sdks
198-
- name: Install Java
199-
uses: actions/setup-java@v4
200-
with:
201-
java-version: '11'
202-
distribution: 'zulu'
203-
- name: Test Java
204-
run: |
205-
dotnet --version
206-
java --version
207-
javac --version
208-
- name: Install Dart
209-
if: ${{ matrix.language == 'Dart' }}
210-
uses: dart-lang/setup-dart@v1
211-
- name: Test Dart
212-
if: ${{ matrix.language == 'Dart' }}
213-
run: |
214-
dart --version
215-
- name: Install Go
216-
if: ${{ matrix.language == 'Go' }}
217-
uses: actions/setup-go@v4
218-
with:
219-
go-version: '^1.18.0'
220-
- name: Test Go
221-
if: ${{ matrix.language == 'Go' }}
222-
run: |
223-
go version
224-
- name: Install Python
225-
uses: actions/[email protected]
226-
with:
227-
python-version: '3.10'
228-
- name: Test Python
229-
run: |
230-
python --version
231-
- name: Upgrade Pip.
232-
run: |
233-
python -m ensurepip --upgrade
234-
- name: Test Pip.
235-
run: |
236-
pip --version
237-
- name: Install Antlr tool
238-
run: |
239-
pip install antlr4-tools
240-
- name: Install JavaScript
241-
if: ${{ matrix.language == 'JavaScript' }}
242-
uses: actions/[email protected]
243-
with:
244-
node-version: '16.13.0'
245-
- name: Test JavaScript
246-
if: ${{ matrix.language == 'JavaScript' }}
247-
run: |
248-
node --version
249-
- name: Install Trash
250-
shell: bash
251-
run: |
252-
dotnet tool restore
253-
- name: Test Trash install
254-
shell: bash
255-
run: |
256-
dotnet trgen -- --help
257-
- name: Test
258-
shell: bash
259-
run: |
260-
if [ "${{github.event_name}}" == "pull_request" ]; then
261-
Before="${{github.event.pull_request.base.sha}}"
262-
After="${{github.event.pull_request.head.sha}}"
263-
else
264-
Before="${{github.event.before}}"
265-
After="${{github.event.after}}"
266-
fi
267-
bash _scripts/test.sh -a /tmp/antlr4-complete.jar -t ${{matrix.language}} -f diff $Before $After
268-
269159
static-checks:
270160
runs-on: ${{ matrix.os }}
271161
strategy:

0 commit comments

Comments
 (0)