Skip to content

fix: move the outputs to the correct place and naming #65

fix: move the outputs to the correct place and naming

fix: move the outputs to the correct place and naming #65

Workflow file for this run

name: Build
# Build this on push
on: [ push, workflow_dispatch ]
# Only build one build at a time
concurrency: push-build
jobs:
# First, we build and test using the default build options and only open source external libraries
build-test:
name: Build & Test
uses: ./.github/workflows/build-workflow.yml
with:
job_count: 4
build_type: Release
retention: 30
upload_artifacts: true
# # Then, we build and test using all licenses included proprietary ones
# build-proprietary:
# name: Build & Test (Proprietary licenses)
# needs: [ build-test ]
# uses: ./.github/workflows/build-workflow.yml
# with:
# job_count: 4
# build_type: Release
# retention: 30
# upload_artifacts: false
# enable_gurobi: true
# enable_gams: true
# artifact_suffix: '-proprietary'
# secrets:
# gurobi_license: ${{ secrets.GUROBI_LICENSE_FILE }}
# gams_license: ${{ secrets.GAMS_LICENSE_FILE }}
# Finally, we run some simple benchmarks
benchmark:
name: Benchmark
needs: [ build-test, build-proprietary ]

Check failure on line 40 in .github/workflows/build-push.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build-push.yml (Line: 40, Col: 26): Job 'benchmark' depends on unknown job 'build-proprietary'. .github/workflows/build-push.yml (Line: 55, Col: 26): Job 'publish-test' depends on unknown job 'build-proprietary'.
uses: ./.github/workflows/benchmarker.yml
with:
benchmark_folder: "MINLP-convex-small"
benchmark_type: "nl"
enable_gurobi: false
enable_gams: false
shot_artifact: ${{ needs.build-test.outputs.binary-artifact }}
secrets:
gurobi_license: ${{ secrets.GUROBI_LICENSE_FILE }}
gams_license: ${{ secrets.GAMS_LICENSE_FILE }}
# Publish the test results as an output
publish-test:
name: Publish test results
needs: [ build-test, build-proprietary ]
runs-on: [ self-hosted, docker ]
steps:
- uses: actions/download-artifact@v3
name: Download artifacts
with:
path: artifacts
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
artifacts/test-*/*.xml