Skip to content

Commit 4e0a41a

Browse files
committed
[NEW] simplify mac build env vars
1 parent 89532eb commit 4e0a41a

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/default.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ on:
1313
env:
1414
ARTIFACT_DIR: ${{ github.workspace }}/dist
1515
DOTNET_NOLOGO: true
16-
MACOSX_DEPLOYMENT_TARGET: "12.0"
1716
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
1817
SODIUM_VERSION: "1.0.21"
1918

@@ -71,7 +70,12 @@ jobs:
7170

7271
build-macos:
7372
name: build (osx-arm64, osx-x64)
74-
runs-on: macos-26
73+
runs-on: macos-latest
74+
env:
75+
LIBSODIUM_FULL_BUILD: 1
76+
LIBSODIUM_SKIP_SIMULATORS: 1
77+
MACOSX_DEPLOYMENT_TARGET: "12.0"
78+
7579
steps:
7680
- name: checkout libsodium
7781
uses: actions/checkout@v6
@@ -89,7 +93,7 @@ jobs:
8993
run: ./configure
9094

9195
- name: build (shared)
92-
run: env LIBSODIUM_FULL_BUILD=1 LIBSODIUM_SKIP_SIMULATORS=1 dist-build/apple-xcframework.sh
96+
run: ./dist-build/apple-xcframework.sh
9397

9498
- name: build (static, arm64)
9599
run: |
@@ -126,7 +130,7 @@ jobs:
126130

127131
build-windows:
128132
name: build (win-arm64, win-x64)
129-
runs-on: windows-2025
133+
runs-on: windows-latest
130134
steps:
131135
- name: checkout libsodium
132136
uses: actions/checkout@v6

0 commit comments

Comments
 (0)