From 0439e54ddcec96245183f66315ff082dab250e63 Mon Sep 17 00:00:00 2001 From: Semyon Date: Fri, 13 Jan 2023 13:34:29 +0300 Subject: [PATCH 1/3] Update actions version in build-docks --- .github/workflows/build-docs.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index cb981b13..2e06ec69 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -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: @@ -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 From edf84a39c43c57a29b9814ced81996909693ca6d Mon Sep 17 00:00:00 2001 From: Semyon Date: Fri, 13 Jan 2023 14:30:42 +0300 Subject: [PATCH 2/3] Update actions versions in build-on-push --- .github/workflows/build-on-push.yml | 59 +++++++++++------------------ 1 file changed, 22 insertions(+), 37 deletions(-) diff --git a/.github/workflows/build-on-push.yml b/.github/workflows/build-on-push.yml index a37d5a75..7e746dbf 100644 --- a/.github/workflows/build-on-push.yml +++ b/.github/workflows/build-on-push.yml @@ -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: @@ -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: | @@ -52,20 +52,9 @@ jobs: # Install OpenCL Runtime choco install opencl-intel-cpu-runtime - # - name: Download "clinfo.exe" - # uses: carlosperate/download-file-action@v1.0.3 - # 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: @@ -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: @@ -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: | @@ -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: @@ -130,7 +117,7 @@ jobs: - name: System Info run: lscpu - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: OpenCL Info run: clinfo @@ -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 From eddec31bb1007962d6f75539b9e1c0668fa395af Mon Sep 17 00:00:00 2001 From: Semyon Date: Fri, 13 Jan 2023 14:39:27 +0300 Subject: [PATCH 3/3] Update actions versions in build-on-pr --- .github/workflows/build-on-pr.yml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-on-pr.yml b/.github/workflows/build-on-pr.yml index 1495b9ab..4a1b160b 100644 --- a/.github/workflows/build-on-pr.yml +++ b/.github/workflows/build-on-pr.yml @@ -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: @@ -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: @@ -55,7 +53,7 @@ jobs: - name: System Info run: lscpu - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: OpenCL Info run: clinfo @@ -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