-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 870 Bytes
/
linux-docker-ci.yml
File metadata and controls
41 lines (36 loc) · 870 Bytes
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
name: Linux Docker CI
on:
push:
branches:
- main
paths:
- 'src/**'
- 'include/**'
- 'tests/**'
- 'CMakeLists.txt'
- 'linux-tests.Dockerfile'
- '.github/workflows/linux-docker-ci.yml'
pull_request:
branches:
- main
paths:
- 'src/**'
- 'include/**'
- 'tests/**'
- 'CMakeLists.txt'
- 'linux-tests.Dockerfile'
- '.github/workflows/linux-docker-ci.yml'
jobs:
build-and-test-linux:
if: false # TODO: Re-enable later
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build Docker image
run: docker build -t linux-tests -f linux-tests.Dockerfile .
- name: Test with Docker
run: docker run -e CI=true linux-tests