|
8 | 8 | name: Build ChimeraX
|
9 | 9 | strategy:
|
10 | 10 | matrix:
|
11 |
| - os: [ubuntu-20.04, ubuntu-22.04] |
| 11 | + os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04] |
12 | 12 | env:
|
13 | 13 | PYOPENGL_PLATFORM: egl
|
14 | 14 | runs-on: ${{ matrix.os }}
|
15 | 15 | steps:
|
16 | 16 | - uses: actions/checkout@v4
|
17 | 17 | - run: sudo apt-get update && sudo apt-get upgrade -y && ${PWD}/utils/set_up_ubuntu.sh
|
18 |
| - - run: MAKEOPTS="-j$(nproc)" make -j$(nproc) build-minimal |
| 18 | + - run: MAKEOPTS="-j$(nproc)" make -j$(nproc) install |
19 | 19 | - name: Run the legacy test suite
|
20 | 20 | run: make test
|
21 | 21 | - name: Install Pytest
|
|
30 | 30 | run: USE_COVERAGE=1 make pytest-app
|
31 | 31 | - name: Report coverage
|
32 | 32 | run: make report-coverage
|
| 33 | + - name: Make the package |
| 34 | + run: make -f Makefile.ubuntu github-techpreview-package |
| 35 | + - run: mv ${{ matrix.os }}/ucsf-chimerax-*.deb ./chimerax.deb |
| 36 | + - name: Upload ChimeraX |
| 37 | + uses: ./utils/ci/upload_artifact |
| 38 | + with: |
| 39 | + artifact_path: chimerax.deb |
| 40 | + full_build: true |
| 41 | + release_type: github-techpreview |
| 42 | + platform: ${{ matrix.os }} |
| 43 | + deploy_key: ${{ secrets.PREBUILT_CACHE_SECRET }} |
| 44 | + |
33 | 45 | build-rocky8-docker:
|
34 | 46 | runs-on: ubuntu-20.04
|
35 | 47 | container:
|
|
45 | 57 | # buildinfo.py breaks without this
|
46 | 58 | - run: chown -R $(id -u):$(id -g) $PWD
|
47 | 59 | - run: ${PWD}/utils/set_up_centos.sh
|
48 |
| - - run: source /opt/rh/gcc-toolset-10/enable && MAKEOPTS="-j$(nproc)" make -j$(nproc) -f Makefile.centos build-minimal |
| 60 | + - run: source /opt/rh/gcc-toolset-10/enable && MAKEOPTS="-j$(nproc)" make -j$(nproc) -f Makefile.centos install |
49 | 61 | - name: Run the legacy test suite
|
50 | 62 | run: make test
|
51 | 63 | - name: Install Pytest
|
|
60 | 72 | run: USE_COVERAGE=1 make pytest-app
|
61 | 73 | - name: Report coverage
|
62 | 74 | run: make report-coverage
|
| 75 | + |
63 | 76 | build-macos:
|
64 | 77 | runs-on: macos-latest
|
65 | 78 | steps:
|
|
68 | 81 | uses: Homebrew/actions/setup-homebrew@master
|
69 | 82 | - uses: actions/checkout@v4
|
70 | 83 | - run: ${PWD}/utils/set_up_macos.sh
|
71 |
| - - run: MAKEOPTS="-j$(sysctl -n hw.logicalcpu)" make -j$(sysctl -n hw.logicalcpu) build-minimal |
| 84 | + - run: MAKEOPTS="-j$(sysctl -n hw.logicalcpu)" make -j$(sysctl -n hw.logicalcpu) install |
72 | 85 | - name: Run the legacy test suite
|
73 | 86 | run: make test
|
74 | 87 | - name: Install Pytest
|
@@ -115,7 +128,7 @@ jobs:
|
115 | 128 | msystem: MINGW64
|
116 | 129 | update: true
|
117 | 130 | install: git mingw-w64-x86_64-imagemagick mingw-w64-x86_64-binutils mingw-w64-x86_64-gcc mingw-w64-x86_64-gcc-objc mingw-w64-x86_64-gcc-fortran rsync patch unzip openssh make mingw-w64-x86_64-autotools
|
118 |
| - - run: AUTOMATIC_DISCOVERY=1 . ./vsvars.sh && MAKEOPTS="-j$(nproc)" make -j$(nproc) build-minimal |
| 131 | + - run: AUTOMATIC_DISCOVERY=1 . ./vsvars.sh && MAKEOPTS="-j$(nproc)" make -j$(nproc) install |
119 | 132 | - name: Run the legacy test suite
|
120 | 133 | run: AUTOMATIC_DISCOVERY=1 . ./vsvars.sh && make test
|
121 | 134 | - name: Install Pytest
|
|
0 commit comments