This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
shapes-juke/.github/workflows/build.yml

36 lines
691 B
YAML
Raw Normal View History

2022-02-02 02:12:57 +00:00
name: build
on:
push:
jobs:
build-on-ubuntu:
strategy:
fail-fast: false
matrix:
mode:
- debug
- release
env:
- ubuntu
- macOS
name: ${{ matrix.mode }} ${{ matrix.env }}
runs-on: ${{ matrix.env }}-latest
steps:
- uses: actions/checkout@v2
- name: setup dlang
uses: dlang-community/setup-dlang@v1
with:
compiler: dmd-latest
- name: build
run : dub build --build=${{ matrix.mode }}
- name: upload artifacts
uses: actions/upload-artifact@v2
with:
name: sj-${{ matrix.env }}-${{ matrix.mode }}
path: .build/