Skip to content

Commit

Permalink
add windows to github CI (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz authored Jan 31, 2023
1 parent 2387486 commit 5f2fc1f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,31 @@ on:
- "*.*.*"

jobs:
test-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- run: |
git fetch --prune --unshallow --tags
echo exit code $?
git tag --list
- uses: actions/setup-dotnet@v1
with:
dotnet-version: |
5.0.x
6.0.x
source-url: https://nuget.pkg.github.com/elastic/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: build.bat build -s true
shell: cmd
name: Build
- run: build.bat test -s true
shell: cmd
name: Test

build:
runs-on: ubuntu-18.04
steps:
Expand Down
3 changes: 3 additions & 0 deletions build/scripts/scripts.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
<Compile Include="CommandLine.fs" />
<Compile Include="Targets.fs" />
<Compile Include="Program.fs" />
<Content Include="..\..\.github\workflows\ci.yml">
<Link>ci.yml</Link>
</Content>
</ItemGroup>

</Project>

0 comments on commit 5f2fc1f

Please sign in to comment.