Skip to content

Commit

Permalink
updating workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Oct 27, 2024
1 parent 68133b3 commit f9782f3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ runs:
(Get-Content -Raw build/edge_coreclr.vcxproj) -replace '<FloatingPointModel>Strict</FloatingPointModel>', '<!-- <FloatingPointModel>Strict</FloatingPointModel> -->' | Out-File -Encoding Utf8 build/edge_coreclr.vcxproj
(Get-Content -Raw build/edge_nativeclr.vcxproj) -replace '<FloatingPointModel>Strict</FloatingPointModel>', '<!-- <FloatingPointModel>Strict</FloatingPointModel> -->' | Out-File -Encoding Utf8 build/edge_nativeclr.vcxproj
}
if ( '${{ inputs.electron }}' -ge 32 -And '${{ inputs.arch }}' -eq 'arm64'){
if ( '${{ inputs.electron }}' -ge 32){
(Get-Content -Raw build/build_managed.vcxproj) -replace 'std:c\+\+17', 'std:c++20' | Out-File -Encoding Utf8 build/build_managed.vcxproj
(Get-Content -Raw build/edge_coreclr.vcxproj) -replace 'std:c\+\+17', 'std:c++20' | Out-File -Encoding Utf8 build/edge_coreclr.vcxproj
(Get-Content -Raw build/edge_nativeclr.vcxproj) -replace 'std:c\+\+17', 'std:c++20' | Out-File -Encoding Utf8 build/edge_nativeclr.vcxproj
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
electron: [29, 30, 31, 32, 33]
os: [windows-2022]

name: build ${{ matrix.os }}-v${{ matrix.electron }}
name: build ${{ matrix.os }}-electron-${{ matrix.electron }}
steps:

- name: Checkout code
Expand Down Expand Up @@ -91,9 +91,10 @@ jobs:
strategy:
matrix:
os: [windows-2022]
electron: ['${{ needs.build.outputs.test-version }}']
# fail-fast: false

name: test ${{ matrix.os }}-v${{ needs.build.outputs.test-version }}
name: test ${{ matrix.os }}-v${{ matrix.electron }}
steps:

- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
matrix:
os: [windows-2022]

name: build ${{ matrix.os }}-v${{ inputs.build-version }}
name: build ${{ matrix.os }}-electron-${{ inputs.build-version }}
steps:

- name: Checkout code
Expand Down

0 comments on commit f9782f3

Please sign in to comment.