-
Notifications
You must be signed in to change notification settings - Fork 28
50 lines (41 loc) · 1.1 KB
/
Copy pathbasic_test.yml
File metadata and controls
50 lines (41 loc) · 1.1 KB
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
name: Basic Tests
on:
push:
branches: '**' #all branches
tags: 'v*.*.*' #all version tags
env:
LDMX_DOCKER_TAG: ldmx/dev:latest
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- name: Checkout ldmx-sw
uses: actions/checkout@v7
with:
submodules: 'recursive'
fetch-depth: 0
- name: Install just
uses: extractions/setup-just@v4
- name: Cache ccache
uses: actions/cache@v6
with:
path: .cache/ccache
key: ccache-basic-${{ github.sha }}
restore-keys: |
ccache-basic-
- name: Compile and Install ldmx-sw
run: |
just install-denv init configure-force-error
just build
shell: bash
- name: Basic Tests for Functionality
run: just test
shell: bash
# always upload the last test log unless the
# workflow was cancelled by a user on github
- name: Upload Test Log
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v7
with:
name: ldmx-sw-basic-test-log-${{ github.sha }}
path: build/Testing/Temporary/LastTest.log