Skip to content

Commit

Permalink
Initial CI actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinleroy committed Feb 18, 2024
1 parent ad4fd46 commit 2443626
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: argus

on:
push:
branches:
- "**"
tags-ignore:
- "v*"
pull_request:
branches:
- "**"

jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

- name: Setup
uses: ./.github/workflows/setup

- name: Argus tests
uses: actions-rs/cargo@v1
with:
command: test
25 changes: 25 additions & 0 deletions .github/workflows/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: setup
runs:
using: composite
steps:
- uses: actions/checkout@v3

- uses: davidB/rust-cargo-make@v1
with:
version: '0.36.4'

- name: Gen bindings
run: cargo make init-bindings
shell: bash

- name: Install Depot
run: curl https://raw.githubusercontent.com/cognitive-engineering-lab/depot/main/scripts/install.sh | sh
shell: bash

- name: Prepare frontend
run: cd ide && depot build
shell: bash

- name: Install argus
run: cargo install --path crates/argus_cli --debug --locked
shell: bash

0 comments on commit 2443626

Please sign in to comment.