Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
b0e7d35d
"vscode:/vscode.git/clone" did not exist on "1578c0c7ac1f378702705a8edeba78f678b8a50f"
Unverified
Commit
b0e7d35d
authored
Apr 04, 2024
by
Jeffrey Morgan
Committed by
GitHub
Apr 04, 2024
Browse files
use an older version of the mac os sdk in release (#3484)
parent
a2e60ebc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
20 deletions
+21
-20
.github/workflows/release.yaml
.github/workflows/release.yaml
+21
-20
No files found.
.github/workflows/release.yaml
View file @
b0e7d35d
...
...
@@ -8,7 +8,7 @@ on:
jobs
:
# Full build of the Mac assets
build-darwin
:
runs-on
:
macos-
latest
runs-on
:
macos-
12
environment
:
release
steps
:
-
uses
:
actions/checkout@v4
...
...
@@ -38,6 +38,8 @@ jobs:
APPLE_PASSWORD
:
${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID
:
${{ vars.APPLE_TEAM_ID }}
APPLE_ID
:
${{ vars.APPLE_ID }}
SDKROOT
:
/Applications/Xcode_13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
DEVELOPER_DIR
:
/Applications/Xcode_13.4.1.app/Contents/Developer
run
:
|
./scripts/build_darwin.sh
...
...
@@ -48,7 +50,6 @@ jobs:
dist/*arwin*
!dist/*-cov
# Windows builds take a long time to both install the dependencies and build, so parallelize
# CPU generation step
generate-windows-cpu
:
...
...
@@ -140,7 +141,7 @@ jobs:
with
:
go-version
:
'
1.22'
cache
:
true
-
name
:
"
Install
ROCm
"
-
name
:
'
Install
ROCm
'
run
:
|
$ErrorActionPreference = "Stop"
write-host "downloading AMD HIP Installer"
...
...
@@ -148,7 +149,7 @@ jobs:
write-host "Installing AMD HIP"
Start-Process "${env:RUNNER_TEMP}\rocm-install.exe" -ArgumentList '-install' -NoNewWindow -Wait
write-host "Completed AMD HIP"
-
name
:
"
Verify
ROCm
"
-
name
:
'
Verify
ROCm
'
run
:
|
& 'C:\Program Files\AMD\ROCm\*\bin\clang.exe' --version
-
run
:
go get ./...
...
...
@@ -162,7 +163,7 @@ jobs:
$env:HIP_PATH=$(Resolve-Path 'C:\Program Files\AMD\ROCm\*\bin\clang.exe' | split-path | split-path)
go generate -x ./...
name
:
go generate
-
name
:
"
gather
rocm
dependencies
"
-
name
:
'
gather
rocm
dependencies
'
run
:
|
$HIP_PATH=$(Resolve-Path 'C:\Program Files\AMD\ROCm\*\bin\clang.exe' | split-path | split-path)
md "dist\deps\bin\rocblas\library"
...
...
@@ -215,7 +216,7 @@ jobs:
with
:
go-version
:
'
1.22'
cache
:
true
-
name
:
"
Install
CUDA
"
-
name
:
'
Install
CUDA
'
run
:
|
$ErrorActionPreference = "Stop"
write-host "downloading CUDA Installer"
...
...
@@ -229,7 +230,7 @@ jobs:
echo "CUDA_PATH=$cudaPath" >> $env:GITHUB_ENV
echo "CUDA_PATH_V${cudaVer}=$cudaPath" >> $env:GITHUB_ENV
echo "CUDA_PATH_VX_Y=CUDA_PATH_V${cudaVer}" >> $env:GITHUB_ENV
-
name
:
"
Verify
CUDA
"
-
name
:
'
Verify
CUDA
'
run
:
nvcc -V
-
run
:
go get ./...
-
name
:
go generate
...
...
@@ -242,7 +243,7 @@ jobs:
$env:PATH="$gopath;$cudabin;$env:PATH"
$env:OLLAMA_SKIP_CPU_GENERATE="1"
go generate -x ./...
-
name
:
"
gather
cuda
dependencies
"
-
name
:
'
gather
cuda
dependencies
'
run
:
|
$NVIDIA_DIR=(resolve-path 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\*\bin\')[0]
md "dist\deps"
...
...
@@ -343,9 +344,9 @@ jobs:
environment
:
release
runs-on
:
linux
env
:
OLLAMA_SKIP_MANIFEST_CREATE
:
"
1"
OLLAMA_SKIP_MANIFEST_CREATE
:
'
1'
BUILD_ARCH
:
amd64
PUSH
:
"
1"
PUSH
:
'
1'
steps
:
-
uses
:
actions/checkout@v4
with
:
...
...
@@ -375,9 +376,9 @@ jobs:
environment
:
release
runs-on
:
linux-arm64
env
:
OLLAMA_SKIP_MANIFEST_CREATE
:
"
1"
OLLAMA_SKIP_MANIFEST_CREATE
:
'
1'
BUILD_ARCH
:
arm64
PUSH
:
"
1"
PUSH
:
'
1'
steps
:
-
uses
:
actions/checkout@v4
with
:
...
...
@@ -385,7 +386,7 @@ jobs:
-
name
:
Set Version
shell
:
bash
run
:
echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
-
name
:
"
Install
Docker
"
-
name
:
'
Install
Docker
'
run
:
|
# Add Docker's official GPG key:
env
...
...
@@ -433,8 +434,8 @@ jobs:
permissions
:
contents
:
write
env
:
OLLAMA_SKIP_IMAGE_BUILD
:
"
1"
PUSH
:
"
1"
OLLAMA_SKIP_IMAGE_BUILD
:
'
1'
PUSH
:
'
1'
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Set Version
...
...
@@ -462,7 +463,7 @@ jobs:
with
:
name
:
${{ env.RELEASE_VERSION }}
allowUpdates
:
true
artifacts
:
"
dist/*
"
artifacts
:
'
dist/*
'
draft
:
true
prerelease
:
true
omitBodyDuringUpdate
:
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment