Skip to content

Commit

Permalink
Try to run with PowerShell
Browse files Browse the repository at this point in the history
  • Loading branch information
linkrope committed Jul 20, 2024
1 parent 686cfd7 commit e156a2a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
type: string
required: false
default: "debug"

jobs:
build:
name: build & test Gamma
Expand All @@ -20,6 +20,7 @@ jobs:
include:
- os: Windows
runner: windows-latest
shell: pwsh
upload-path: ./gamma.exe
upload-name: gamma.windows-amd64.exe
- os: Linux
Expand All @@ -32,21 +33,21 @@ jobs:
upload-name: gamma.macos-amd64

runs-on: ${{ matrix.runner }}

steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: Install LDC compiler for building gamma
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ inputs.compiler_version }}

- name: Build & run tests
run: |
dub build --build=${{inputs.build_type}}
dub test --build=unittest --config=example
- name: Upload executables to workflow run page
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit e156a2a

Please sign in to comment.