Fix null pointer access when iterating over empty arrays #19
Workflow file for this run
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: Test Suite | ||
# Only triggers on pushes/PRs to master | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
test: | ||
name: CI | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
dc: [dmd-latest, ldc-latest, ldc-1.15.0] | ||
arch: [x86, x86_64] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install D compiler | ||
uses: dlang-community/setup-dlang@v1 | ||
with: | ||
compiler: ${{ matrix.dc }} | ||
- name: Run tests | ||
env: | ||
CONFIG: ${{matrix.config}} | ||
ARCH: ${{matrix.arch}} | ||
shell: bash | ||
run: dub test :engine | ||
testsuite: | ||
name: Test262 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04] | ||
dc: [dmd-latest] | ||
arch: [x86_64] | ||
runs-on: ${{ matrix.os }} | ||
container: | ||
image: python:2.7.18-buster | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 2 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 2.7.18 | ||
- name: Install D compiler | ||
uses: dlang-community/setup-dlang@v1 | ||
with: | ||
compiler: ${{ matrix.dc }} | ||
- name: Run tests | ||
env: | ||
CONFIG: ${{matrix.config}} | ||
ARCH: ${{matrix.arch}} | ||
shell: bash | ||
run: ./run-test262.sh |