Skip to content

8254 update lua #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 114 additions & 0 deletions .github/workflows/ci-scripts-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# .github/workflows/ci-scripts-build.yml for use with EPICS Base ci-scripts
# (see: https://github.com/epics-base/ci-scripts)

# This is YAML - indentation levels are crucial

# Set the 'name:' properties to values that work for you (MYMODULE)

name: "LUA"

# Trigger on pushes and PRs to any branch
on:
push:
paths-ignore:
- 'docs/*'
- '**/*.html'
- '**/*.md'
- 'github/workflows/ci-scripts-build.yml'
branches:
- master
pull_request:

env:
SETUP_PATH: .github/workflows:.ci
# For the sequencer on Linux/Windows/MacOS
APT: re2c
CHOCO: re2c
BREW: re2c

jobs:
build-base:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
# Set environment variables from matrix parameters
env:
CMP: ${{ matrix.cmp }}
BCFG: ${{ matrix.configuration }}
WINE: ${{ matrix.wine }}
RTEMS: ${{ matrix.rtems }}
RTEMS_TARGET: ${{ matrix.rtems_target }}
EXTRA: ${{ matrix.extra }}
TEST: ${{ matrix.test }}
SET: ${{ matrix.set }}
strategy:
fail-fast: false
matrix:
# Job names also name artifacts, character limitations apply
include:
- os: ubuntu-20.04
cmp: gcc
configuration: default
set: stable_7_0
name: "Linux stable 7.0"

- os: ubuntu-20.04
cmp: gcc
configuration: default
set: stable_3_15
name: "Linux stable 3.15"

- os: ubuntu-20.04
cmp: gcc
configuration: default
set: master_7_0
name: "Linux master 7.0"

- os: ubuntu-20.04
cmp: gcc
configuration: default
set: master_3_15
name: "Linux master 3.15"

- os: macos-latest
cmp: clang
configuration: default
set: master_7_0
name: "MacOS master 7.0"

- os: windows-2022
cmp: vs2022
configuration: static
set: master_7_0
name: "Windows master 7.0"

steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Automatic core dumper analysis
uses: mdavidsaver/ci-core-dumper@master
- name: "apt-get install"
run: |
sudo apt-get update
sudo apt-get -y install qemu-system-x86 g++-mingw-w64-x86-64 gdb
if: runner.os == 'Linux'
- name: "apt-get install ${{ matrix.cmp }}"
run: |
sudo apt-get -y install software-properties-common
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get -y install ${{ matrix.cmp }}
if: matrix.utoolchain
- name: Prepare and compile dependencies
run: python .ci/cue.py prepare
- name: Build main module
run: python .ci/cue.py build
- name: Run main module tests
run: python .ci/cue.py -T 15M test
- name: Upload tapfiles Artifact
uses: actions/upload-artifact@v2
with:
name: tapfiles ${{ matrix.name }}
path: '**/O.*/*.tap'
- name: Collect and show test results
run: python .ci/cue.py test-results
5 changes: 5 additions & 0 deletions .github/workflows/master_3_15.set
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
BASE="3.15"

MODULES="asyn"

ASYN="master"
5 changes: 5 additions & 0 deletions .github/workflows/master_7_0.set
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
BASE="7.0"

MODULES="asyn"

ASYN="master"
5 changes: 5 additions & 0 deletions .github/workflows/stable_3_15.set
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
BASE="3.15"

MODULES="asyn"

ASYN="R4-42"
5 changes: 5 additions & 0 deletions .github/workflows/stable_7_0.set
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
BASE="R7.0.4.1"

MODULES="asyn"

ASYN="R4-42"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
*~
*.swp
*BAK.adl
bin/
/db/
dbd/
html/
auto_settings.sav*
auto_positions.sav*
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule ".ci"]
path = .ci
url = https://github.com/epics-base/ci-scripts
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/epics-modules/lua.svg?branch=master)](https://travis-ci.org/epics-modules/lua)
[![LUA](https://github.com/epics-modules/lua/actions/workflows/ci-scripts-build.yml/badge.svg)](https://github.com/epics-modules/lua/actions/workflows/ci-scripts-build.yml)

# lua
Lua Utilities for EPICS
Expand All @@ -12,4 +12,4 @@ Lua Utilities for EPICS
[Report an issue with lua](https://github.com/epics-modules/script/issues/new?title=%20ISSUE%20NAME%20HERE&body=**Describe%20the%20issue**%0A%0A**Steps%20to%20reproduce**%0A1.%20Step%20one%0A2.%20Step%20two%0A3.%20Step%20three%0A%0A**Expected%20behaivour**%0A%0A**Actual%20behaviour**%0A%0A**Build%20Environment**%0AArchitecture:%0AEpics%20Base%20Version:%0ADependent%20Module%20Versions:&labels=bug)
[Request a feature](https://github.com/epics-modules/script/issues/new?title=%20FEATURE%20SHORT%20DESCRIPTION&body=**Feature%20Long%20Description**%0A%0A**Why%20should%20this%20be%20added?**%0A&labels=enhancement)

* [HTML documentation](https://epics-lua.readthedocs.io/en/latest/index.html)
* [HTML documentation](https://epics-modules.github.io/lua/)
2 changes: 1 addition & 1 deletion configure/CONFIG_SITE
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ CHECK_RELEASE = YES
-include $(TOP)/../CONFIG_SITE.local
-include $(TOP)/../configure/CONFIG_SITE.local
-include $(TOP)/configure/CONFIG_SITE.local

-include $(TOP)/configure/CONFIG_SITE.local.$(OS_CLASS)
2 changes: 0 additions & 2 deletions configure/CONFIG_SITE.Common.linux-x86

This file was deleted.

2 changes: 0 additions & 2 deletions configure/CONFIG_SITE.Common.linux-x86_64

This file was deleted.

2 changes: 0 additions & 2 deletions configure/CONFIG_SITE.Common.win32-x86

This file was deleted.

2 changes: 0 additions & 2 deletions configure/CONFIG_SITE.Common.windows-x64

This file was deleted.

1 change: 1 addition & 0 deletions configure/CONFIG_SITE.local
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CXX11_SUPPORT=YES
2 changes: 2 additions & 0 deletions configure/CONFIG_SITE.local.Linux
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
USR_CFLAGS += -DLUA_USE_LINUX
USR_CXXFLAGS += -DLUA_USE_LINUX
8 changes: 8 additions & 0 deletions configure/CONFIG_SITE.local.WIN32
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ifeq ($(SHARED_LIBRARIES), YES)
USR_CFLAGS += -DLUA_BUILD_AS_DLL
USR_CXXFLAGS += -DLUA_BUILD_AS_DLL
endif


# Uncomment the following if using a pre-VS2015 compiler
# CXX11_SUPPORT = NO
1 change: 1 addition & 0 deletions configure/CONFIG_SITE.local.vxWorks
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CXX11_SUPPORT=NO
4 changes: 0 additions & 4 deletions configure/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ TOP=..

include $(TOP)/configure/CONFIG

# Set the following to NO to disable consistency checking of
# the support applications defined in $(TOP)/configure/RELEASE
CHECK_RELEASE = YES

TARGETS = $(CONFIG_TARGETS)
CONFIGS += $(subst ../,,$(wildcard $(CONFIG_INSTALLS)))

Expand Down
1 change: 1 addition & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
remote_theme: BCDA-APS/bcda-pages-style
4 changes: 0 additions & 4 deletions docs/_overrides/breadcrumbs.html

This file was deleted.

14 changes: 0 additions & 14 deletions docs/_overrides/theme_overrides.css

This file was deleted.

Loading
Loading