Skip to content

Commit 39df25c

Browse files
committed
GHA update
1 parent a33f8fe commit 39df25c

File tree

5 files changed

+29
-25
lines changed

5 files changed

+29
-25
lines changed

.ci-local/defaults.set

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# EPICS Base
2+
BASE_DIRNAME=base
3+
BASE_REPONAME=epics-base
4+
BASE_REPOOWNER=epics-base
5+
BASE_VARNAME=EPICS_BASE
6+
BASE_RECURSIVE=no

.github/workflows/ci-scripts-build.yml

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,65 +24,60 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
include:
27-
- os: ubuntu-20.04
27+
- os: ubuntu-latest
2828
base: "7.0"
2929
python: "2.7"
3030
profile: deb8
3131
test: yes
3232

33-
- os: ubuntu-20.04
33+
- os: ubuntu-latest
3434
base: "7.0"
3535
python: "2.7"
3636
profile: deb8
3737
test: yes
3838

39-
- os: ubuntu-20.04
39+
- os: ubuntu-latest
4040
base: "7.0"
41-
python: "3.5"
42-
profile: deb9
41+
python: "3.7"
42+
profile: deb10
4343
test: yes
4444

45-
- os: ubuntu-20.04
45+
- os: ubuntu-latest
4646
base: "7.0"
47-
python: "3.6"
48-
profile: deb9
47+
python: "3.8"
48+
profile: latest
4949
test: yes
5050

51-
- os: ubuntu-20.04
51+
- os: ubuntu-latest
5252
base: "7.0"
53-
python: "3.7"
54-
profile: deb10
53+
python: "3.9"
54+
profile: latest
5555
test: yes
5656

57-
- os: ubuntu-16.04
57+
- os: ubuntu-latest
5858
base: "3.15"
5959
python: "2.7"
6060
profile: deb8
6161
test: yes
6262

63-
- os: ubuntu-16.04
63+
- os: ubuntu-latest
6464
base: "3.14"
6565
python: "2.7"
6666
profile: deb8
6767

6868
steps:
69-
- uses: actions/checkout@v2
69+
- uses: actions/checkout@v3
7070
with:
7171
submodules: true
72-
- name: Cache EPICS Dependencies
73-
uses: actions/cache@v2
74-
with:
75-
path: ~/.cache
76-
key: ${{ matrix.base }}/${{ matrix.os }}//${{ matrix.extra }}
7772
- name: Set up Python ${{ matrix.python }}
78-
uses: actions/setup-python@v2
73+
uses: actions/setup-python@v4
7974
with:
8075
python-version: ${{ matrix.python }}
8176
- name: More Setup Python
8277
run: |
8378
python --version
8479
python -m pip --version
85-
python -m pip install -r requirements-${PROF}.txt
80+
python -m pip install --only-binary :all: -r requirements-${PROF}.txt
8681
cat <<EOF > configure/CONFIG_SITE.local
8782
PYTHON=$(which python)
8883
EOF

configure/CONFIG_SITE

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,14 @@ CHECK_RELEASE = YES
3232
# take effect.
3333
#IOCS_APPL_TOP = </IOC/path/to/application/top>
3434

35-
# Default python version.
36-
PY_VER=2.7
37-
3835
# Module will be build against this version of the
3936
# Python interpreter
4037
PYTHON ?= python$(PY_VER)
4138

39+
# Default python version.
40+
# Legacy setting. Prefer PYTHON
41+
PY_VER ?= 3.9
42+
4243
USR_CPPFLAGS += -DUSE_TYPED_RSET
4344

4445
-include $(TOP)/configure/CONFIG_SITE.local

requirements-latest.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
numpy
2+
nose

0 commit comments

Comments
 (0)