mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-11-27 15:12:33 +02:00
Create Github build Actions
This commit is contained in:
30
.github/workflows/rust-mac.yml
vendored
Normal file
30
.github/workflows/rust-mac.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: build-mac
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Cache
|
||||
uses: actions/cache@v1.0.3
|
||||
with:
|
||||
path: target
|
||||
key: ${{ runner.os }}
|
||||
- name: Install latest nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
profile: minimal
|
||||
target: x86_64-apple-darwin
|
||||
- name: Build x86_64-apple-darwin
|
||||
run: cargo build --verbose --features sqlite --release --target x86_64-apple-darwin
|
||||
- name: Upload macOS artifact
|
||||
uses: actions/upload-artifact@v1.0.0
|
||||
with:
|
||||
name: x86_64-apple-darwin-bitwarden_rs
|
||||
path: target/x86_64-apple-darwin/release/bitwarden_rs
|
||||
Reference in New Issue
Block a user