Simplify getting started #111
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: Test personal computer (PC) backend | |
on: | |
push: | |
branches: | |
- main | |
- v* | |
- feature-* | |
tags: | |
- v* | |
# ... or trigger manually from GitHub web interface | |
workflow_dispatch: | |
jobs: | |
setup-windows: | |
strategy: | |
fail-fast: true | |
matrix: | |
dkml_host_abi: | |
- windows_x86 | |
- windows_x86_64 | |
runs-on: windows-2019 | |
name: build / ${{ matrix.dkml_host_abi }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run test/pc/setup-dkml-${{ matrix.dkml_host_abi }}.ps1 | |
run: test/pc/setup-dkml-${{ matrix.dkml_host_abi }}.ps1 | |
setup-linux: | |
strategy: | |
fail-fast: true | |
matrix: | |
dkml_host_abi: | |
- linux_x86_64 | |
runs-on: ubuntu-latest | |
name: build / ${{ matrix.dkml_host_abi }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run test/pc/setup-dkml-${{ matrix.dkml_host_abi }}.sh | |
run: sh test/pc/setup-dkml-${{ matrix.dkml_host_abi }}.sh | |
setup-macos: | |
strategy: | |
fail-fast: true | |
matrix: | |
dkml_host_abi: | |
- darwin_x86_64 | |
runs-on: macos-latest | |
name: build / ${{ matrix.dkml_host_abi }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run test/pc/setup-dkml-${{ matrix.dkml_host_abi }}.sh | |
run: sh test/pc/setup-dkml-${{ matrix.dkml_host_abi }}.sh |