Skip to content

Commit

Permalink
Merge branch 'main' into optim-jump
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoffrin committed Jan 27, 2024
2 parents 80d498d + c14e22b commit abc4017
Show file tree
Hide file tree
Showing 26 changed files with 1,987 additions and 482 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
name: ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version: ['1']
os: [ubuntu-latest]
arch: [x64]
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: install
shell: julia --color=yes --project=. {0}
run: |
using Pkg
Pkg.instantiate()
- run: julia --color=yes --project=. test/runtests.jl
33 changes: 33 additions & 0 deletions .github/workflows/variants.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: variants
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
name: ${{ matrix.variant }} - ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
variant: ['jump-nl', 'jump-symbolic-ad', 'jump-traced', 'optimization-cs-asrd']
version: ['1']
os: [ubuntu-latest]
arch: [x64]
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: install
shell: julia --color=yes --project=variants {0}
run: |
using Pkg
Pkg.instantiate()
- name: test
env:
MODELING_FRAMEWORK: ${{ matrix.variant }}
run: julia --color=yes --project=variants variants/runtests.jl
Loading

0 comments on commit abc4017

Please sign in to comment.