|
4 | 4 | push: |
5 | 5 |
|
6 | 6 | jobs: |
7 | | - check: |
8 | | - runs-on: ubuntu-latest |
9 | | - container: |
10 | | - image: debian:bookworm-slim # use the same image as our docker runner |
11 | | - steps: |
12 | | - - name: Clone repo (shallow) |
13 | | - uses: actions/checkout@v4 |
14 | | - with: |
15 | | - fetch-depth: 0 |
| 7 | + # check: |
| 8 | + # runs-on: ubuntu-latest |
| 9 | + # container: |
| 10 | + # image: debian:bookworm-slim # use the same image as our docker runner |
| 11 | + # steps: |
| 12 | + # - name: Clone repo (shallow) |
| 13 | + # uses: actions/checkout@v4 |
| 14 | + # with: |
| 15 | + # fetch-depth: 0 |
16 | 16 |
|
17 | | - - name: Set up JDK 17 |
18 | | - uses: actions/setup-java@v4 |
19 | | - with: |
20 | | - java-version: '17' |
21 | | - distribution: 'temurin' |
| 17 | + # - name: Set up JDK 17 |
| 18 | + # uses: actions/setup-java@v4 |
| 19 | + # with: |
| 20 | + # java-version: '17' |
| 21 | + # distribution: 'temurin' |
22 | 22 |
|
23 | | - - name: Set up GAMS |
24 | | - shell: bash # required for the source command |
25 | | - env: |
26 | | - GAMS_LICENSE: ${{ secrets.GAMS_LICENSE }} |
27 | | - run: | |
28 | | - source ./scripts/setup-gams.sh |
29 | | - echo "/opt/conda/bin" >> "$GITHUB_PATH" |
30 | | - echo "$GAMS_PATH" >> "$GITHUB_PATH" |
31 | | - echo "GMSPYTHONLIB=/opt/conda/envs/gams/lib/libpython3.10.so" >> "$GITHUB_ENV" |
| 23 | + # - name: Set up GAMS |
| 24 | + # shell: bash # required for the source command |
| 25 | + # env: |
| 26 | + # GAMS_LICENSE: ${{ secrets.GAMS_LICENSE }} |
| 27 | + # run: | |
| 28 | + # source ./scripts/setup-gams.sh |
| 29 | + # echo "/opt/conda/bin" >> "$GITHUB_PATH" |
| 30 | + # echo "$GAMS_PATH" >> "$GITHUB_PATH" |
| 31 | + # echo "GMSPYTHONLIB=/opt/conda/envs/gams/lib/libpython3.10.so" >> "$GITHUB_ENV" |
32 | 32 |
|
33 | | - - name: Cache Venv dependencies |
34 | | - uses: actions/cache@v4 |
35 | | - with: |
36 | | - path: ${{ github.workspace }}/venv |
37 | | - # update venv when setup script or any solver has changed: |
38 | | - key: venv-${{ runner.os }}-${{ hashFiles('scripts/ci-setup-solvers.sh', 'solvers/**') }} |
39 | | - restore-keys: | |
40 | | - venv-${{ runner.os }}- |
| 33 | + # - name: Cache Venv dependencies |
| 34 | + # uses: actions/cache@v4 |
| 35 | + # with: |
| 36 | + # path: ${{ github.workspace }}/venv |
| 37 | + # # update venv when setup script or any solver has changed: |
| 38 | + # key: venv-${{ runner.os }}-${{ hashFiles('scripts/ci-setup-solvers.sh', 'solvers/**') }} |
| 39 | + # restore-keys: | |
| 40 | + # venv-${{ runner.os }}- |
41 | 41 |
|
42 | | - - name: Install solver dependencies |
43 | | - run: ./scripts/ci-setup-solvers.sh |
| 42 | + # - name: Install solver dependencies |
| 43 | + # run: ./scripts/ci-setup-solvers.sh |
44 | 44 |
|
45 | | - - name: Run checks |
46 | | - shell: bash # required for the source command |
47 | | - run: | # change to "./gradlew check --info" for more debugging output. |
48 | | - source /opt/conda/bin/activate gams |
49 | | - ./gradlew check --info |
| 45 | + # - name: Run checks |
| 46 | + # shell: bash # required for the source command |
| 47 | + # run: | # change to "./gradlew check --info" for more debugging output. |
| 48 | + # source /opt/conda/bin/activate gams |
| 49 | + # ./gradlew check --info |
50 | 50 |
|
51 | | - - name: Archive test reports |
52 | | - if: always() |
53 | | - uses: actions/upload-artifact@v4 |
54 | | - with: |
55 | | - name: test-report |
56 | | - path: build/reports/tests/test/ |
| 51 | + # - name: Archive test reports |
| 52 | + # if: always() |
| 53 | + # uses: actions/upload-artifact@v4 |
| 54 | + # with: |
| 55 | + # name: test-report |
| 56 | + # path: build/reports/tests/test/ |
57 | 57 |
|
58 | | - - name: Archive style reports |
59 | | - if: always() |
60 | | - uses: actions/upload-artifact@v4 |
61 | | - with: |
62 | | - name: style-report |
63 | | - path: build/reports/checkstyle/ |
| 58 | + # - name: Archive style reports |
| 59 | + # if: always() |
| 60 | + # uses: actions/upload-artifact@v4 |
| 61 | + # with: |
| 62 | + # name: style-report |
| 63 | + # path: build/reports/checkstyle/ |
64 | 64 |
|
65 | 65 | deploy-staging: |
66 | 66 | runs-on: ubuntu-latest |
67 | | - needs: check |
| 67 | + # needs: check |
68 | 68 | if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' }} |
69 | 69 | steps: |
70 | 70 | - name: Cloning repo |
|
0 commit comments