Skip to content

Commit

Permalink
Update actions versions in build-on-push
Browse files Browse the repository at this point in the history
  • Loading branch information
gsvgit authored Jan 13, 2023
1 parent 0439e54 commit edf84a3
Showing 1 changed file with 22 additions and 37 deletions.
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 edf84a3

Please sign in to comment.