Skip to content

Fix null pointer access when iterating over empty arrays #24

Fix null pointer access when iterating over empty arrays

Fix null pointer access when iterating over empty arrays #24

Workflow file for this run

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-latest]
dc: [dmd-latest]
arch: [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: ./run-test262.sh
- name: Upload log
uses: actions/upload-artifact@v3
with:
name: runtest262 log
path: dmdscript-test262.log