Skip to content

Commit

Permalink
windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yatima1460 committed Jan 31, 2022
1 parent 4b6cc06 commit 4948c37
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/RollingRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,26 +81,19 @@ jobs:
run: ./drill-search-cli --help
working-directory: cli
- name: Test CLI doesn't crash when searching something
run: ./drill-search-cli test
run: ./drill-search-cli drill
working-directory: cli

windows-cli:
runs-on: windows-2019
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get the repo
uses: actions/checkout@v2
- name: Docker CLI image pull
run: docker-compose pull drill-windows-cli
working-directory: Docker
- run: choco install -y dub
- run: choco install -y dmd
- name: Compile CLI
run: docker-compose up --abort-on-container-exit --remove-orphans drill-windows-cli
working-directory: Docker
run: dub clean && dub build -b release -c CLI --parallel --arch=x86_64
working-directory: src
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
Expand All @@ -122,7 +115,7 @@ jobs:
run: drill-search-cli --help
working-directory: cli
- name: Test CLI doesn't crash when searching something
run: drill-search-cli test
run: drill-search-cli drill
working-directory: cli

create-release:
Expand Down

0 comments on commit 4948c37

Please sign in to comment.