Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Build

on:
push:
paths:
- 'Cargo.lock'
- 'Cargo.toml'
- 'src/**'
pull_request:
paths:
- 'Cargo.lock'
- 'Cargo.toml'
- 'src/**'

jobs:
linux_gnu_x86:
name: Debian X86 - Rust ${{ matrix.rust }}
runs-on: ubuntu-20.04
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
rust: [1.56.1]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install LLVM 13
uses: KyleMayes/install-llvm-action@v1
with:
version: "13.0"
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt
- name: Run cargo fmt cubestore
uses: actions-rs/cargo@v1
with:
command: fmt
- name: Run cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: -j 4

apple_x86:
name: macOS X86 Rust ${{ matrix.rust }}
runs-on: macos-latest
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
rust: [1.56.1]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install LLVM 13
uses: KyleMayes/install-llvm-action@v1
with:
version: "13.0"
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt
- name: Run cargo fmt cubestore
uses: actions-rs/cargo@v1
with:
command: fmt
- name: Run cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: -j 4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
node_modules
build
output
target
*.js
*.js.map
77 changes: 0 additions & 77 deletions .gitlab-ci.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "cargo",
"command": "build",
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "rust: cargo build"
}
]
}
Loading