Skip to content

Commit

Permalink
Add initial workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Pesa committed Jan 28, 2023
1 parent a7367c4 commit 2e382d6
Show file tree
Hide file tree
Showing 4 changed files with 94 additions and 1 deletion.
38 changes: 38 additions & 0 deletions .github/workflows/jenkins-script-macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
on:
workflow_call:
inputs:
submodules:
description: 'Whether to checkout submodules'
default: false
required: false
type: boolean

permissions:
contents: read

jobs:
build:
name: Xcode ${{ matrix.xcode }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- {os: macos-11, xcode: '12.4'}
- {os: macos-11, xcode: '12.5'}
- {os: macos-11, xcode: '13.2'}
- {os: macos-12, xcode: '13.4'}
- {os: macos-12, xcode: '14.2'}
steps:
- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode }}
- name: Checkout
uses: actions/checkout@v3
with:
submodules: ${{ inputs.submodules }}
- name: Build and test
run: ./.jenkins
env:
CACHE_DIR: ${{ runner.temp }}
50 changes: 50 additions & 0 deletions .github/workflows/jenkins-script-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
on:
workflow_call:
inputs:
submodules:
description: 'Whether to checkout submodules'
default: false
required: false
type: boolean

permissions:
contents: read

jobs:
build:
name: ${{ matrix.compiler }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- {os: ubuntu-20.04, compiler: g++-7}
- {os: ubuntu-20.04, compiler: g++-8}
- {os: ubuntu-20.04, compiler: g++-9}
- {os: ubuntu-22.04, compiler: g++-10}
- {os: ubuntu-22.04, compiler: g++-11}
- {os: ubuntu-22.04, compiler: g++-12}
- {os: ubuntu-20.04, compiler: clang++-6.0}
- {os: ubuntu-20.04, compiler: clang++-7}
- {os: ubuntu-20.04, compiler: clang++-8}
- {os: ubuntu-20.04, compiler: clang++-9}
- {os: ubuntu-20.04, compiler: clang++-10}
- {os: ubuntu-20.04, compiler: clang++-11}
- {os: ubuntu-22.04, compiler: clang++-12}
- {os: ubuntu-22.04, compiler: clang++-13}
- {os: ubuntu-22.04, compiler: clang++-14}
env:
CXX: ${{ matrix.compiler }}
steps:
- name: Install C++ compiler
run: |
sudo apt-get -qy install ${CXX/clang++/clang}
${CXX} --version
- name: Checkout
uses: actions/checkout@v3
with:
submodules: ${{ inputs.submodules }}
- name: Build and test
run: ./.jenkins
env:
CACHE_DIR: ${{ runner.temp }}
3 changes: 3 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# actions
# named-data/actions

Collection of reusable GitHub Actions workflows for [named-data](https://github.com/named-data) repositories.

0 comments on commit 2e382d6

Please sign in to comment.