Skip to content
Closed
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
61 changes: 61 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: CI

on:
push:
pull_request:

permissions:
actions: write
contents: read

jobs:
test:
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
julia-version: ['1.10', '1']
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v3
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/cache@v3
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1

compat-floor:
name: Compat floor - Julia 1.10 - ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v3
with:
version: '1.10'
- uses: julia-actions/cache@v3
- name: Remove the pinned root manifest
run: julia -e 'rm("Manifest.toml"; force=true)'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1

secondary-environments:
name: Secondary environments - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v3
with:
version: '1'
- uses: julia-actions/cache@v3
- name: Instantiate bench environment
run: julia --project=bench -e 'using Pkg; Pkg.develop(path=pwd()); Pkg.instantiate()'
- name: Instantiate profile environment
run: julia --project=profile -e 'using Pkg; Pkg.develop(path=pwd()); Pkg.instantiate()'
- name: Instantiate new-project template environment
run: julia --project=examples/templates/new_project -e 'using Pkg; Pkg.develop(path=pwd()); Pkg.instantiate()'
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ examples/output/
/bench/runs/
/experiments/runs/
/bench/genomes/
/bench/Manifest.toml
/bench/output/
/examples/templates/new_project/output/
/examples/templates/new_project/Manifest.toml
Expand Down
115 changes: 44 additions & 71 deletions Manifest.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "BrainlessLab"
uuid = "d12add44-1e3e-4161-9a99-c2121a2f0f38"
authors = ["btgaskin <bengaskin@outlook.com>"]
version = "0.0.1"
version = "0.1.0"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# BrainlessLab.jl

[![CI](https://github.com/btgaskin/brainless-lab/actions/workflows/CI.yml/badge.svg)](https://github.com/btgaskin/brainless-lab/actions/workflows/CI.yml)

<p align="center"><img src="brainless-lab.png" alt="BrainlessLab" width="760"></p>

<p align="center">
Expand Down Expand Up @@ -57,6 +59,8 @@ but they should not be described as the 2021 paper model.

## Quickstart

**Requirements:** Julia 1.10 or newer on macOS, Linux, or Windows (CI-verified).

```julia
pkg> activate . # or run scripts with julia --project=.
pkg> dev . # from the brainless-lab/ directory
Expand Down
Loading
Loading