Skip to content

Commit 9b2e967

Browse files
authored
[ms-go1.23-support] Support serializing SymCrypt hash objects (#281)
* support serializing SymCrypt hash objects (cherry picked from commit 413fa49) * bump ubuntu image * fix xi * use raw parameters * fix mac ci
1 parent c5672cc commit 9b2e967

File tree

7 files changed

+914
-407
lines changed

7 files changed

+914
-407
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ jobs:
55
strategy:
66
fail-fast: false
77
matrix:
8-
go-version: [1.20.x]
8+
go-version: [1.23.x]
99
openssl-version: [1.0.2, 1.1.0, 1.1.1, 3.0.1, 3.0.13, 3.1.5, 3.2.1]
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111
steps:
1212
- name: Install build tools
1313
run: sudo apt-get install -y build-essential
@@ -22,6 +22,7 @@ jobs:
2222
- name: Check headers
2323
working-directory: ./cmd/checkheader
2424
run: go run . --ossl-include /usr/local/src/openssl-${{ matrix.openssl-version }}/include -shim ../../shims.h
25+
if: ${{ matrix.openssl-version != '1.0.2' }} # Doesn't work on Ubuntu 22.04
2526
- name: Set OpenSSL config and prove FIPS
2627
run: |
2728
sudo cp ./scripts/openssl-3.cnf /usr/local/ssl/openssl.cnf
@@ -50,7 +51,7 @@ jobs:
5051
strategy:
5152
fail-fast: false
5253
matrix:
53-
go-version: [1.20.x]
54+
go-version: [1.23.x]
5455
openssl-version: [libcrypto-1_1-x64.dll, libcrypto-3-x64.dll]
5556
steps:
5657
- name: Install Go
@@ -67,9 +68,9 @@ jobs:
6768
strategy:
6869
fail-fast: false
6970
matrix:
70-
go-version: [1.20.x]
71-
openssl-version: [libcrypto.3.dylib]
72-
runs-on: macos-12
71+
go-version: [1.23.x]
72+
openssl-version: [/usr/local/opt/openssl@3/lib/libcrypto.3.dylib]
73+
runs-on: macos-13
7374
steps:
7475
- name: Install Go
7576
uses: actions/setup-go@v3

0 commit comments

Comments
 (0)