mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 08:18:51 -06:00
Initial public release
This commit is contained in:
33
.github/workflows/benchmark.yml
vendored
Normal file
33
.github/workflows/benchmark.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Benchmark
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '**.csv'
|
||||
- '**.md'
|
||||
- '.git*'
|
||||
- 'test/**'
|
||||
jobs:
|
||||
benchmark:
|
||||
runs-on: [self-hosted, benchmark]
|
||||
timeout-minutes: 10080
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Benchmark
|
||||
run: |
|
||||
julia --project=@. -e 'using Pkg; Pkg.instantiate()'
|
||||
make build/sysimage.so
|
||||
make -C benchmark clean
|
||||
make -C benchmark -kj4
|
||||
make -C benchmark tables
|
||||
make -C benchmark clean-mps clean-sol
|
||||
- name: Upload logs
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: logs
|
||||
path: benchmark/results/*
|
||||
- name: Upload tables & charts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: tables
|
||||
path: benchmark/tables/*
|
||||
|
||||
9
.github/workflows/test.yml
vendored
Normal file
9
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
name: Tests
|
||||
on: push
|
||||
jobs:
|
||||
test:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Run unit tests
|
||||
run: julia --project=@. -e 'using Pkg; Pkg.test("UnitCommitment")'
|
||||
Reference in New Issue
Block a user