Skip to content

CI: Test GitHub Actions support #3

CI: Test GitHub Actions support

CI: Test GitHub Actions support #3

Workflow file for this run

# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
name: Main
on:
- push # branch or tag
jobs:
linux:
strategy:
fail-fast: false
matrix:
include:
- job_name: ubuntu-x86_64
target: x86_64-linux-gnu
bootstrap: false
name: ${{ matrix.job_name }}
runs-on: ubuntu-22.04
env:
GCC_CI_TARGET: ${{ matrix.target }}
GCC_CI_BOOTSTRAP: ${{ matrix.bootstrap }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 10
- name: Install dependencies
run: true
- name: Configure gdc
run: ./buildci.sh configure
- name: Build gdc
run: ./buildci.sh build
- name: Run testsuite
run: ./buildci.sh testsuite
- name: Run unittests
run: ./buildci.sh unittests