Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gsvgit committed Jan 13, 2023
2 parents f0dd0f5 + eddec31 commit 71a7295
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 64 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,15 @@ jobs:
- name: System Info
run: systeminfo

- uses: actions/checkout@v2

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json

- name: Build
run: ./build.cmd BuildDocs
env:
# Work around https://github.com/actions/setup-dotnet/issues/29
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64
CI: true

linux-build:
Expand All @@ -35,16 +34,15 @@ jobs:
- name: System Info
run: lscpu

- uses: actions/checkout@v1

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json

- name: Build
run: |
chmod +x ./build.sh
./build.sh BuildDocs
env:
# Work around https://github.com/actions/setup-dotnet/issues/29
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64
CI: true
26 changes: 11 additions & 15 deletions .github/workflows/build-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@ jobs:
- name: System Info
run: systeminfo

- uses: actions/checkout@v2

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json

- name: Build
run: ./build.cmd DotnetBuild
env:
# Work around https://github.com/actions/setup-dotnet/issues/29
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64
CI: true

linux-build:
Expand All @@ -34,18 +33,17 @@ jobs:
- name: System Info
run: lscpu

- uses: actions/checkout@v1

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json

- name: Build
run: |
chmod +x ./build.sh
./build.sh DotnetBuild
env:
# Work around https://github.com/actions/setup-dotnet/issues/29
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64
CI: true

linux-test-self-hosted:
Expand All @@ -55,7 +53,7 @@ jobs:
- name: System Info
run: lscpu

- uses: actions/checkout@v1
- uses: actions/checkout@v3

- name: OpenCL Info
run: clinfo
Expand All @@ -65,6 +63,4 @@ jobs:
chmod +x ./build.sh
./build.sh
env:
# Work around https://github.com/actions/setup-dotnet/issues/29
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64
CI: true
59 changes: 22 additions & 37 deletions .github/workflows/build-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@ jobs:
- name: System Info
run: systeminfo

- uses: actions/checkout@v2

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json

- name: Build
run: ./build.cmd DotnetBuild
env:
# Work around https://github.com/actions/setup-dotnet/issues/29
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64
CI: true

win-test:
Expand All @@ -38,10 +37,11 @@ jobs:
- name: System Info
run: systeminfo

- uses: actions/checkout@v2

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json

- name: Install OpenCL
run: |
Expand All @@ -52,20 +52,9 @@ jobs:
# Install OpenCL Runtime
choco install opencl-intel-cpu-runtime
# - name: Download "clinfo.exe"
# uses: carlosperate/[email protected]
# with:
# file-url: https://ci.appveyor.com/api/projects/oblomov/clinfo/artifacts/clinfo.exe?job=platform:+x64
# file-name: clinfo.exe
#
# - name: OpenCL Info
# run: clinfo.exe

- name: Build And Test
run: ./build.cmd
env:
# Work around https://github.com/actions/setup-dotnet/issues/29
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64
CI: true

linux-build:
Expand All @@ -75,18 +64,17 @@ jobs:
- name: System Info
run: lscpu

- uses: actions/checkout@v1

- name: Setup .NET Core
uses: actions/setup-dotnet@v1

- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json

- name: Build
run: |
chmod +x ./build.sh
./build.sh DotnetBuild
env:
# Work around https://github.com/actions/setup-dotnet/issues/29
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64
CI: true

linux-test:
Expand All @@ -97,10 +85,11 @@ jobs:
- name: System Info
run: lscpu

- uses: actions/checkout@v1

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json

- name: Install OpenCL
run: |
Expand All @@ -118,8 +107,6 @@ jobs:
chmod +x ./build.sh
./build.sh
env:
# Work around https://github.com/actions/setup-dotnet/issues/29
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64
CI: true

linux-test-self-hosted:
Expand All @@ -130,7 +117,7 @@ jobs:
- name: System Info
run: lscpu

- uses: actions/checkout@v1
- uses: actions/checkout@v3

- name: OpenCL Info
run: clinfo
Expand All @@ -140,6 +127,4 @@ jobs:
chmod +x ./build.sh
./build.sh
env:
# Work around https://github.com/actions/setup-dotnet/issues/29
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64
CI: true

0 comments on commit 71a7295

Please sign in to comment.