-
Notifications
You must be signed in to change notification settings - Fork 32
78 lines (77 loc) · 2.51 KB
/
nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: Nightly Build
on:
schedule:
- cron: '30 10 * * *' # 2:30AM PT/10:30AM UTC
jobs:
build-ubuntu:
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- run: sudo apt-get update && sudo apt-get upgrade -y && ${PWD}/utils/set_up_ubuntu.sh
- run: make install
# - run: tar -cvzf ChimeraX.tar.gz ChimeraX.app
# - name: Upload the Built ChimeraX
# uses: actions/[email protected]
# with:
# name: ChimeraX-${{matrix.os}}.tar.gz
# path: ./ChimeraX.tar.gz
build-rocky8-docker:
runs-on: ubuntu-20.04
container:
image: rockylinux:8
env:
SHELL: /bin/bash
LANG: en_US.UTF-8
PATH: /usr/bin:/usr/sbin:/bin:/sbin
steps:
- run: export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
- run: dnf update -y
- run: dnf install -y git-all
- uses: actions/checkout@v3
- run: ${PWD}/utils/set_up_centos.sh
- run: source /opt/rh/gcc-toolset-10/enable && make -f Makefile.centos install
build-rocky9-docker:
runs-on: ubuntu-20.04
container:
image: rockylinux:9
env:
SHELL: /bin/bash
LANG: en_US.UTF-8
PATH: /usr/bin:/usr/sbin:/bin:/sbin
steps:
- run: export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
- run: dnf update -y
- run: dnf install -y git-all
- uses: actions/checkout@v3
- run: ${PWD}/utils/set_up_centos.sh
- run: make -f Makefile.centos install
# TODO: Build Generic Linux
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- run: make install
# TODO: Notarize
# - run: tar -Jcvf ChimeraX.tar.xz ChimeraX.app
# - name: Upload the Built ChimeraX
# uses: actions/[email protected]
# with:
# name: ChimeraX-macOS.tar.xz
# path: ./ChimeraX.tar.xz
build-windows:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
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
# TODO: Freeze version to the production ChimeraX compiler
- run: GITHUB_ACTIONS_CI=1 . ./vsvars.sh && make install