Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Vaultwarden
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Vaultwarden
Commits
24edc94f
Unverified
Commit
24edc94f
authored
5 years ago
by
Sebastian Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
try setting VCPKG_ROOT
parent
4deae763
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/workspace.yml
+12
-8
12 additions, 8 deletions
.github/workflows/workspace.yml
with
12 additions
and
8 deletions
.github/workflows/workspace.yml
+
12
−
8
View file @
24edc94f
...
...
@@ -23,13 +23,13 @@ jobs:
include
:
-
target
:
x86_64-unknown-linux-gnu
os
:
ubuntu-latest
ext
:
'
'
ext
:
# - target: x86_64-unknown-linux-musl
# os: ubuntu-latest
# ext:
''
# ext:
-
target
:
x86_64-apple-darwin
os
:
macOS-latest
ext
:
'
'
ext
:
-
target
:
x86_64-pc-windows-msvc
os
:
windows-latest
ext
:
.exe
...
...
@@ -48,15 +48,19 @@ jobs:
uses
:
actions/cache@v1.0.3
if
:
matrix.os == 'windows-latest'
with
:
path
:
$VCPKG_
DIR
/installed
path
:
$VCPKG_
ROOT
/installed
key
:
${{ runner.os }}-vcpkg-cache-${{ matrix.db-backend }}
env
:
VCPKG_ROOT
:
'
C:\vcpkg'
-
name
:
Cache vcpkg downloads
uses
:
actions/cache@v1.0.3
if
:
matrix.os == 'windows-latest'
with
:
path
:
$VCPKG_
DIR
/downloads
path
:
$VCPKG_
ROOT
/downloads
key
:
${{ runner.os }}-vcpkg-cache-${{ matrix.db-backend }}
env
:
VCPKG_ROOT
:
'
C:\vcpkg'
# - name: Cache homebrew
# uses: actions/cache@v1.0.3
...
...
@@ -84,6 +88,8 @@ jobs:
-
name
:
Install dependencies Windows
run
:
vcpkg integrate install; vcpkg install sqlite3:x64-windows openssl:x64-windows libpq:x64-windows libmysql:x64-windows
if
:
matrix.os == 'windows-latest'
env
:
VCPKG_ROOT
:
'
C:\vcpkg'
# End Install dependencies
# Install rust nightly toolchain
...
...
@@ -116,10 +122,8 @@ jobs:
if
:
matrix.os == 'windows-latest'
run
:
cargo.exe build --features ${{ matrix.db-backend }} --release --target ${{ matrix.target }}
env
:
OPENSSL_DIR
:
C:\Program Files\OpenSSL\
MYSQLCLIENT_LIB_DIR
:
C:\Program Files\MySQL\MySQL Server 8.0\lib
PQ_LIB_DIR
:
C:\Program Files\PostgreSQL\12\lib
RUSTFLAGS
:
-Ctarget-feature=+crt-static
VCPKG_ROOT
:
'
C:\vcpkg'
-
name
:
Build macOS / Ubuntu
if
:
matrix.os == 'macOS-latest' || matrix.os == 'ubuntu-latest'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment