Merge pull request #258 from neilsf/develop #161
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: Build project | |
on: | |
push: | |
branches: [ main, feature/x16-support, feature/mega65-support ] | |
jobs: | |
build: | |
name: DUB Build | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
dc: [dmd-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install D compiler | |
uses: dlang-community/setup-dlang@v1 | |
with: | |
compiler: ${{ matrix.dc }} | |
- name: Build | |
run: dub build --force -v --build=release | |
- name: Create bin dir | |
run: mkdir -p bin/${{runner.os}} | |
shell: bash | |
- name: Move executable | |
run: mv xcbasic3* bin/${{runner.os}}/ | |
shell: bash | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v7.4.0 | |
with: | |
default_author: github_actions | |
pull: '--ff' |