32 lines
779 B
YAML
32 lines
779 B
YAML
name: Build and Test Module
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'source/**'
|
|
- '.gitea/workflows/ci.yaml'
|
|
pull_request:
|
|
types: [opened, reopened, synchronize]
|
|
jobs:
|
|
build-and-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup DLang
|
|
uses: dlang-community/setup-dlang@v2
|
|
with:
|
|
compiler: ldc-latest
|
|
- name: Build and Test
|
|
run: dub -q test
|
|
build-and-test-with-asdf-library:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup DLang
|
|
uses: dlang-community/setup-dlang@v2
|
|
with:
|
|
compiler: ldc-latest
|
|
- name: Add ASDF Library Dependencies
|
|
run: dub add asdf
|
|
- name: Build and Test
|
|
run: dub -q test
|