Skip to content

Commit

Permalink
fix(ci): Disable all other builds + some testing stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
maxemiliang committed Mar 17, 2024
1 parent b22eca2 commit 08b50c7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/benchmarker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ jobs:
INPUT_BENCHMARK_TYPE: ${{ inputs.benchmark_type }}
INPUT_BENCHMARKS: ${{ inputs.benchmarks }}
INPUT_SHOT_EXECUTABLE: ${{ inputs.shot_executable }}
OS_AUTH_URL: '${{ secrets.OS_AUTH_URL }}'
OS_PROJECT_ID: '${{ secrets.OS_PROJECT_ID }}'
OS_PROJECT_NAME: '${{ secrets.OS_PROJECT_NAME }}'
OS_AUTH_URL: 'https://pouta.csc.fi:5001/v3'
OS_PROJECT_ID: '230dabcfb234424cb77e7de501ef7efc'
OS_PROJECT_NAME: 'project_2001223'
OS_USER_DOMAIN_NAME: "Default"
OS_PROJECT_DOMAIN_ID: "default"
OS_USERNAME: '${{ secrets.OS_USERNAME }}'
Expand Down
52 changes: 26 additions & 26 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ 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
# 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:
Expand All @@ -37,33 +37,33 @@ jobs:
# Finally, we run some simple benchmarks
benchmark:
name: Benchmark
needs: [ build-test ]
# needs: [ build-test ]
uses: ./.github/workflows/benchmarker.yml
with:
benchmark_folder: "MINLP-convex-small"
benchmark_type: "nl"
enable_gurobi: false
enable_gams: false
shot_artifact: shot-binary-${{ github.sha }}
shot_artifact: shot-binary-b22eca247cc8986be66df8f7e5a9cbe6e55a1f70
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 ]
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
# publish-test:
# name: Publish test results
# needs: [ build-test ]
# 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

0 comments on commit 08b50c7

Please sign in to comment.