Skip to content

Commit

Permalink
Merge pull request #7 from 2-5-Foundation/test-actions
Browse files Browse the repository at this point in the history
build.yml
  • Loading branch information
mshankarrao authored Dec 1, 2023
2 parents 268cddd + c881b0a commit 654694e
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 64 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: build-vane
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- "**.md"
pull_request:
branches:
- main
paths-ignore:
- "**.md"

jobs:
build-vane:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
submodules: recursive

- name: Install minimal nightly Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-05-22
target: wasm32-unknown-unknown
override: true

- name: Clean unused directories
run: sudo rm -rf /usr/share/dotnet;sudo rm -rf /opt/ghc;sudo rm -rf "/usr/local/share/boost";sudo rm -rf "$AGENT_TOOLSDIRECTORY"

- name: Install Protobuf
run: sudo apt install protobuf-compiler

- name: Run build
run: cargo build
64 changes: 0 additions & 64 deletions .github/workflows/test-and-lint.yml

This file was deleted.

0 comments on commit 654694e

Please sign in to comment.